reworked extraction to actually work
This commit is contained in:
parent
97f26b63a1
commit
61cbad0b49
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ PACKAGES=(
|
||||||
mkdir -p "${cache}"
|
mkdir -p "${cache}"
|
||||||
pacman -Syw --cachedir "${cache}" "${PACKAGES[@]}"
|
pacman -Syw --cachedir "${cache}" "${PACKAGES[@]}"
|
||||||
mkdir -p "${extract}"
|
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}"
|
||||||
|
|
||||||
#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}}
|
#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}}
|
||||||
|
|
Loading…
Reference in a new issue