Initrd: fix some file not found errors at buildlog.
authorArne Fitzenreiter <arne_f@ipfire.org>
Fri, 13 Aug 2010 05:09:01 +0000 (07:09 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 13 Aug 2010 05:09:01 +0000 (07:09 +0200)
lfs/initrd

index eba2670..cf2dc3f 100644 (file)
@@ -55,7 +55,7 @@ $(TARGET) :
        cd /install/initrd && lzma -d -c /boot/ipfirerd-$(KVER).img | cpio -i
 
        # Copy Files packages for installer
-       find $(DIR_SRC)/config/rootfiles/installer/* -maxdepth 1 | xargs cat > /tmp/ROOTFILES
+       find $(DIR_SRC)/config/rootfiles/installer/* -maxdepth 1 | xargs cat | grep -v "^#" > /tmp/ROOTFILES
        -cd / && cpio -d -p /install/initrd < /tmp/ROOTFILES
 
        cd /install/initrd/etc && rm -f fstab