All '.gitignore' files are automatically deleted from the resulting initramfs structure and ISO image.

This commit is contained in:
Ivan Davidov 2016-04-17 14:28:27 +03:00
parent e9fef61b2a
commit efd9bd7424
2 changed files with 8 additions and 0 deletions

View File

@ -58,5 +58,9 @@ ln -s lib lib64
# Copy all necessary 'glibc' libraries to '/lib' END.
# Delete the '.gitignore' files which we use in order to keep track of otherwise
# empty folders.
find * -type f -name '.gitignore' -exec rm {} +
cd ../..

View File

@ -101,6 +101,10 @@ fi
# Create ISOLINUX configuration file.
echo 'default kernel.bz initrd=rootfs.gz' > ./isolinux.cfg
# Delete the '.gitignore' files which we use in order to keep track of otherwise
# empty folders.
find * -type f -name '.gitignore' -exec rm {} +
# Now we generate the ISO image file.
genisoimage -J -r -o ../minimal_linux_live.iso -b isolinux.bin -c boot.cat -input-charset UTF-8 -no-emul-boot -boot-load-size 4 -boot-info-table ./