From: Michael Tremer Date: Thu, 19 Mar 2009 20:36:45 +0000 (+0100) Subject: Skip some packages when packaging. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc13e9a9237880300a2be46d4c487f3726df2761;p=ipfire-3.x.git Skip some packages when packaging. --- diff --git a/tools/make-include b/tools/make-include index 9f25595f1..fa995a357 100644 --- a/tools/make-include +++ b/tools/make-include @@ -167,6 +167,9 @@ entershell() { ################################################################################ lfsmakecommoncheck() { + # Skip lfs/Config + [ "$(basename $1)" = "Config" ] && return 1 + # Script present? if [ ! -f $BASEDIR/lfs/$1 ]; then exiterror "No such file or directory: $BASEDIR/lfs/$1" @@ -348,6 +351,9 @@ ipfire_make() { # This is the function that compresses every package # ################################################################################ package_make() { + # Do nothing on symlinks + [ -L "$1" ] && return 0 + SKIP_PACKAGE_LIST="SKIP_PACKAGE_LIST Config adjust-toolchain cdrom images pxe test-toolchain usb-key usb-stick" \ lfsmakecommoncheck $* [ $? == 1 ] && return 0