- Timestamp:
- Jan 21, 2015, 7:36:02 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-10/nanobsd/tools/package-build.sh
r12903 r13058 13 13 DEBUG=${DEBUG:-'0'} 14 14 DEP_CHECK_ONLY=${DEP_CHECK_ONLY:-'0'} 15 16 # Find listing of packages to build 17 PKG_TO_BUILD=${PKG_TO_BUILD:-${PACKAGE_LIST}} 15 18 16 19 # make options, for package building … … 63 66 mkdir -p ${NANO_PACKAGE_DIR} 64 67 65 66 68 # Build required packages 67 69 MAKE_CONF=`mktemp -t $(basename $0)` … … 69 71 MAKE="make __MAKE_CONF=$MAKE_CONF ${PKG_MAKE_ARGS}" 70 72 BUILD_LIST='' 71 set `echo ${P ACKAGE_LIST} | xargs -n1 -I% echo $PORTSDIR/%`73 set `echo ${PKG_TO_BUILD} | xargs -n1 -I% echo $PORTSDIR/%` 72 74 while [ "$1" ]; do 73 75 PACKAGE=$1; shift … … 97 99 PKGBUILDLOG=/tmp/build.$$.`basename $PACKAGE`.log 98 100 p_info Packaging $PACKAGE ... details at $PKGBUILDLOG 99 ${MAKE} PACKAGES=/root/nanobsd/pkg package do-package 2>&1 >$PKGBUILDLOG || exit 1 101 ${MAKE} PACKAGES=/root/nanobsd/pkg package do-package 2>&1 >$PKGBUILDLOG 102 if [ $? -ne 0 ]; then 103 p_err "Failed to create $PKGNAME" 104 exit 1 105 fi 100 106 101 107 p_info Checking dependencies
Note:
See TracChangeset
for help on using the changeset viewer.