]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Skip some packages when packaging.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 19 Mar 2009 20:36:45 +0000 (21:36 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 19 Mar 2009 20:36:45 +0000 (21:36 +0100)
tools/make-include

index 9f25595f1d73b0d61215726835d47caf6202fb71..fa995a357afb31d76b3a7c04bd7e75c06c6c9983 100644 (file)
@@ -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