428 |
# we create all wants links manually at installation time to make sure |
# we create all wants links manually at installation time to make sure |
429 |
# they are not owned and hence overriden by mage after the user deleted |
# they are not owned and hence overriden by mage after the user deleted |
430 |
# them. |
# them. |
431 |
rm -r ${BINDIR}/etc/systemd/system/*.target.wants || die |
# rm -r ${BINDIR}/etc/systemd/system/*.target.wants || die |
432 |
# but make sure these directories are properly owned |
# but make sure these directories are properly owned |
433 |
mkeepdir /usr/lib/systemd/system/basic.target.wants || die |
mkeepdir /usr/lib/systemd/system/basic.target.wants || die |
434 |
mkeepdir /usr/lib/systemd/system/default.target.wants || die |
mkeepdir /usr/lib/systemd/system/default.target.wants || die |
1061 |
if [[ -L ${MROOT}/var/lib/systemd/timesync ]] |
if [[ -L ${MROOT}/var/lib/systemd/timesync ]] |
1062 |
then |
then |
1063 |
rm ${MROOT}/var/lib/systemd/timesync |
rm ${MROOT}/var/lib/systemd/timesync |
1064 |
|
if [[ -d ${MROOT}/var/lib/private/systemd/timesync ]] |
1065 |
|
then |
1066 |
|
mv ${MROOT}/var/lib/private/systemd/timesync ${MROOT}/var/lib/systemd/timesync |
1067 |
|
fi |
1068 |
fi |
fi |
1069 |
|
|
1070 |
if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]] |
if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]] |