From 93c6c91fb7130d2b173910cadddc9fefa8ffa0ab Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Wed, 19 Mar 2014 10:12:02 -0500 Subject: [PATCH] NetInstall: dump initrd size Signed-off-by: Robert Nelson --- mk_mmc.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mk_mmc.sh b/mk_mmc.sh index 17aa4f6..c3c2b2a 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -666,6 +666,7 @@ initrd_add_firmware () { initrd_cleanup () { 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.. rm -f ${TEMPDIR}/initrd-tree/boot/*-${KERNEL} || 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/*-generic || 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 () {