- Timestamp:
- May 9, 2012, 11:08:05 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-9.0/nanobsd/cfg/nanobsd.wleiden
r10723 r10762 295 295 # to source /etc/profile in chroot to get PKG_* included, for alternate installs 296 296 cust_pkg () ( 297 298 297 # If the package directory doesn't exist, we're done. 299 298 if [ ! -d ${NANO_PACKAGE_DIR} ]; then … … 301 300 return 0 302 301 fi 302 303 # Make sure to enable /dev as easy_install requires it for example 304 mount -t devfs devfs ${NANO_WORLDDIR}/dev 305 trap "umount ${NANO_WORLDDIR}/dev" 1 2 3 15 303 306 304 307 # Copy packages into chroot … … 343 346 done 344 347 rm -rf ${NANO_WORLDDIR}/Pkg 348 349 # Return normal trap behaviour 350 trap - 1 2 3 15 351 umount ${NANO_WORLDDIR}/dev 345 352 ) 346 353
Note:
See TracChangeset
for help on using the changeset viewer.