chore: make modifications for new system utility

This commit is contained in:
Rudra Saraswat 2023-06-12 09:55:37 +10:00
parent a05b970d1d
commit 19812e9ef3
2 changed files with 10 additions and 10 deletions

View file

@ -39,7 +39,7 @@ run_latehook() {
cp -a /new_root/mnt/iso-update/squashfs-root/etc /new_root/.new.etc
# Replace editable /etc files.
for i in sudoers crypttab fstab group gshadow hosts passwd resolv.conf shadow shells subgid subuid; do
for i in sudoers crypttab fstab group gshadow hostname 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