FS#62732 - [dracut] --uefi does not work
Attached to Project:
Arch Linux
Opened by hexchain (hexchain) - Friday, 24 May 2019, 13:32 GMT
Last edited by Giancarlo Razzolini (grazzolini) - Wednesday, 02 October 2019, 12:43 GMT
Opened by hexchain (hexchain) - Friday, 24 May 2019, 13:32 GMT
Last edited by Giancarlo Razzolini (grazzolini) - Wednesday, 02 October 2019, 12:43 GMT
|
Details
Description:
Trying to create a UEFI executable with dracut fails with the following output: dracut: Executing: /usr/bin/dracut --host-only --hostonly-cmdline --uefi /usr/bin/dracut: line 1063: arch: command not found /usr/bin/dracut: line 1069: arch: command not found dracut: Architecture '' not supported to create a UEFI executable Looks like some parts of dracut is still using `arch' to determine architecture. Additional info: dracut 049-3 Steps to reproduce: Run `dracut --uefi' as root. |
This task depends upon
Closed by Giancarlo Razzolini (grazzolini)
Wednesday, 02 October 2019, 12:43 GMT
Reason for closing: Implemented
Additional comments about closing: dracut-049-4
Wednesday, 02 October 2019, 12:43 GMT
Reason for closing: Implemented
Additional comments about closing: dracut-049-4
Edit:
https://github.com/dracutdevs/dracut/pull/573 should resolve the issue.
I make no comment about "general responsiveness".
...
I do agree there's no good reason to enable non-default, deprecated binaries just for software living in the past or on Debian.
This is just cost-benefit calculation.
...
systemd and glibc are explicitly exceptions to this rule, as both of them are regularly building from either a tagged stable release or from the upstream designated "stable maintenance backports" branches, in the case of systemd, the actual repository we use for source code is even literally called https://github.com/systemd/systemd-stable ("Backports of patch from systemd git to stable distributions")
This code is only used in a very judicious manner, and only after upstream has done a cost-benefit analysis of the commits in question, then signed off on them as something suitable for downstream distributors to feel comfortable using with the same degree of confidence, stability, and compatibility as the base release from which they are forked.
For entirely understandable reasons, we have the utmost confidence that these commits are intended for distributions to use *in preference over* the actual release tags. These are LTS-worthy commits. Upstream has taken these commits and emblazoned "please backport these into your LTS distro", in neon lights.
These two packages are a very bad example of "critical parts where upstream is release-averse". (This is besides for the fact that both upstreams are not, in fact, release-averse at all. They release new feature releases all the time. glibc's homepage even says "The GNU C Library releases every 6 months." Explain how that is release-averse when I can predict the month that they will release every new version for the next 60 years?)
So you claim what I wrote is untrue and then repeated my point that it's up to maintainer to decide???
I have experience with maintaining glibc & systemd so I know very good their release practices. I also know that other upstreams usually just make stable point releases rather than expecting that downstream will follow every single commit they put in a stable branch which in reality means there is no distro which ships the same systemd & glibc version.
All of those details aren't important for this discussion though, I gave you perfect example of xdg-utils where Arch decided to follow git snapshot because of upstream release-aversion and you just ignored it because it's against your "completely and utterly untrue" narrative.
...
Aside: I hope and pray you don't consider xdg-utils to be critical. As a standard it's okay. As a collection of programs I've rarely met anyone who finds it pleasant to use. There are a long list of people who wrote their own versions from scratch because it was better than relying on xdg-open.
I will however acknowledge that xdg-utils (unlike dracut) is a project that can be optimistically described as "on life support". Even there, it is quite trivial to review the handful of bugfixes since the last release and decide it's safe to package, vs. YOLO pulling in significant changes from dracut master.