diff options
author | gjb <gjb@FreeBSD.org> | 2015-07-03 06:07:21 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2015-07-03 06:07:21 +0000 |
commit | f1db22bf1a15392a78ecc451056281413be0f1cb (patch) | |
tree | 67a6614194f1f482ec963fc6d80a5d7830c8f001 /release/tools | |
parent | 8c2676b7e0cf56da70e8500ce114268427475207 (diff) | |
download | FreeBSD-src-f1db22bf1a15392a78ecc451056281413be0f1cb.zip FreeBSD-src-f1db22bf1a15392a78ecc451056281413be0f1cb.tar.gz |
Revert r285018 and r285019, which attempted to resolve
UFS/MSDOSFS label issues on FreeBSD/arm builds, however
the real problem was addressed in r285076, which is due
to two separate issues, unrelated to md(4) stale device
existence.
MFC after: 3 days
X-MFC-With: r285076
X-MFC-Before: 10.2-BETA1
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'release/tools')
-rw-r--r-- | release/tools/arm.subr | 12 |
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} |