From: Lennart Poettering Date: Thu, 10 Feb 2022 13:27:22 +0000 (+0100) Subject: kernel-install: search harder for kernel image/initrd drop-in dir X-Git-Tag: v251-rc1~161^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6637cf9db67237857279262d93ee0e39023c5b85;p=thirdparty%2Fsystemd.git kernel-install: search harder for kernel image/initrd drop-in dir If not explicitly configured, let's search a bit harder for the ENTRY_TOKEN, and let's try the machine ID, the IMAGE_ID and ID fields of /etc/os-release and finally "Default", all below potential $XBOOTLDR. --- diff --git a/src/kernel-install/kernel-install b/src/kernel-install/kernel-install index 75a31c62d42..c42c40592a9 100755 --- a/src/kernel-install/kernel-install +++ b/src/kernel-install/kernel-install @@ -103,29 +103,50 @@ fi # for naming the .conf boot loader spec entry. Typically this is just the # machine ID, but it can be anything else, too, if we are told so. [ -z "$ENTRY_TOKEN" ] && [ -r /etc/kernel/entry-token ] && read -r ENTRY_TOKEN