FS#29037 - [grub2-common] 10_linux script assumes that systemd is mandatory.
Attached to Project:
Arch Linux
Opened by vyncere (vyncere) - Wednesday, 21 March 2012, 15:12 GMT
Last edited by Ronald van Haren (pressh) - Thursday, 29 March 2012, 18:35 GMT
Opened by vyncere (vyncere) - Wednesday, 21 March 2012, 15:12 GMT
Last edited by Ronald van Haren (pressh) - Thursday, 29 March 2012, 18:35 GMT
|
Details
Description:
/etc/grub.d/10_linux script assumes that extra/systemd (which provides /etc/os-release file) is necessary installed. --> When generating Grub Configuration, 10_linux script complains that : grep: /etc/os-release: No such file or directory Not critical, just annoying. Additional info: * package version(s) * config and/or log files etc. extra/grub2-common 1:2.00beta2-2 Steps to reproduce: 1) On an system without systemd, invoke grub-mkconfig to a file. grub-mkconfig -o /boot/grub/grub.cfg 2) See the ugly output : Generating grub.cfg ... Found background: /boot/grub/wallpapers/ArchLinux_1280x800.png Found linux image: /boot/vmlinuz-linux grep: /etc/os-release: No such file or directory Found initrd image: /boot/initramfs-linux.img grep: /etc/os-release: No such file or directory grep: /etc/os-release: No such file or directory Found linux image: /boot/vmlinuz-custom grep: /etc/os-release: No such file or directory Found initrd image: /boot/initramfs-custom.img grep: /etc/os-release: No such file or directory grep: /etc/os-release: No such file or directory grep: /etc/os-release: No such file or directory Found memtest86+ image: /boot/memtest86+/memtest.bin done |
This task depends upon
Closed by Ronald van Haren (pressh)
Thursday, 29 March 2012, 18:35 GMT
Reason for closing: Fixed
Additional comments about closing: 2.00beta2-3
Thursday, 29 March 2012, 18:35 GMT
Reason for closing: Fixed
Additional comments about closing: 2.00beta2-3
Comment by
Tilman Blumenbach (Tblue) -
Wednesday, 21 March 2012, 15:49 GMT
Comment by
Keshav Amburay (the.ridikulus.rat)
- Thursday, 22 March 2012, 14:45 GMT
Comment by
Keshav Amburay (the.ridikulus.rat)
- Thursday, 22 March 2012, 14:57 GMT
Comment by Simone (junki.gnu) -
Thursday, 22 March 2012, 17:26 GMT
Comment by
Keshav Amburay (the.ridikulus.rat)
- Friday, 23 March 2012, 13:24 GMT
This also leads to the fallback initramfs image being ignored
completely. Why not just check for the existence of
/etc/arch-release? That file belongs to the filesystem package and
should exist on every Arch Linux system, right?
Isn't /etc/os-release supposed to replace /etc/arch-release? WHy
is it not a part of filesystem package. IMO /etc/arch-release
should be done away with, or made a symlink to /etc/os-release.
I have filed
https://bugs.archlinux.org/task/29057
requesting os-release be a part of filesystem package instead of
systemd, and /etc/arch-release to be done away with.
BTW, systemd already includes /etc/os-release for Archlinux. It is
just a copy&paste.
Fixed patch attached. Sorry for the mistake. When I wrote the
patch I assumed /etc/os-release is present in all Arch systems (I
didn't think of systemd at all).