Changeset 14128 in hybrid for branches/releng-11


Ignore:
Timestamp:
Apr 11, 2018, 6:14:10 PM (7 years ago)
Author:
rick
Message:

Fix pkg creation symlinks from image scipt

Using the old 'hackish' method, call package-build.sh instead.

Location:
branches/releng-11/nanobsd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-11/nanobsd/cfg/nanobsd.wleiden

    r14108 r14128  
    7575net/lvrouted
    7676`
    77 # Package target
    78 PKG_MAKE_ARGS="PACKAGES=$(dirname $NANO_PACKAGE_DIR) BATCH=yes PACKAGE_BUILDING=yes"
    79 
    8077PKG_MAKE_CONF="
    8178# www/py-cherrypy         - include apache templating
  • branches/releng-11/nanobsd/tools/image

    r13722 r14128  
    272272elif [ "$1" = "ports" ]; then
    273273  if [ "$2" = "update" ]; then
    274     # Fetch the latest details and provide listing of packages to be updated
    275     portsnap fetch update || exit 1
    276 
    277     # HACK: install our own ports _inside_ the normal ports dir
    278     cp -fR $WL_PORTSDIR/* $PORTSDIR || exit 1
    279 
    280     # Make sure portmaster is present to update all ports
    281     portmaster --version 1>/dev/null 2>/dev/null || make -C /usr/ports/ports-mgmt/portmaster BATCH=yes install clean || exit 1
    282 
    283     # Update via portmaster
    284     CMD="env `echo $PKG_MAKE_ARGS` portmaster --no-confirm --update-if-newer -t -y -d -G  `echo $PACKAGE_LIST`"
    285     echo "# Going to run port upgrade cycle: $CMD"; $CMD || exit 1
    286 
    287     . ${BASEDIR}/package-build.sh
     274    ${BASEDIR}/package-build.sh update
    288275  elif [ "$2" = "force" -a "$3" = "rebuild" ]; then
    289     export FORCE_REBUILD=1
    290     . ${BASEDIR}/package-build.sh
     276    ${BASEDIR}/package-build.sh rebuild
    291277  else
    292278    shift 1
Note: See TracChangeset for help on using the changeset viewer.