diff options
author | Harald Hoyer <harald@redhat.com> | 2013-03-26 16:19:00 +0100 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-03-26 16:19:00 +0100 |
commit | 6c6d80576562f1b02eddc66ceb60f74b300e36b1 (patch) | |
tree | d93a59b01e5920cd93585b7c7069d78b4d9f13eb /dracut.sh | |
parent | 44f870be42fc687f0e48a822a2cad109962d93a6 (diff) | |
download | dracut-6c6d80576562f1b02eddc66ceb60f74b300e36b1.tar.gz dracut-6c6d80576562f1b02eddc66ceb60f74b300e36b1.tar.bz2 dracut-6c6d80576562f1b02eddc66ceb60f74b300e36b1.zip |
use systemd*dir variables everywhere
Diffstat (limited to 'dracut.sh')
-rwxr-xr-x | dracut.sh | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1067,6 +1067,15 @@ if [[ $kernel_only != yes ]]; then cat $f >> "${initdir}/etc/fstab" done + if [ -d ${initdir}/$systemdutildir ]; then + mkdir -p ${initdir}/etc/conf.d + { + echo "systemdutildir=\"$systemdutildir\"" + echo "systemdsystemunitdir=\"$systemdsystemunitdir\"" + echo "systemdsystemconfdir=\"$systemdsystemconfdir\"" + } > ${initdir}/etc/conf.d/systemd.conf + fi + if [[ $DRACUT_RESOLVE_LAZY ]] && [[ $DRACUT_INSTALL ]]; then dinfo "*** Resolving executable dependencies ***" find "$initdir" -type f \ |