summaryrefslogtreecommitdiffstats
path: root/debootstrap
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@iki.fi>2016-11-14 02:11:41 (GMT)
committerJulien Cristau <jcristau@debian.org>2016-11-14 02:11:58 (GMT)
commit03ca07abffcad15007ca2e8d0cd99d4b811c738e (patch)
treeab0072b535e523e24fa3bdc883c99316ddc789d2 /debootstrap
parent988c5ca36a4cb44e0ba3a143f70b6ae8a7e5afdc (diff)
downloaddebootstrap-03ca07abffcad15007ca2e8d0cd99d4b811c738e.zip
debootstrap-03ca07abffcad15007ca2e8d0cd99d4b811c738e.tar.gz
debootstrap-03ca07abffcad15007ca2e8d0cd99d4b811c738e.tar.bz2
remove scratchbox2 support (closes: #796189)
Diffstat (limited to 'debootstrap')
-rwxr-xr-xdebootstrap12
1 files changed, 1 insertions, 11 deletions
diff --git a/debootstrap b/debootstrap
index 1d6ddaa..4658e0f 100755
--- a/debootstrap
+++ b/debootstrap
@@ -100,7 +100,7 @@ usage()
archive
--variant=X use variant X of the bootstrap scripts
(currently supported variants: buildd, fakechroot,
- scratchbox, minbase)
+ minbase)
--merged-usr make /{bin,sbin,lib}/ symlinks to /usr/
--keyring=K check Release files against keyring K
--no-check-gpg avoid checking Release file signatures
@@ -464,16 +464,6 @@ fi
if [ "$TARGET" = "/" ]; then
CHROOT_CMD=""
-elif doing_variant scratchbox; then
- for config in ~/.scratchbox2/*/sb2.config;
- do
- export `grep ^SBOX_TARGET_ROOT= $config`
- if [ "x$SBOX_TARGET_ROOT" = "x$TARGET" ]; then
- SB2_TARGET=$(basename $(dirname $config))
- fi
- done
- [ "x$SB2_TARGET" != "x" ] || error 1 SBOXTARGETREQ "No scratchbox target configured for $TARGET"
- CHROOT_CMD="sb2 -eR -t $SB2_TARGET"
else
CHROOT_CMD="chroot $TARGET"
fi