mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
unload virtio-net to avoid non functioning network on aarch64 kexec reboot
This commit is contained in:
parent
7196af04c7
commit
b90f424b66
1 changed files with 2 additions and 0 deletions
|
@ -217,6 +217,8 @@ if [[ "${_L_COMPLETE}" == "1" || "${_L_INSTALL_COMPLETE}" == "1" ]]; then
|
|||
umount ${_W_DIR}
|
||||
echo 1 > /sys/block/zram0/reset
|
||||
sleep 5
|
||||
# unload virtio-net to avoid non functional network device on aarch64
|
||||
rmmod virtio-net
|
||||
echo -e "\033[1mStep 9/9:\033[0m Loading files through kexec into kernel now ..."
|
||||
# load kernel and initrds into running kernel in background mode!
|
||||
kexec -f /"${VMLINUZ}" --initrd="/initrd.img" --reuse-cmdline&
|
||||
|
|
Loading…
Reference in a new issue