chore: do not copy initramfs during update
This commit is contained in:
parent
b33942bd3b
commit
a05b970d1d
1 changed files with 0 additions and 3 deletions
|
@ -50,9 +50,6 @@ run_latehook() {
|
||||||
# Rename new /etc.
|
# Rename new /etc.
|
||||||
mv /new_root/.new.etc /new_root/etc &>/dev/null || :
|
mv /new_root/.new.etc /new_root/etc &>/dev/null || :
|
||||||
|
|
||||||
# Replace kernel and microcode images.
|
|
||||||
mv /new_root/mnt/iso-update/iso/boot/initramfs-linux-zen.img /new_root/boot/initramfs-linux-zen.img
|
|
||||||
|
|
||||||
if [[ -f /boot/amd-ucode.img ]]; then
|
if [[ -f /boot/amd-ucode.img ]]; then
|
||||||
mv /new_root/mnt/iso-update/iso/boot/amd-ucode.img /new_root/boot/amd-ucode.img
|
mv /new_root/mnt/iso-update/iso/boot/amd-ucode.img /new_root/boot/amd-ucode.img
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue