[Bug 1337538] Re: arm64/xgene-uboot lacks u-boot-tools
dann frazier
dann.frazier at canonical.com
Mon Jul 14 13:56:28 UTC 2014
The relationship between these is as follows.
flash-kernel requires u-boot-tools on certain platforms. This is
detected at d-i installtime by flash-kernel-installer like so:
dannf at mustang:~$ export FK_DIR="/usr/share/flash-kernel"
dannf at mustang:~$ . $FK_DIR/functions
dannf at mustang:~$ machine="$(get_cpuinfo_hardware)"
dannf at mustang:~$ echo $machine
APM X-Gene Mustang board
dannf at mustang:~$ get_machine_field "$machine" "Required-Packages"
u-boot-tools
dannf at mustang:~$
Presumably this is because arm platforms have historically been
embedded, so it made sense to make this a dynamic decision vs. a hard
package dependency to avoid installing unnecessary packages where
possible. That's just a guess though.
flash-kernel installs an initramfs-hook that causes flash-kernel to be
executed when the initramfs is regenerated. If the platform requires u
-boot-tools, it expected u-boot-tools to be there. Now, it could be
argued that flash-kernel's initramfs-tools hook shouldn't exit with an
error in this situation (due to a missing but undeclared dependency),
and perhaps instead print a large warning to the console - that's an
easy enough fix. But I don't know of a good way to make a
non-d-i-installer know what packages d-i would install on a target
platform w/o some higher level redesign.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to flash-kernel in Ubuntu.
https://bugs.launchpad.net/bugs/1337538
Title:
arm64/xgene-uboot lacks u-boot-tools
Status in Maas image builders:
Confirmed
Status in “flash-kernel” package in Ubuntu:
New
Bug description:
Just filing this bug here as I didn't know where else to file it. But
long story short, the maas ephemeral image for arm64/xgene-uboot lacks
u-boot-tools. This needs to be available in the image.
'u-boot-tools'
To manage notifications about this bug go to:
https://bugs.launchpad.net/maas-images/+bug/1337538/+subscriptions
More information about the foundations-bugs
mailing list