summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-08-05 00:03:31 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-08-05 01:02:39 +0200
commit1f1b89399e462f1798a5fa990c73fbaec5a4050e (patch)
treea7901fe4f013f66d8ea5b6841d8dc41509bf3178 /sys-apps
parentsys-apps/kexec-tools: runscript: fix style (diff)
downloadgentoo-1f1b89399e462f1798a5fa990c73fbaec5a4050e.tar.gz
gentoo-1f1b89399e462f1798a5fa990c73fbaec5a4050e.tar.bz2
gentoo-1f1b89399e462f1798a5fa990c73fbaec5a4050e.zip
sys-apps/kexec-tools: runscript: add support for genkernel's default kernel/initramfs symlink
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/kexec-tools/files/kexec-r2.init2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-apps/kexec-tools/files/kexec-r2.init b/sys-apps/kexec-tools/files/kexec-r2.init
index ea6b790d324..2a3b63ad526 100644
--- a/sys-apps/kexec-tools/files/kexec-r2.init
+++ b/sys-apps/kexec-tools/files/kexec-r2.init
@@ -40,6 +40,7 @@ image_path() {
"bzImage" \
"vmlinux" \
"vmlinuz" \
+ "kernel" \
"bzImage-${kver}" \
"vmlinux-${kver}" \
"vmlinuz-${kver}" \
@@ -67,6 +68,7 @@ initrd_path() {
local gkarch="$(get_genkernel_arch $karch)"
for x in \
"initrd" \
+ "initramfs" \
"initrd.img-${kver}" \
"initrd-${kver}.img" \
"initrd-${kver}" \