mk_mmc.sh: always uncompress these modules

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
master
Robert Nelson 5 years ago
parent c5258cbc34
commit df91a16c76

@ -542,13 +542,9 @@ initrd_cleanup () {
echo "NetInstall: Final size [$(du -ch ${TEMPDIR}/initrd-tree/ | grep total)]" echo "NetInstall: Final size [$(du -ch ${TEMPDIR}/initrd-tree/ | grep total)]"
case "${DIST}" in
xenial|bionic|stretch|buster)
echo "uncompressing modules..." echo "uncompressing modules..."
find "${TEMPDIR}"/initrd-tree/lib/modules/ -type f -name "*.xz" -exec unxz -d {} \; find "${TEMPDIR}"/initrd-tree/lib/modules/ -type f -name "*.xz" -exec unxz -d {} \;
echo "NetInstall: Final size [$(du -ch ${TEMPDIR}/initrd-tree/ | grep total)]" echo "NetInstall: Final size [$(du -ch ${TEMPDIR}/initrd-tree/ | grep total)]"
;;
esac
} }
neuter_flash_kernel () { neuter_flash_kernel () {

Loading…
Cancel
Save