Changeset 13686 in hybrid for branches/releng-11/nanobsd/tools
- Timestamp:
- Jan 5, 2017, 11:10:36 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-11/nanobsd/tools/package-build.sh
r13670 r13686 10 10 cfg_dir=`dirname $0`/../cfg 11 11 abs_cfg_dir=`cd $cfg_dir; pwd -P` 12 poudriere_pkglist_file=${cfg_dir}/wlpkgbuild11_0-default-node-pkglist 12 13 version=$(uname -r | sed -e 's/-.*//g' -e 's/\./_/') 14 15 poudriere_pkglist_file=${cfg_dir}/wlpkgbuild${version}-default-node-pkglist 13 16 14 17 … … 20 23 21 24 # Setup poudriere build environment 22 poudriere jail -c -j wlpkgbuild 11_0 -v 11.0-RELEASE-a i38625 poudriere jail -c -j wlpkgbuild${version} -v $(uname -r) -a i386 23 26 24 27 # Setup portshaker … … 42 45 packages_config() { 43 46 # Configure build options 44 poudriere options -j wlpkgbuild 11_0-p default -z node ${1:+-c} ${*:- -f ${poudriere_pkglist_file}}47 poudriere options -j wlpkgbuild${version} -p default -z node ${1:+-c} ${*:- -f ${poudriere_pkglist_file}} 45 48 } 46 49 … … 48 51 packages_refresh() { 49 52 # Install new package (symlink) options 50 POUDRIERE_MAKE_CONF_FILE=wlpkgbuild 11_0-node-make.conf51 POUDRIERE_OPTIONS=wlpkgbuild 11_0-node-options53 POUDRIERE_MAKE_CONF_FILE=wlpkgbuild${version}-node-make.conf 54 POUDRIERE_OPTIONS=wlpkgbuild${version}-node-options 52 55 53 56 # Clean old stuff … … 67 70 68 71 packages_build() { 69 poudriere bulk -j wlpkgbuild 11_0-p default -z node -f ${poudriere_pkglist_file}72 poudriere bulk -j wlpkgbuild${version} -p default -z node -f ${poudriere_pkglist_file} 70 73 } 71 74
Note:
See TracChangeset
for help on using the changeset viewer.