From 723581f9720c951a3ee4d703378f7b8bd21f9ff3 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sat, 18 Nov 2023 09:36:33 +0100 Subject: [PATCH] remove path --- usr/lib/archboot/cpio/init.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/lib/archboot/cpio/init.sh b/usr/lib/archboot/cpio/init.sh index f5674c1a3..1c35dc393 100755 --- a/usr/lib/archboot/cpio/init.sh +++ b/usr/lib/archboot/cpio/init.sh @@ -72,8 +72,8 @@ _task() { cd /sysroot # fastest uncompression of zstd cpio format bsdcpio -i -d -u <"/mnt/efi/boot/initrd-${_ARCH}.img" &>/dev/null - rm -r /sysroot/sysroot - rm /sysroot/init + rm -r sysroot + rm init fi if [[ "${1}" == unmount ]]; then if mountpoint /mnt/ventoy &>/dev/null; then