From 61cbad0b49a9107c048b6c88e433b0f40e420460 Mon Sep 17 00:00:00 2001 From: eichehome Date: Thu, 21 Dec 2023 04:47:37 +0100 Subject: [PATCH] reworked extraction to actually work --- manual-build/create-initramfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual-build/create-initramfs.sh b/manual-build/create-initramfs.sh index 6d5a282..e3a6720 100755 --- a/manual-build/create-initramfs.sh +++ b/manual-build/create-initramfs.sh @@ -81,7 +81,7 @@ PACKAGES=( mkdir -p "${cache}" pacman -Syw --cachedir "${cache}" "${PACKAGES[@]}" mkdir -p "${extract}" -tar -xvpf "${cache}" --exclude .PKGINFO --exclude .INSTALL --exclude .MTREE --exclude .BUILDINFO -C "${extract}" +find "${cache}" -name '*.zst' -exec tar -xvpf "${cache}"'{}' --exclude .PKGINFO --exclude .INSTALL --exclude .MTREE --exclude .BUILDINFO -C "${extract}" \; mkdir -p "${buildroot}" #mkdir -p ${buildroot}/usr/{bin,lib/{binfmt.d,credstore,cryptsetup,environment.d,initcpio/{hooks,install},kernel/install.d,modprobe.d,modules-load.d,pam.d,pcrlock.d,security,sysctl.d,systemd/{boot/efi,catalog,network,ntp-units.d,portable/profile/,repart/definitions,system-{generators,preset,shutdown,sleep},system,user{,-preset,-{,environment-}generators}},sysusers.d,tmpfiles.d,udev/{hwdb.d,rules.d}},share/{bash-completion/completions,dbus-1/{interfaces,{system-,}services,system.d},doc/systemd/LICENSES,factory/etc/pam.d,libalpm/{hooks,scripts},locale,man/{man1,man5,man7,man8},pkgconfig,polkit-1/{actions,rules.d},systemd/{bootctl,gatewayd},zsh/site-functions}}