chiark / gitweb /
kernel-install/90-loaderentry.install: fixed cmdline parsing
authorHarald Hoyer <harald@redhat.com>
Fri, 15 Aug 2014 12:39:05 +0000 (14:39 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 15 Aug 2014 12:41:50 +0000 (14:41 +0200)
commit2f3a215f61d758cd59b3be5b65976a12401ac4ff
tree183cd54fc19c8a1478fc125c1ce1280ee769b34d
parent926446f4aab62d5fa02840d39d661de61632292c
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.
src/kernel-install/90-loaderentry.install