mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-04-19 22:31:07 +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
|
||||
|
||||
# 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"
|
||||
|
||||
# Install lvm2 if missing
|
||||
|
Loading…
x
Reference in New Issue
Block a user