Changeset 13499 in hybrid for branches/releng-10
- Timestamp:
- Nov 24, 2015, 2:52:12 PM (9 years ago)
- Location:
- branches/releng-10/nanobsd
- Files:
-
- 90 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-10/nanobsd/tools/package-build.sh
r13483 r13499 36 36 } 37 37 38 packages_refresh() { 39 # Install new package options 40 POUDRIERE_MAKE_CONF_FILE=wlpkgbuild10_2-node-make.conf 41 POUDRIERE_OPTIONS=wlpkgbuild10_2-node-options 42 43 if [ -d "/usr/local/etc/poudriere.d/$POUDRIERE_OPTIONS" ]; then 44 rm -Rf /usr/local/etc/poudriere.d/$POUDRIERE_OPTIONS 45 fi 46 47 cp ${config_dir}/$POUDRIERE_MAKE_CONF_FILE /usr/local/etc/poudriere.d 48 cp -R ${config_dir}/$POUDRIERE_OPTIONS /usr/local/etc/poudriere.d 49 } 50 38 51 39 52 package_build() { … … 48 61 if [ "x$1" = "xinitenv" ]; then 49 62 packages_initenv 63 packages_refresh 64 elif [ "x$1" = "xrebuild" ]; then 65 package_refresh 66 package_build 50 67 elif [ "x$1" = "xbuild" ]; then 51 68 package_build 52 69 else 53 echo "Usage $0 <initenv| build>"70 echo "Usage $0 <initenv|rebuild|build>" 54 71 exit 128 55 72 fi
Note:
See TracChangeset
for help on using the changeset viewer.