]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(install.d): respect even more kernel-install vars, plus style fixes
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>
Thu, 22 Jun 2023 07:45:36 +0000 (09:45 +0200)
committerAntonio Álvarez Feijoo <antonio.feijoo@suse.com>
Mon, 26 Jun 2023 07:39:24 +0000 (09:39 +0200)
commit17b8649eb931f3f4990ac8184fe23fc257df6fa5
treeaf86d0d2becf68a0af60a3ceba19c9eefc7bcae4
parenta037634ad71711d29828214830ebdade0c449dbc
fix(install.d): respect even more kernel-install vars, plus style fixes

- More verbose with KERNEL_INSTALL_VERBOSE=1

- Use KERNEL_INSTALL_CONF_ROOT if defined

- Fallback to /usr/lib/os-release if /etc/os-release does not exist

- Fallback to "Linux $KERNEL_VERSION" if no PRETTY_NAME found

- Styling fixes

Co-authored-by: Antonio Alvarez Feijoo <antonio.feijoo@suse.com>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
install.d/50-dracut.install
install.d/51-dracut-rescue.install