6fd2ccc957f21a423e1457c66e53b1697944d72a |
|
02-Jun-2015 |
Harald Hoyer <harald@redhat.com> |
90-loaderentry.install: fixup BOOT_OPTIONS
better use "read -r -d '' -a" to read in the array. It handles multiple
lines and missing newline at the EOF. |
c008f6ee8df9aa36782378d1a3767543b3635a54 |
|
01-Nov-2014 |
Michael Chapman <mike@very.puzzling.org> |
kernel-install/90-loaderentry.install: fix cmdline parsing
A recent commit (2f3a215) changed the parsing of /proc/cmdline to use a
shell array. Unfortunately, this introduced a bug: "read -ar line"
populates the shell variable $r, not $line. This breaks installation of
new loader entries:
# kernel-install add 3.17.1-304.fc21.x86_64 \
/boot/vmlinuz-3.17.1-304.fc21.x86_64
Could not determine the kernel command line parameters.
Please specify the kernel command line in /etc/kernel/cmdline!
This commit alters the read command to correctly populate the $line
array instead. |
2f3a215f61d758cd59b3be5b65976a12401ac4ff |
|
15-Aug-2014 |
Harald Hoyer <harald@redhat.com> |
kernel-install/90-loaderentry.install: fixed cmdline parsing
If /etc/kernel/cmdline is missing or empty, we read /proc/cmdline and
want to filter out the initrd line. Due to a bug, the whole contents was
filtered out. |
5ae4d543cb9b45ad6c6b82b78da1d6abc2291cdb |
|
13-Jun-2014 |
Lennart Poettering <lennart@poettering.net> |
os-release: define /usr/lib/os-release as fallback for /etc/os-release
The file should have been in /usr/lib/ in the first place, since it
describes the OS container in /usr (and not the configuration in /etc),
hence, let's support os-release files in /usr/lib as fallback if no
version in /etc exists, following the usual override logic.
A prior commit already enabled tmpfiles to create /etc/os-release as a
symlink to /usr/lib/os-release should it be missing, thus providing nice
compatibility with applications only checking in /etc.
While it's probably a good idea if all apps check both locations via a
fallback logic, it is only necessary in the early boot process, as long
as the /etc/os-release symlink has not been restored, in case we boot
with an empty /etc. |
8b179a830a789746cce0be6671e2de235e3b0ea9 |
|
27-Sep-2013 |
Tom Gundersen <teg@jklm.no> |
kernel-install: avoid using 'cp --preserve'
Force 0644 and root:root instead, to avoid problems with fat filesystems. |
852752fca2f73323e3c25b33348b3c92458665ae |
|
11-Jul-2013 |
Harald Hoyer <harald@redhat.com> |
kernel-install/90-loaderentry.install: do not fail for missing initrd |
6c10d3997019c4f09dad5650209b49c5ccd11551 |
|
20-Jun-2013 |
Harald Hoyer <harald@redhat.com> |
kernel-install: filter out "initrd=" from /proc/cmdline |
8f51399e75e5d0d0741ecb18c549a57840bd1cc3 |
|
06-May-2013 |
Harald Hoyer <harald@redhat.com> |
kernel-install: add default install scripts
Do the depmod in the kernel-install hooks, so hooks can produce/install
kernel modules and be part of the depmod.
Also move the basic boot loader entry creation and removal to a
plugin script.
If PRETTY_NAME is not defined in /etc/os-release, fallback to
PRETTY_NAME="Linux $KERNEL_VERSION".
Add documentation for everything in the man page. |