livecd-root, livecd-gnome-root, livecd-light-root: added code to remove some documentation files to save space on CDs

This commit is contained in:
Silvan Calarco 2011-10-05 15:48:19 +02:00
parent 0e3743b494
commit 43ad5f72f2
3 changed files with 16 additions and 1 deletions

View File

@ -79,4 +79,9 @@ _EOF
chroot $MOUNTDIR sh /tmp/gconftool.sh chroot $MOUNTDIR sh /tmp/gconftool.sh
rm $MOUNTDIR/tmp/gconftool.sh rm $MOUNTDIR/tmp/gconftool.sh
# remove some documentation to save space on CD
for f in ChangeLog Changelog CHANGES TODO NEWS README README.txt; do
find $MOUNTDIR/usr/share/doc -name $f -exec rm -f {} \;
done
prelink prelink

View File

@ -61,4 +61,9 @@ rm -f $MOUNTDIR/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}.img*
# remove failsafe image to save space for livecd # remove failsafe image to save space for livecd
rm -f $MOUNTDIR/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}-failsafe.img* rm -f $MOUNTDIR/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}-failsafe.img*
# remove some documentation to save space on CD
for f in ChangeLog Changelog CHANGES TODO NEWS README README.txt; do
find $MOUNTDIR/usr/share/doc -name $f -exec rm -f {} \;
done
prelink prelink

View File

@ -75,4 +75,9 @@ rm -f $MOUNTDIR/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}.img*
# remove failsafe image to save space for livecd # remove failsafe image to save space for livecd
rm -f $MOUNTDIR/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}-failsafe.img* rm -f $MOUNTDIR/boot/initramfs-${KERNEL_MAJVER}${KERNEL_EXTRAVER}-failsafe.img*
# remove some documentation to save space on CD
for f in ChangeLog Changelog CHANGES TODO NEWS README README.txt; do
find $MOUNTDIR/usr/share/doc -name $f -exec rm -f {} \;
done
prelink prelink