Changeset 14121 in hybrid


Ignore:
Timestamp:
Apr 10, 2018, 9:23:18 PM (7 years ago)
Author:
rick
Message:

Fix package configuration prompt at initenv

Packages should not be configured, causing all packages to be
re-valuated if package tree is not up2date.

Try to stick with boring defaults.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-11/nanobsd/tools/package-build.sh

    r14118 r14121  
    4343packages_config() {
    4444        # Configure build options
    45         poudriere options -j wlpkgbuild -z node ${1:+-c} ${*:- -f ${poudriere_pkglist_file}}
     45        poudriere options -j wlpkgbuild -z node -c $*
    4646}
    4747
     
    5252        POUDRIERE_OPTIONS=wlpkgbuild-node-options
    5353
    54         # Clean old stuff
     54        # Clean old stuff (legacy directories)
    5555        rm -Rf /usr/local/etc/poudriere.d/$POUDRIERE_MAKE_CONF_FILE
    5656        rm -Rf /usr/local/etc/poudriere.d/$POUDRIERE_OPTIONS
    5757
    58 
     58        # Generate new symlinks
    5959        ln -s ${abs_cfg_dir}/$POUDRIERE_MAKE_CONF_FILE /usr/local/etc/poudriere.d/$POUDRIERE_MAKE_CONF_FILE
    6060        ln -s ${abs_cfg_dir}/$POUDRIERE_OPTIONS /usr/local/etc/poudriere.d/$POUDRIERE_OPTIONS
     
    7474        packages_initenv
    7575        packages_refresh
    76         shift; packages_config
    7776elif [ "x$1" = "xrefresh" ]; then
    7877        packages_refresh
    7978elif [ "x$1" = "xconfig" ]; then
    80         shift; packages_config $*
     79        packages_config $*
    8180elif [ "x$1" = "xrebuild" ]; then
    8281        packages_refresh
Note: See TracChangeset for help on using the changeset viewer.