mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
Removed buildd check. Every distro in recent debootstrap versions has a buildd variant, but only warty, hoary, woody, and sarge had separate .buildd scripts.
This commit is contained in:
parent
5feefb9443
commit
1bcb9e549d
@ -156,11 +156,8 @@ if [ ! -f "/usr/lib/debootstrap/scripts/$RELEASE" ]; then
|
|||||||
echo "Specified release not known to debootstrap" >&2
|
echo "Specified release not known to debootstrap" >&2
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
# Look for a buildd variant to work with
|
|
||||||
if [ -f "/usr/lib/debootstrap/scripts/${RELEASE}.buildd" ]; then
|
|
||||||
variant_opt="--variant=buildd"
|
variant_opt="--variant=buildd"
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
# Allocate the "golden" chroot LV
|
# Allocate the "golden" chroot LV
|
||||||
sudo lvcreate -n "$CHROOT_LV" -L 5G "$VG"
|
sudo lvcreate -n "$CHROOT_LV" -L 5G "$VG"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user