summaryrefslogtreecommitdiffstats
path: root/release/tools/arm.subr
diff options
context:
space:
mode:
Diffstat (limited to 'release/tools/arm.subr')
-rw-r--r--release/tools/arm.subr12
1 files changed, 0 insertions, 12 deletions
diff --git a/release/tools/arm.subr b/release/tools/arm.subr
index c12854e..509b046 100644
--- a/release/tools/arm.subr
+++ b/release/tools/arm.subr
@@ -63,18 +63,6 @@ umount_loop() {
}
arm_create_disk() {
- # XXX: This is potentially dangerous, but works around an issue
- # properly labeling md(4) devices when the label already
- # exists.
- # EVERYTHINGISFINE should *never* be set for non-RE use.
- # Trust me. I'm an engineer.
- if [ ! -z "${EVERYTHINGISFINE}" ]; then
- for _label in ufs/rootfs msdosfs/MSDOSBOOT; do
- if [ -e "/dev/${_label}" ]; then
- rm /dev/${_label}
- fi
- done
- fi
# Create the target raw file and temporary work directory.
chroot ${CHROOTDIR} gpart create -s ${PART_SCHEME} ${mddev}
chroot ${CHROOTDIR} gpart add -t '!12' -a 63 -s ${FAT_SIZE} ${mddev}
OpenPOWER on IntegriCloud