mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-17 20:01:30 +00:00
mk-sbuild: Change cross-chroot's lvm volume names to be inline with non-lvm/sbuild.
This commit is contained in:
parent
77bde6c1c0
commit
c6c7699c86
@ -362,7 +362,11 @@ case "$SCHROOT_TYPE" in
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Set up some variables for use in the paths and names
|
# Set up some variables for use in the paths and names
|
||||||
CHROOT_LV="${name}_${CHROOT_ARCH}_chroot"
|
if [ -z "$TARGET_ARCH" ]; then
|
||||||
|
CHROOT_LV="${name}_${CHROOT_ARCH}_chroot"
|
||||||
|
else
|
||||||
|
CHROOT_LV="${name}_${CHROOT_ARCH}_${TARGET_ARCH}_chroot"
|
||||||
|
fi
|
||||||
CHROOT_PATH="/dev/$VG/$CHROOT_LV"
|
CHROOT_PATH="/dev/$VG/$CHROOT_LV"
|
||||||
|
|
||||||
# Install lvm2 if missing
|
# Install lvm2 if missing
|
||||||
|
Loading…
x
Reference in New Issue
Block a user