From 8772c8cacc69b2dd0425201322cb718899ba3421 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Fri, 25 Jul 2014 19:53:49 -0500 Subject: [PATCH] mk_mmc.sh: drop ${linux_version}-modules.tar.gz package Signed-off-by: Robert Nelson --- lib/debian-finish.sh | 6 ------ lib/ubuntu-finish.sh | 6 ------ mk_mmc.sh | 11 ----------- 3 files changed, 23 deletions(-) diff --git a/lib/debian-finish.sh b/lib/debian-finish.sh index 96fde30..a22c692 100644 --- a/lib/debian-finish.sh +++ b/lib/debian-finish.sh @@ -163,12 +163,6 @@ fi mv /boot/uboot/bootdrive /boot/uboot/backup/ || true mv /boot/uboot/mounts /boot/uboot/backup/ || true - #FIXME: Also reinstall these: - rm -f /boot/uboot/*dtbs.tar.gz || true - rm -f /boot/uboot/*modules.tar.gz || true - - touch /boot/uboot/run_boot-scripts || true - if [ ! "x${conf_smart_uboot}" = "xenable" ] ; then mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d /boot/initrd.img-`uname -r` /boot/uboot/uInitrd if [ "${zreladdr}" ] ; then diff --git a/lib/ubuntu-finish.sh b/lib/ubuntu-finish.sh index 961356f..0eb88fd 100644 --- a/lib/ubuntu-finish.sh +++ b/lib/ubuntu-finish.sh @@ -197,12 +197,6 @@ fi mv /boot/uboot/bootdrive /boot/uboot/backup/ || true mv /boot/uboot/mounts /boot/uboot/backup/ || true - #FIXME: Also reinstall these: - rm -f /boot/uboot/*dtbs.tar.gz || true - rm -f /boot/uboot/*modules.tar.gz || true - - touch /boot/uboot/run_boot-scripts || true - if [ ! "x${conf_smart_uboot}" = "xenable" ] ; then mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d /boot/initrd.img-`uname -r` /boot/uboot/uInitrd if [ "${zreladdr}" ] ; then diff --git a/mk_mmc.sh b/mk_mmc.sh index 078f309..c80e080 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -851,14 +851,6 @@ extract_zimage () { dpkg -x "${DIR}/dl/${DISTARCH}/${ACTUAL_DEB_FILE}" ${TEMPDIR}/kernel } -package_modules () { - echo "NetInstall: Packaging Modules for later use" - linux_version=$(ls ${TEMPDIR}/kernel/boot/vmlinuz-* | awk -F'vmlinuz-' '{print $2}') - cd ${TEMPDIR}/kernel/lib/modules/${linux_version} - tar czf ${TEMPDIR}/kernel/${linux_version}-modules.tar.gz * - cd "${DIR}"/ -} - generate_soc () { echo "#!/bin/sh" > ${wfile} echo "format=1.0" >> ${wfile} @@ -931,7 +923,6 @@ create_custom_netinstall_image () { initrd_cleanup initrd_preseed_settings extract_zimage - package_modules initrd_device_settings recompress_initrd } @@ -1203,8 +1194,6 @@ populate_boot () { fi - cp -v ${TEMPDIR}/kernel/${linux_version}-modules.tar.gz ${TEMPDIR}/disk/ - wfile="${TEMPDIR}/disk/SOC.sh" generate_soc