NetInstall: dump initrd size

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/37/head
Robert Nelson 11 years ago
parent 768df89fe5
commit 93c6c91fb7

@ -666,6 +666,7 @@ initrd_add_firmware () {
initrd_cleanup () { initrd_cleanup () {
echo "NetInstall: Removing Optional Stuff to Save RAM Space" echo "NetInstall: Removing Optional Stuff to Save RAM Space"
echo "NetInstall: Original size [`du -ch ${TEMPDIR}/initrd-tree/ | grep total`]"
#Cleanup some of the extra space.. #Cleanup some of the extra space..
rm -f ${TEMPDIR}/initrd-tree/boot/*-${KERNEL} || true rm -f ${TEMPDIR}/initrd-tree/boot/*-${KERNEL} || true
rm -rf ${TEMPDIR}/initrd-tree/lib/modules/${KERNEL}/kernel/drivers/media/ || true rm -rf ${TEMPDIR}/initrd-tree/lib/modules/${KERNEL}/kernel/drivers/media/ || true
@ -686,6 +687,8 @@ initrd_cleanup () {
rm -rf ${TEMPDIR}/initrd-tree/lib/modules/*-mx5 || true rm -rf ${TEMPDIR}/initrd-tree/lib/modules/*-mx5 || true
rm -rf ${TEMPDIR}/initrd-tree/lib/modules/*-generic || true rm -rf ${TEMPDIR}/initrd-tree/lib/modules/*-generic || true
rm -rf ${TEMPDIR}/initrd-tree/lib/firmware/*-versatile/ || true rm -rf ${TEMPDIR}/initrd-tree/lib/firmware/*-versatile/ || true
echo "NetInstall: Final size [`du -ch ${TEMPDIR}/initrd-tree/ | grep total`]"
} }
flash_kernel_base_installer () { flash_kernel_base_installer () {

Loading…
Cancel
Save