]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(systemd-repart): correct undefined $libdir
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 17 Oct 2023 16:42:13 +0000 (17:42 +0100)
committerLaszlo Gombos <laszlo.gombos@gmail.com>
Mon, 30 Oct 2023 13:36:07 +0000 (09:36 -0400)
commit1586af098fb17f7565d1699953e4e4b536304089
tree73d6401ba21fc6891d4103b1f6c0d5fc169e1c79
parentbddffedae038ceca263a904e40513a6e92f1b558
fix(systemd-repart): correct undefined $libdir

Nothing in dracut appears to define the '$libdir' environment
variable when module scripts are being run. As a result when
the 01-systemd-repart module script runs, it fails to copy any
of the config files into the initrd. Replace it with '/usr/lib'
which reflects where systemd-repart expects its global config
files.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
modules.d/01systemd-repart/module-setup.sh