chore: handle /etc/systemd/system as well

This commit is contained in:
Rudra B.S. 2023-11-20 13:51:49 +05:30
parent 9f2f25b037
commit 68e3cb67a4

View file

@ -37,6 +37,9 @@ run_latehook() {
mv /new_root/etc /new_root/.old.etc || :
mv /new_root/.new_etc /new_root/etc
mv /new_root/etc/systemd/system /new_root/.old.etc.systemd.system
mv /new_root/.update_rootfs/etc/systemd/system /new_root/etc/systemd
# Successful update.
rm -f /new_root/.etc-stage