From 4a965dfe8d590e88962422c35c02e0d1666429ea Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Fri, 25 Jul 2014 19:50:28 -0500 Subject: [PATCH] mk_mmc.sh: cleanup: drop flash_kernel_broken Signed-off-by: Robert Nelson --- mk_mmc.sh | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index 6801895..d6188e2 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -752,22 +752,6 @@ flash_kernel_base_installer () { chmod a+x ${TEMPDIR}/initrd-tree/usr/lib/post-base-installer.d/00flash-kernel } -flash_kernel_broken () { - cat > ${TEMPDIR}/initrd-tree/fixes/fix_flash-kernel.sh <<-__EOF__ - #!/bin/sh -e - - #WorkAround for: https://bugs.launchpad.net/bugs/1161912 - #after error switch to either: shell/ctrl-alt-f2: - #/bin/sh /fixes/fix_flash-kernel.sh - - file="/var/lib/dpkg/info/flash-kernel.postinst" - sed -i 's/update-initramfs -c -k \$latest_version/update-initramfs -c -k \$(uname -r)/g' \${file} - - __EOF__ - - chmod a+x ${TEMPDIR}/initrd-tree/fixes/fix_flash-kernel.sh -} - neuter_flash_kernel () { cp -v "${DIR}/lib/flash_kernel/all.db" ${TEMPDIR}/initrd-tree/etc/all.db