mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 15:41:09 +00:00
add lpia support to mk-sbuild-lv
This commit is contained in:
parent
cdad605101
commit
7170f5d99b
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -7,6 +7,10 @@ ubuntu-dev-tools (0.32) UNRELEASED; urgency=low
|
||||
[ Kees Cook ]
|
||||
* dch-repeat: drop edgy, add intrepid. Update Copyright years.
|
||||
|
||||
[ Mario Limonciello ]
|
||||
* mk-sbuild-lv: Add lpia build support.
|
||||
* mk-sbuild-lv: Copy mirror used for debootstrap into chroot too.
|
||||
|
||||
-- Kees Cook <kees@ubuntu.com> Wed, 09 Jul 2008 09:49:26 -0700
|
||||
|
||||
ubuntu-dev-tools (0.31) intrepid; urgency=low
|
||||
|
15
mk-sbuild-lv
15
mk-sbuild-lv
@ -119,7 +119,7 @@ while :; do
|
||||
# By default, use the native architecture.
|
||||
arch_opt="--arch $2"
|
||||
arch_suffix="-$2"
|
||||
if [ -z "$personality" -a "$2" = "i386" ]
|
||||
if [ "$2" = "i386" ] || [ "$2" = "lpia" ] && [ -z "$personality" ];
|
||||
then
|
||||
personality="linux32"
|
||||
fi
|
||||
@ -191,6 +191,11 @@ else
|
||||
variant_opt="--variant=buildd"
|
||||
fi
|
||||
|
||||
# are we doing an lpia build?
|
||||
if [ -z "$DEBOOTSTRAP_MIRROR" ] && [ "$arch_opt" = "--arch lpia" ]; then
|
||||
DEBOOTSTRAP_MIRROR="http://ports.ubuntu.com/"
|
||||
fi
|
||||
|
||||
# Allocate the "golden" chroot LV
|
||||
sudo lvcreate -n "$CHROOT_LV" -L "$LV_SIZE" "$VG"
|
||||
sudo mkfs -t ext3 "$CHROOT_PATH"
|
||||
@ -208,10 +213,10 @@ if [ -r "$TEMPLATE_SOURCES" ]; then
|
||||
cat "$TEMPLATE_SOURCES" > "$TEMP_SOURCES"
|
||||
else
|
||||
cat > "$TEMP_SOURCES" <<EOM
|
||||
deb http://archive.ubuntu.com/ubuntu RELEASE main restricted universe multiverse
|
||||
deb-src http://archive.ubuntu.com/ubuntu RELEASE main restricted universe multiverse
|
||||
deb http://archive.ubuntu.com/ubuntu RELEASE-updates main restricted universe multiverse
|
||||
deb-src http://archive.ubuntu.com/ubuntu RELEASE-updates main restricted universe multiverse
|
||||
deb ${DEBOOTSTRAP_MIRROR:-http://archive.ubuntu.com/ubuntu} RELEASE main restricted universe multiverse
|
||||
deb-src ${DEBOOTSTRAP_MIRROR:-http://archive.ubuntu.com/ubuntu} RELEASE main restricted universe multiverse
|
||||
deb ${DEBOOTSTRAP_MIRROR:-http://archive.ubuntu.com/ubuntu} RELEASE-updates main restricted universe multiverse
|
||||
deb-src ${DEBOOTSTRAP_MIRROR:-http://archive.ubuntu.com/ubuntu} RELEASE-updates main restricted universe multiverse
|
||||
deb http://security.ubuntu.com/ubuntu RELEASE-security main restricted universe multiverse
|
||||
deb-src http://security.ubuntu.com/ubuntu RELEASE-security main restricted universe multiverse
|
||||
EOM
|
||||
|
Loading…
x
Reference in New Issue
Block a user