cleanup: compression of initrd.mod

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 13 years ago
parent ee17e7574d
commit 75857ffc6a

@ -686,13 +686,18 @@ esac
fi
fi
}
function recompress_initrd {
echo "Compressing Debian-Installer image"
echo "-----------------------------"
cd ${TEMPDIR}/initrd-tree/
find . | cpio -o -H newc | gzip -9 > ${TEMPDIR}/initrd.mod.gz
cd ${DIR}/
}
function extract_zimage {
echo "Extracting Kernel zImage"
echo "Extracting Boot Kernel zImage"
echo "-----------------------------"
dpkg -x ${DIR}/dl/${DIST}/${ACTUAL_DEB_FILE} ${TEMPDIR}/kernel
}
@ -705,6 +710,7 @@ function create_custom_netinstall_image {
prepare_initrd
recompress_initrd
extract_zimage
}

Loading…
Cancel
Save