diff options
author | jandob | 2016-02-29 16:57:41 +0100 |
---|---|---|
committer | jandob | 2016-02-29 16:57:41 +0100 |
commit | 24983db46e9fe5f6816cc93a38c4f37da4156f49 (patch) | |
tree | dd6bacacb10912301443ba126622987d2e7bbd0e /builder | |
parent | fix (diff) | |
download | systemd-init-24983db46e9fe5f6816cc93a38c4f37da4156f49.tar.gz systemd-init-24983db46e9fe5f6816cc93a38c4f37da4156f49.tar.xz systemd-init-24983db46e9fe5f6816cc93a38c4f37da4156f49.zip |
expect systemd installation under /lib instead of /usr/lib
Diffstat (limited to 'builder')
-rw-r--r-- | builder/dnbd3-rootfs/hooks/copy-dracut-systemd-files-into-newroot.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builder/dnbd3-rootfs/hooks/copy-dracut-systemd-files-into-newroot.sh b/builder/dnbd3-rootfs/hooks/copy-dracut-systemd-files-into-newroot.sh index 22876341..fa78efb1 100644 --- a/builder/dnbd3-rootfs/hooks/copy-dracut-systemd-files-into-newroot.sh +++ b/builder/dnbd3-rootfs/hooks/copy-dracut-systemd-files-into-newroot.sh @@ -12,9 +12,9 @@ for file in \ dracut-pre-trigger.service \ dracut-pre-udev.service; do cp "${systemdsystemunitdir}/$file" \ - "${NEWROOT}/${systemdsystemunitdir}/$file" + "${NEWROOT}lib/systemd/system/$file" ln -s ../"$file" \ - "${NEWROOT}/${systemdsystemunitdir}/initrd.target.wants/$file" + "${NEWROOT}lib/systemd/system/initrd.target.wants/$file" done # Needed to be able to go back to dracut at system shutdown. |