add /opt
This commit is contained in:
parent
ed115df979
commit
73d9f01926
1 changed files with 6 additions and 0 deletions
|
@ -23,6 +23,12 @@ run_latehook() {
|
|||
mv /new_root/.new.etc /new_root/etc
|
||||
fi
|
||||
|
||||
# Same for /opt
|
||||
if [[ -d /new_root/.update_rootfs/opt ]]; then
|
||||
mv /new_root/opt /new_root/.old.opt
|
||||
mv /new_root/.update_rootfs/opt /new_root/opt
|
||||
fi
|
||||
|
||||
# Same for /var.
|
||||
if [[ -d /new_root/.new.var.lib ]]; then
|
||||
mv /new_root/var/lib /new_root/.old.var.lib
|
||||
|
|
Loading…
Reference in a new issue