chore: handle /etc/systemd/system as well
This commit is contained in:
parent
9f2f25b037
commit
68e3cb67a4
1 changed files with 3 additions and 0 deletions
|
@ -37,6 +37,9 @@ run_latehook() {
|
||||||
mv /new_root/etc /new_root/.old.etc || :
|
mv /new_root/etc /new_root/.old.etc || :
|
||||||
mv /new_root/.new_etc /new_root/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.
|
# Successful update.
|
||||||
rm -f /new_root/.etc-stage
|
rm -f /new_root/.etc-stage
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue