From ed8722d5c8cb5eb507bd2a970d31576483d49199 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Fri, 25 Jul 2014 18:41:10 -0500 Subject: [PATCH] mk_mmc.sh: factor out lib/flash_kernel/all.db Signed-off-by: Robert Nelson --- mk_mmc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index 81b31e3..add1399 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -800,6 +800,8 @@ patch_flash_kernel_db () { } neuter_flash_kernel () { + cp -v "${DIR}/lib/flash_kernel/all.db" ${TEMPDIR}/initrd-tree/etc/all.db + cat > ${TEMPDIR}/initrd-tree/usr/lib/post-base-installer.d/06neuter_flash_kernel <<-__EOF__ #!/bin/sh -e #BusyBox: http://linux.die.net/man/1/busybox @@ -961,11 +963,9 @@ initrd_preseed_settings () { patch_flash_kernel_db ;; utopic) - cp -v "${DIR}/lib/flash_kernel/all.db" ${TEMPDIR}/initrd-tree/etc/all.db neuter_flash_kernel ;; jessie) - cp -v "${DIR}/lib/flash_kernel/all.db" ${TEMPDIR}/initrd-tree/etc/all.db neuter_flash_kernel ;; esac