[packages] add "debootstrap", allows bootstrapping Debianish systems from within...
[openwrt/svn-archive/archive.git] / utils / debootstrap / patches / 00-no_dpkg_deb.diff
1 --- debootstrap-1.0.23/usr/share/debootstrap/functions.orig 2010-06-20 23:46:12.000000000 +0200
2 +++ debootstrap-1.0.23/usr/share/debootstrap/functions 2010-06-20 23:46:53.000000000 +0200
3 @@ -785,8 +785,9 @@
4
5 if [ -n "$EXTRACTOR_OVERRIDE" ]; then
6 extractor="$EXTRACTOR_OVERRIDE"
7 - elif type dpkg-deb >/dev/null 2>&1; then
8 - extractor="dpkg-deb"
9 +# busybox's dpkg-deb is not suitable for this script
10 +# elif type dpkg-deb >/dev/null 2>&1; then
11 +# extractor="dpkg-deb"
12 else
13 extractor="ar"
14 fi