[Bug 239997] Add environment variable to unbreak iocage upgrades

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 20 16:26:08 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239997

            Bug ID: 239997
           Summary: Add environment variable to unbreak iocage upgrades
           Product: Base System
           Version: CURRENT
          Hardware: Any
               URL: https://github.com/iocage/iocage/pull/1027
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: grembo at FreeBSD.org

Created attachment 206735
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206735&action=edit
Patch to introduce new environment variable SKIPISFETCHEDCHECK

In bug #229346 freebsd-update was changed to fix ezjail and iocell ugrades.
Unfortunately this also broke iocage's upgrade mechanism.

This patch introduces an environment variable to control the behavior of the
check in question. By setting SKIPISFETCHEDCHECK, the test if there was a fetch
phase before running install is skipped, therefore not showing an error message
(which confuses the user in automatic setups anyway) and avoiding exiting with
an error code, which broke iocage.

See also:
https://github.com/iocage/iocage/pull/1027

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list