Browse Source

[linux-base] Changed to use lib/sde-config/pkgseldir_compile.sh to process pkgsel.d/

legacy/next/toolchain
Alejandro Mery 17 years ago
parent
commit
d0cb964c62
2 changed files with 17 additions and 10 deletions
  1. +14
    -0
      config.in
  2. +3
    -10
      pkgsel.in

+ 14
- 0
config.in

@ -13,3 +13,17 @@
# --- SDE-COPYRIGHT-NOTE-END ---
#Description: LSB Compliant Base
if [ ! -s "$cfgtmpdir/$target.config.in" ]; then
# render files just once
lib/sde-config/pkgseldir_compile.sh \
"CFGTEMP_TRG_LSB_PKGSEL" "SDECFG_TRG_LSB_" \
"$cfgtmpdir/$target." \
"target/$target/pkgsel.d"
fi
if [ -s "$cfgtmpdir/$target.config.in" ]; then
. "$cfgtmpdir/$target.config.in"
else
comment "--- Failed to process pkgsel.d ---"
fi

+ 3
- 10
pkgsel.in

@ -14,15 +14,8 @@
# generate pkgsel.awk file
#
if [ ! -s $cfgtmpdir/$target.pkgsel.awk ]; then
cat <<-EOT > $cfgtmpdir/$target.pkgsel.awk
# Generated for target/$target/pkgsel.d/*.all
#
if [ -s "$cfgtmpdir/$target.pkgsel.in" ]; then
. "$cfgtmpdir/$target.pkgsel.in"
EOT
lib/sde-config/pkgsel2awk.sh $( ls -1d target/$target/pkgsel.d/*.all ) \
>> $cfgtmpdir/$target.pkgsel.awk
pkgfilter awk -f $cfgtmpdir/$target.pkgsel.awk
fi
pkgfilter awk -f $cfgtmpdir/$target.pkgsel.awk

Loading…
Cancel
Save