From 2732d0d8791877daacb4d16a6309bdee4e3e7b55 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 23 May 2007 20:31:29 +0000 Subject: [PATCH] Clifford Wolf: Fixed bootdisk (new acl, etcnet in pkgmap, new pciutils) [2007051710150730442] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@8459 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/acl/acl.conf | 7 ++++++- target/bootdisk/build_stage2.sh | 10 +++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/package/base/acl/acl.conf b/package/base/acl/acl.conf index 25878b40a..fc209c915 100644 --- a/package/base/acl/acl.conf +++ b/package/base/acl/acl.conf @@ -20,6 +20,9 @@ # # --- ROCK-COPYRIGHT-NOTE-END --- +# generate configure script first +autogen=1 + # also install headers and libs makeinstopt="$makeinstopt install-dev install-lib" @@ -27,7 +30,9 @@ makeinstopt="$makeinstopt install-dev install-lib" var_append confopt ' ' "--libexecdir='$libdir'" # enable gettext support if possible -pkginstalled gettext || var_append confopt ' ' "--enable-gettext=no" +if ! pkginstalled gettext; then + var_append confopt ' ' "--enable-gettext=no" +fi # coreutils is built with libacl libdir="$root/lib" diff --git a/target/bootdisk/build_stage2.sh b/target/bootdisk/build_stage2.sh index 9daaad2d2..754ea8ff8 100644 --- a/target/bootdisk/build_stage2.sh +++ b/target/bootdisk/build_stage2.sh @@ -7,8 +7,7 @@ mkdir -p $disksdir/2nd_stage cd $disksdir/2nd_stage mkdir -p mnt/source mnt/target # -package_map=" +00-dirtree -+$ROCKCFG_PKG_GLIBC_BRANCH +$ROCKCFG_PKG_BASH_DEFAULT +package_map=" +00-dirtree -gcc42 -automake17 -automake18 -automake19 -gcc2 -gcc33 -gcc34 -gcc40 -gcc41 -gmp -mpfr -rockinitrd +stone @@ -25,7 +24,7 @@ package_map=" +00-dirtree -mine -bize -termcap +ncurses +readline -strace -ltrace -perl5 -m4 -time -gettext -zlib - +attr +acl +findutils +-etcnet +attr +acl +findutils +mktemp +coreutils -diffutils -patch -make +grep +sed +gzip +tar +gawk -flex +bzip2 @@ -50,6 +49,7 @@ else fi package_map="+$ROCKCFG_PKG_LINUX_DEFAULT +$packager $package_map" +package_map="+$ROCKCFG_PKG_GLIBC_BRANCH +$ROCKCFG_PKG_BASH_DEFAULT $package_map" echo_status "Extracting the packages archives." for x in $( ls ../../pkgs/*.tar.bz2 | tr . / | cut -f8 -d/ ) @@ -97,9 +97,9 @@ if [ -f ../../pkgs/kbd.tar.bz2 ] ; then fi # if [ -f ../../pkgs/pciutils.tar.bz2 ] ; then - echo_status "Installing pci.ids ..." + echo_status "Installing pci.ids.gz ..." tar $taropt ../../pkgs/pciutils.tar.bz2 \ - usr/share/pci.ids + usr/share/pci.ids.gz fi # echo_status "Creating 2nd stage linuxrc."