termux-packages/packages/debootstrap/functions.patch

29 lines
865 B
Diff
Raw Normal View History

diff -u -r ../debootstrap-1.0.91/functions ./functions
--- ../debootstrap-1.0.91/functions 2017-07-25 05:02:27.000000000 +0200
+++ ./functions 2017-08-09 23:16:36.589942373 +0200
@@ -883,7 +883,7 @@
2017-06-06 10:20:41 +02:00
extract_dpkg_deb_data () {
local pkg="$1"
2017-06-06 10:20:41 +02:00
- dpkg-deb --fsys-tarfile "$pkg" | tar $EXTRACT_DEB_TAR_OPTIONS -xf -
+ dpkg-deb --fsys-tarfile "$pkg" | proot --link2symlink tar $EXTRACT_DEB_TAR_OPTIONS -xf -
}
2017-06-06 10:20:41 +02:00
# Raw .deb extractors
@@ -922,6 +922,7 @@
if in_path $cat_cmd; then
ar -p "$pkg" "$tarball" | $cat_cmd | tar $EXTRACT_DEB_TAR_OPTIONS -xf -
2017-06-06 10:20:41 +02:00
+ ar -p "$pkg" "$tarball" | $cat_cmd | proot --link2symlink tar $EXTRACT_DEB_TAR_OPTIONS -xf -
else
error 1 UNPACKCMDUNVL "Extracting %s requires the %s command, which is not available" "$pkg" "$cat_cmd"
fi
@@ -1139,7 +1140,6 @@
2017-06-06 10:20:41 +02:00
hurd*)
;;
*)
- setup_devices_simple
;;
esac
}