From 178c222917933803a3fa742ddda8235f7cb9b03f Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Fri, 25 Jul 2014 20:00:37 -0500 Subject: [PATCH] mk_mmc.sh: cleanup db usage Signed-off-by: Robert Nelson --- lib/flash_kernel/flash-kernel.conf | 9 ---- lib/flash_kernel/rcn-ee.db | 69 ++++++++++++++++++++++++++++++ mk_mmc.sh | 4 +- 3 files changed, 71 insertions(+), 11 deletions(-) delete mode 100644 lib/flash_kernel/flash-kernel.conf create mode 100644 lib/flash_kernel/rcn-ee.db diff --git a/lib/flash_kernel/flash-kernel.conf b/lib/flash_kernel/flash-kernel.conf deleted file mode 100644 index ed60cef..0000000 --- a/lib/flash_kernel/flash-kernel.conf +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -e -UBOOT_PART=/dev/mmcblk0p1 - -echo "flash-kernel stopped by: /etc/flash-kernel.conf" -USE_CUSTOM_KERNEL=1 - -if [ "${USE_CUSTOM_KERNEL}" ] ; then - FLASH_KERNEL_SKIP=yes -fi diff --git a/lib/flash_kernel/rcn-ee.db b/lib/flash_kernel/rcn-ee.db new file mode 100644 index 0000000..fa60435 --- /dev/null +++ b/lib/flash_kernel/rcn-ee.db @@ -0,0 +1,69 @@ +# somewhat RFC2822 based, but case sensitive, not tolerant to spaces etc. + +Machine: Freescale i.MX51 Babbage Board +Method: generic +Bootloader-sets-root: yes + +Machine: Freescale i.MX53 Quick Start Board +Method: generic +Bootloader-sets-root: yes + +Machine: Freescale i.MX53 Quick Start-R Board +Method: generic +Bootloader-sets-root: yes + +Machine: Freescale i.MX6 Quad Nitrogen6x Board +Method: generic +Bootloader-sets-root: yes + +Machine: Freescale i.MX6 Quad SABRE Lite Board +Method: generic +Bootloader-sets-root: yes + +Machine: Freescale i.MX6 Quad SABRE Smart Device Board +Method: generic +Bootloader-sets-root: yes + +Machine: NVIDIA Tegra124 Jetson TK1 +Method: generic +Bootloader-sets-root: yes + +Machine: Olimex A10-OLinuXino-LIME +Method: generic +Bootloader-sets-root: yes + +Machine: TI AM335x BeagleBone +Method: generic +Bootloader-sets-root: yes + +Machine: TI OMAP3 BeagleBoard +Method: generic +Bootloader-sets-root: yes + +Machine: TI OMAP3 BeagleBoard xM +Method: generic +Bootloader-sets-root: yes + +Machine: TI OMAP4 PandaBoard +Method: generic +Bootloader-sets-root: yes + +Machine: TI OMAP5 uEVM board +Method: generic +Bootloader-sets-root: yes + +Machine: Udoo i.MX6 Dual Lite Board +Method: generic +Bootloader-sets-root: yes + +Machine: Udoo i.MX6 Quad Board +Method: generic +Bootloader-sets-root: yes + +Machine: Wandboard i.MX6 Dual Lite Board +Method: generic +Bootloader-sets-root: yes + +Machine: Wandboard i.MX6 Quad Board +Method: generic +Bootloader-sets-root: yes diff --git a/mk_mmc.sh b/mk_mmc.sh index f79af82..0b89540 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -668,7 +668,7 @@ initrd_cleanup () { } neuter_flash_kernel () { - cp -v "${DIR}/lib/flash_kernel/all.db" ${TEMPDIR}/initrd-tree/etc/all.db + cp -v "${DIR}/lib/flash_kernel/rcn-ee.db" ${TEMPDIR}/initrd-tree/etc/rcn-ee.db cat > ${TEMPDIR}/initrd-tree/usr/lib/post-base-installer.d/06neuter_flash_kernel <<-__EOF__ #!/bin/sh -e @@ -681,7 +681,7 @@ neuter_flash_kernel () { fi mkdir -p /target/usr/share/flash-kernel/db/ || true - cp /etc/all.db /target/usr/share/flash-kernel/db/rcn-ee.db + cp /etc/rcn-ee.db /target/usr/share/flash-kernel/db/rcn-ee.db if [ -f /target/etc/initramfs/post-update.d/flash-kernel ] ; then rm /target/etc/initramfs/post-update.d/flash-kernel || true