diff options
author | Savyasachee Jha <[email protected]> | 2022-01-25 03:22:48 +0000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-02-16 15:23:30 -0800 |
commit | 44b0380a3550562f34e06d109f20eb2174848068 (patch) | |
tree | 4d59f6f230d03b338924130cce2800cf4223b03e /lib/libnvpair | |
parent | 72f3c8b13019b8882f4536411e42734fd3b4a4d7 (diff) |
Make better use of dracut functions when building initramfs
Setting up the module involves multiple redundant calls to a bunch of
dracut functions wheich can be combined into one. Additionally, the mass
of code required to load libgcc_s.so* can be replaced with one dracut
function. This has the additional effect of removing errors involving
the non-installation of libgcc_s.so* which are seen on debian bullseye
when using version 2.1.2-1~bpo11+1 from the backports repository.
The systemd binaries are separated out into their own `dracut_install`
function call so they do not get pulled in when dracut does not load the
systemd module.
Reviewed-by: Ahelenia ZiemiaĆska <[email protected]>
Reviewed-by: Andrew J. Hesford <[email protected]>
Signed-off-by: Savyasachee Jha <[email protected]>
Closes #13010
Diffstat (limited to 'lib/libnvpair')
0 files changed, 0 insertions, 0 deletions