Changeset 14128 in hybrid for branches/releng-11/nanobsd/tools
- Timestamp:
- Apr 11, 2018, 6:14:10 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-11/nanobsd/tools/image
r13722 r14128 272 272 elif [ "$1" = "ports" ]; then 273 273 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 288 275 elif [ "$2" = "force" -a "$3" = "rebuild" ]; then 289 export FORCE_REBUILD=1 290 . ${BASEDIR}/package-build.sh 276 ${BASEDIR}/package-build.sh rebuild 291 277 else 292 278 shift 1
Note:
See TracChangeset
for help on using the changeset viewer.