2018-06-21 22:32:14 +02:00
|
|
|
diff -u -r ../debootstrap-1.0.102/functions ./functions
|
|
|
|
--- ../debootstrap-1.0.102/functions 2018-06-13 13:00:11.000000000 +0000
|
|
|
|
+++ ./functions 2018-06-21 20:30:41.301533374 +0000
|
|
|
|
@@ -910,7 +910,7 @@
|
2017-06-06 10:20:41 +02:00
|
|
|
extract_dpkg_deb_data () {
|
|
|
|
local pkg="$1"
|
2017-08-09 23:18:25 +02:00
|
|
|
|
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-08-09 23:18:25 +02:00
|
|
|
|
2017-06-06 10:20:41 +02:00
|
|
|
# Raw .deb extractors
|
2018-06-21 22:32:14 +02:00
|
|
|
@@ -950,7 +950,7 @@
|
2018-04-30 03:26:35 +02:00
|
|
|
esac
|
2017-08-09 23:18:25 +02:00
|
|
|
|
2018-04-30 03:26:35 +02:00
|
|
|
if in_path "$cat_cmd"; then
|
|
|
|
- ar -p "$pkg" "$tarball" | "$cat_cmd" | tar $EXTRACT_DEB_TAR_OPTIONS -xf -
|
|
|
|
+ ar -p "$pkg" "$tarball" | "$cat_cmd" | proot --link2symlink tar $EXTRACT_DEB_TAR_OPTIONS -xf -
|
2017-06-06 10:20:41 +02:00
|
|
|
else
|
|
|
|
error 1 UNPACKCMDUNVL "Extracting %s requires the %s command, which is not available" "$pkg" "$cat_cmd"
|
|
|
|
fi
|
2018-06-21 22:32:14 +02:00
|
|
|
@@ -1165,7 +1165,6 @@
|
|
|
|
return 0
|
|
|
|
fi
|
|
|
|
|
2017-06-06 10:20:41 +02:00
|
|
|
- setup_devices_simple
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
}
|