Changeset 14116 in hybrid for branches/releng-11
- Timestamp:
- Apr 10, 2018, 8:42:19 PM (7 years ago)
- Location:
- branches/releng-11/nanobsd
- Files:
-
- 3 deleted
- 1 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-11/nanobsd/tools/package-build.sh
r14113 r14116 11 11 abs_cfg_dir=`cd $cfg_dir; pwd -P` 12 12 13 version=$(uname -r | sed -e 's/-.*//g' -e 's/\./_/') 14 15 poudriere_pkglist_file=${cfg_dir}/wlpkgbuild${version}-default-node-pkglist 13 poudriere_pkglist_file=${cfg_dir}/wlpkgbuild-default-node-pkglist 16 14 17 15 … … 23 21 24 22 # Setup poudriere build environment 25 poudriere jail -c -j wlpkgbuild ${version}-v $(uname -r | sed 's/-p[0-9]*$//') -a i38623 poudriere jail -c -j wlpkgbuild -v $(uname -r | sed 's/-p[0-9]*$//') -a i386 26 24 27 25 # Setup portshaker … … 45 43 packages_config() { 46 44 # Configure build options 47 poudriere options -j wlpkgbuild ${version}-p default -z node ${1:+-c} ${*:- -f ${poudriere_pkglist_file}}45 poudriere options -j wlpkgbuild -p default -z node ${1:+-c} ${*:- -f ${poudriere_pkglist_file}} 48 46 } 49 47 … … 51 49 packages_refresh() { 52 50 # Install new package (symlink) options 53 POUDRIERE_MAKE_CONF_FILE=wlpkgbuild ${version}-node-make.conf54 POUDRIERE_OPTIONS=wlpkgbuild ${version}-node-options51 POUDRIERE_MAKE_CONF_FILE=wlpkgbuild-node-make.conf 52 POUDRIERE_OPTIONS=wlpkgbuild-node-options 55 53 56 54 # Clean old stuff … … 70 68 71 69 packages_build() { 72 poudriere bulk -j wlpkgbuild ${version}-p default -z node -f ${poudriere_pkglist_file}70 poudriere bulk -j wlpkgbuild -p default -z node -f ${poudriere_pkglist_file} 73 71 } 74 72
Note:
See TracChangeset
for help on using the changeset viewer.