mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
remove kernel from / on local image
This commit is contained in:
parent
9f8aff27a4
commit
41c3a265b9
1 changed files with 2 additions and 2 deletions
|
@ -212,8 +212,8 @@ _new_environment() {
|
|||
mv "${_W_DIR}"/tmp/* "/${_RAM}/"
|
||||
# cleanup mkinitcpio directories and files
|
||||
_progress "95" "Cleanup ${_RAM}..."
|
||||
rm -rf /sysroot/{hooks,install,kernel,new_root,sysroot,mkinitcpio.*} &>"${_NO_LOG}"
|
||||
rm -f /sysroot/{VERSION,config,buildconfig,init} &>"${_NO_LOG}"
|
||||
rm -rf /${_RAM}/{hooks,install,kernel,new_root,sysroot,mkinitcpio.*} &>"${_NO_LOG}"
|
||||
rm -f /${_RAM}/{VERSION,config,buildconfig,init,${_VMLINUZ}} &>"${_NO_LOG}"
|
||||
_progress "100" "Switching to rootfs ${_RAM}..."
|
||||
sleep 2
|
||||
# https://www.freedesktop.org/software/systemd/man/bootup.html
|
||||
|
|
Loading…
Reference in a new issue