debootstrap: switch to bsdtar

This commit is contained in:
Jürgen Buchmüller 2020-01-28 11:42:03 +01:00
parent b219ab36cc
commit da45b84340
1 changed files with 2 additions and 2 deletions

View File

@ -14,8 +14,8 @@ checksum="e5b060eb86c8955d91e7193d796b9928dd7d803bdd61f8df008f42a8fe2f8b69
9cefd8917f3d97a999c136aa87f04a3024408b5bc1de470de7d6dfa5e4bd4361" 9cefd8917f3d97a999c136aa87f04a3024408b5bc1de470de7d6dfa5e4bd4361"
do_install() { do_install() {
ar p ${pkgname}_${version}_all.deb data.tar.gz | tar xvzf - -C ${DESTDIR} ar p ${pkgname}_${version}_all.deb data.tar.gz | bsdtar xvzf - -C ${DESTDIR}
ar p debian-archive-keyring_2019.1_all.deb data.tar.xz | tar xvJf - -C ${DESTDIR} ./usr/share/keyrings/debian-archive-keyring.gpg ar p debian-archive-keyring_2019.1_all.deb data.tar.xz | bsdtar xvJf - -C ${DESTDIR} ./usr/share/keyrings/debian-archive-keyring.gpg
mv ${DESTDIR}/usr/sbin ${DESTDIR}/usr/bin mv ${DESTDIR}/usr/sbin ${DESTDIR}/usr/bin
sed -i 's|export PATH|export PATH="/usr/sbin:/sbin:/usr/bin:/bin"|' ${DESTDIR}/usr/bin/debootstrap sed -i 's|export PATH|export PATH="/usr/sbin:/sbin:/usr/bin:/bin"|' ${DESTDIR}/usr/bin/debootstrap
vlicense ${DESTDIR}/usr/share/doc/debootstrap/copyright LICENSE vlicense ${DESTDIR}/usr/share/doc/debootstrap/copyright LICENSE