e083686e00
This element is similar to vm, but allows more flexibility on disk partitioning. It receives a DIB_PARTITIONING_SFDISK_SCHEMA setting, allowing to partition the disk according to project needs. Change-Id: I01dca5d5fd670d317f7761911a1549507de6e97d
13 lines
242 B
Bash
Executable File
13 lines
242 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ ${DIB_DEBUG_TRACE:-1} -gt 0 ]; then
|
|
set -x
|
|
fi
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
if [ $DISTRO_NAME = 'opensuse' ] ; then
|
|
# workaround for https://bugzilla.novell.com/show_bug.cgi?id=859493
|
|
rm -f /dev/mapper/loop*_part1
|
|
fi
|