chore: do not overwrite /etc/default/grub
This commit is contained in:
parent
a77f631c43
commit
b33942bd3b
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ run_latehook() {
|
|||
for i in sudoers crypttab fstab group gshadow hosts passwd resolv.conf shadow shells subgid subuid; do
|
||||
cp "/new_root/etc/${i}" /new_root/.new.etc
|
||||
done
|
||||
cp "/new_root/etc/default/grub" /new_root/.new.etc
|
||||
|
||||
# Rename existing /etc.
|
||||
mv /new_root/etc /new_root/.old.etc &>/dev/null || :
|
||||
|
|
Loading…
Reference in a new issue