u-boot-tools missing binutils dependency
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
u-boot (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bionic |
Fix Released
|
Low
|
Unassigned | ||
Cosmic |
Fix Released
|
Low
|
Unassigned |
Bug Description
[Impact]
The u-boot-tools package, specifically the mkknlimg script within it, relies upon several external utilities (specifically perl, grep, tr, and strings). Whilst most are provided by "essential" packages, strings is provided by binutils which is not. On a fresh install of the RPi3 beta image, an upgrade involved u-boot succeeds, but nonetheless prints a warning that strings cannot be found.
All package upgrades from the beta state should upgrade without any errors or warnings.
[Test Case]
On a pi3 image (or a chroot without binutils installed) with the old u-boot-tools version, run mkknlimg:
`touch a; mkknlimg --dtok a b`
Confirm that the command succeeds but prints out: "sh: 1: strings: not found". Upgrade the package and re-run the same command:
`mkknlimg --dtok a b`
Confirm that no "not found" message is visible anymore. Check that binutils has been installed during the update process.
[Regression Potential]
None. This only adds a new dependency. The dependency is in main and seeded in almost all daily and daily-live images.
description: | updated |
+1 on that, let me sponsor it with a few tweaks to the changelog.
I guess we should try getting this change into Debian? I'm pretty sure they might be having the same problem. They might have binutils installed everywhere but since it's not essential there as well, I suppose they should have the dep explicitly stated.
I'll also backport it to bionic once it migrates.