mk_mmc.sh: cleanup db usage

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/37/head
Robert Nelson 10 years ago
parent 4bb4bdfd11
commit 178c222917

@ -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

@ -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

@ -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

Loading…
Cancel
Save