* Martin Michlmayr <t...@cyrius.com> [2013-01-02 19:37]: > > > Well, I even moved it to Depends in my commit. I'm not sure it is a > > > good idea to rely on Recommends being installed if the mkimage > > > program is required in some situations. > > I disagree. flash-kernel maintains a database with information about > each device, including a list of required packages. It will install > those required packages. u-boot-tools is listed for the Linkstation, > so the real question is why it's not being installed.
I just received several bug reports about this issue and decided to investigate. The flash-kernel database files says: # somewhat RFC2822 based, but case sensitive, not tolerant to spaces etc. ^^^^^^^^^^^^^^ The flash-kernel-installer postinst is looking for Required-Packages, but several devices use Required-packages (note the lower case "packages"). The fix is a simple s/Required-packages/Required-Packages/, and we have to apply it both to unstable and wheezy (as installations fail without this fix). diff --git a/README b/README index 81b65d2..d1da527 100644 --- a/README +++ b/README @@ -117,7 +117,7 @@ The supported fields are: but for a DTB file. The DTB file named by DTB-Id will be copied here; see also DTB-Id -* Required-packages: (optional) list of packages which must be added +* Required-Packages: (optional) list of packages which must be added during installer phase for flash-kernel to work properly; failure to add these packages aborts the installation diff --git a/db/all.db b/db/all.db index a4c4e84..9a7c655 100644 --- a/db/all.db +++ b/db/all.db @@ -7,7 +7,7 @@ U-Boot-Kernel-Address: 0x00008000 U-Boot-Initrd-Address: 0x0 Boot-Kernel-Path: /boot/uImage.buffalo Boot-Initrd-Path: /boot/initrd.buffalo -Required-packages: u-boot-tools +Required-Packages: u-boot-tools Bootloader-sets-root: yes Machine: Buffalo Linkstation Mini @@ -17,7 +17,7 @@ U-Boot-Kernel-Address: 0x00008000 U-Boot-Initrd-Address: 0x0 Boot-Kernel-Path: /boot/uImage.buffalo Boot-Initrd-Path: /boot/initrd.buffalo -Required-packages: u-boot-tools +Required-Packages: u-boot-tools Bootloader-sets-root: yes Machine: Buffalo Linkstation Pro/Live @@ -27,7 +27,7 @@ U-Boot-Kernel-Address: 0x00008000 U-Boot-Initrd-Address: 0x0 Boot-Kernel-Path: /boot/uImage.buffalo Boot-Initrd-Path: /boot/initrd.buffalo -Required-packages: u-boot-tools +Required-Packages: u-boot-tools Bootloader-sets-root: yes Machine: Buffalo/Revogear Kurobox Pro @@ -37,7 +37,7 @@ U-Boot-Kernel-Address: 0x00008000 U-Boot-Initrd-Address: 0x0 Boot-Kernel-Path: /boot/uImage.buffalo Boot-Initrd-Path: /boot/initrd.buffalo -Required-packages: u-boot-tools +Required-Packages: u-boot-tools Bootloader-sets-root: yes Machine: D-Link DNS-323 @@ -47,7 +47,7 @@ Mtd-Kernel: Linux Kernel Mtd-Initrd: File System U-Boot-Kernel-Address: 0x00008000 U-Boot-Initrd-Address: 0x00800000 -Required-packages: u-boot-tools +Required-Packages: u-boot-tools Bootloader-sets-root: yes Machine: Freescale MX53 LOCO Board @@ -56,7 +56,7 @@ U-Boot-Kernel-Address: 0x70008000 U-Boot-Initrd-Address: 0x0 Boot-Kernel-Path: /boot/uImage Boot-Initrd-Path: /boot/uInitrd -Required-packages: u-boot-tools +Required-Packages: u-boot-tools Bootloader-sets-root: no Machine: Genesi Efika Smartbook @@ -68,7 +68,7 @@ U-Boot-Script-Name: bootscr.mx5 Boot-Kernel-Path: /boot/uImage Boot-Initrd-Path: /boot/uInitrd Boot-Script-Path: /boot/boot.scr -Required-packages: u-boot-tools +Required-Packages: u-boot-tools Bootloader-sets-root: yes Machine: Genesi EfikaMX nettop @@ -80,7 +80,7 @@ U-Boot-Script-Name: bootscr.mx5 Boot-Kernel-Path: /boot/uImage Boot-Initrd-Path: /boot/uInitrd Boot-Script-Path: /boot/boot.scr -Required-packages: u-boot-tools +Required-Packages: u-boot-tools Bootloader-sets-root: yes Machine: GLAN Tank @@ -94,7 +94,7 @@ Method: multi Kernel-Flavors: s3c24xx U-Boot-Multi-Address: 0x30008000 Boot-Multi-Path: /boot/uImage.bin -Required-packages: u-boot-tools +Required-Packages: u-boot-tools Bootloader-sets-root: yes Machine: HP Media Vault mv2120 @@ -105,7 +105,7 @@ Boot-Multi-Path: /boot/uImage # mv2120-utils includes some initramfs-tools scripts that are nice to have but # which are not essential Optional-Packages: mv2120-utils -Required-packages: u-boot-tools +Required-Packages: u-boot-tools Bootloader-sets-root: yes Machine: HP t5325 Thin Client @@ -113,7 +113,7 @@ Kernel-Flavors: kirkwood Machine-Id: 2846 U-Boot-Multi-Address: 0x01600000 Boot-Multi-Path: /boot/uImage -Required-packages: u-boot-tools +Required-Packages: u-boot-tools Bootloader-sets-root: yes Machine: LaCie 2Big Network v2 @@ -188,7 +188,7 @@ Mtd-Initrd: Ramdisk Optional-Packages: ixp4xx-firmware # nslu2-utils will call update-initramfs -u to include the firmware and to run # the hook from flash-kernel -Required-packages: apex-nslu2 nslu2-utils +Required-Packages: apex-nslu2 nslu2-utils Bootloader-sets-root: no Machine: Marvell DB-78x00-BP Development Board -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130604192608.ga32...@jirafa.cyrius.com