mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-14 20:37:06 +00:00
Fix the path to the UFS/MSDOSFS filesystem labels, since they
cannot possibly exist within the chroot(8) before the target filesystem actually exists. MFC after: 3 days X-MFC-With: r285018 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
e07ca0423d
commit
e8d7333d7d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=285019
|
@ -70,8 +70,8 @@ arm_create_disk() {
|
|||
# Trust me. I'm an engineer.
|
||||
if [ ! -z "${EVERYTHINGISFINE}" ]; then
|
||||
for _label in ufs/rootfs msdosfs/MSDOSBOOT; do
|
||||
if [ -e "${CHROOTDIR}/dev/${_label}" ]; then
|
||||
rm ${CHROOTDIR}/dev/${_label}
|
||||
if [ -e "/dev/${_label}" ]; then
|
||||
rm /dev/${_label}
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue