Browse Source

* improved bare target to use pkgsel.d/*.all instead of a huge single pkgsel file

git-svn-id: svn://svn.opensde.net/desktop/bare/trunk@40 219270a8-6335-0410-8c83-dfab25b4dc40
legacy/early
Alejandro Mery 16 years ago
parent
commit
88c1edf453
2 changed files with 28 additions and 0 deletions
  1. +0
    -0
      pkgsel.d/mixed.all
  2. +28
    -0
      pkgsel.in

pkgsel → pkgsel.d/mixed.all


+ 28
- 0
pkgsel.in

@ -0,0 +1,28 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/bare/pkgsel.in
# Copyright (C) 2007 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# generate pkgsel.awk file
#
if [ ! -s $cfgtmpdir/$target.pkgsel.awk ]; then
cat <<-EOT > $cfgtmpdir/$target.pkgsel.awk
# Generated for target/$target/pkgsel.d/*.all
#
EOT
lib/sde-config/pkgsel2awk.sh $( ls -1d target/$target/pkgsel.d/*.all ) \
>> $cfgtmpdir/$target.pkgsel.awk
fi
pkgfilter awk -f $cfgtmpdir/$target.pkgsel.awk

Loading…
Cancel
Save