Changeset 14116 in hybrid for branches/releng-11


Ignore:
Timestamp:
Apr 10, 2018, 8:42:19 PM (7 years ago)
Author:
rick
Message:

Remove unused version specific package configuration building

Package building is solely done based on current buildbot release and ports heads tree.
Removing the version identifier makes it more easy to migrate to new minor releases.

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  
    1111abs_cfg_dir=`cd $cfg_dir; pwd -P`
    1212
    13 version=$(uname -r | sed -e 's/-.*//g' -e 's/\./_/')
    14 
    15 poudriere_pkglist_file=${cfg_dir}/wlpkgbuild${version}-default-node-pkglist
     13poudriere_pkglist_file=${cfg_dir}/wlpkgbuild-default-node-pkglist
    1614
    1715
     
    2321
    2422        # Setup poudriere build environment
    25         poudriere jail -c -j wlpkgbuild${version} -v $(uname -r | sed 's/-p[0-9]*$//') -a i386
     23        poudriere jail -c -j wlpkgbuild -v $(uname -r | sed 's/-p[0-9]*$//') -a i386
    2624
    2725        # Setup portshaker
     
    4543packages_config() {
    4644        # 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}}
    4846}
    4947
     
    5149packages_refresh() {
    5250        # Install new package (symlink) options
    53         POUDRIERE_MAKE_CONF_FILE=wlpkgbuild${version}-node-make.conf
    54         POUDRIERE_OPTIONS=wlpkgbuild${version}-node-options
     51        POUDRIERE_MAKE_CONF_FILE=wlpkgbuild-node-make.conf
     52        POUDRIERE_OPTIONS=wlpkgbuild-node-options
    5553
    5654        # Clean old stuff
     
    7068
    7169packages_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}
    7371}
    7472
Note: See TracChangeset for help on using the changeset viewer.