All '.gitignore' files are automatically deleted from the resulting initramfs structure and ISO image.
This commit is contained in:
parent
e9fef61b2a
commit
efd9bd7424
@ -58,5 +58,9 @@ ln -s lib lib64
|
|||||||
|
|
||||||
# Copy all necessary 'glibc' libraries to '/lib' END.
|
# 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 ../..
|
cd ../..
|
||||||
|
|
||||||
|
@ -101,6 +101,10 @@ fi
|
|||||||
# Create ISOLINUX configuration file.
|
# Create ISOLINUX configuration file.
|
||||||
echo 'default kernel.bz initrd=rootfs.gz' > ./isolinux.cfg
|
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.
|
# 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 ./
|
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 ./
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user