Browse Source

build: revert some changes to serial/nano

pull/57/head
Franco Fichtner 3 years ago
parent
commit
73087ffce2
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      build/nano.sh
  2. +2
    -2
      build/serial.sh

+ 2
- 2
build/nano.sh View File

@ -61,8 +61,8 @@ EOF
makefs -t ffs -s ${NANOSIZE} -B little \
-o label=${NANOLABEL} ${NANOIMG} ${STAGEDIR}
DEV=$(mdconfig -a -t vnode -f ${NANOIMG} -x 63 -y 255)
DEV=$(mdconfig -a -t vnode -f ${NANOIMG})
gpart create -s BSD ${DEV}
gpart bootcode -b ${STAGEDIR}/boot/boot ${DEV}
gpart add -a 4k -t freebsd-ufs ${DEV}
gpart add -t freebsd-ufs ${DEV}
mdconfig -d -u ${DEV}

+ 2
- 2
build/serial.sh View File

@ -55,8 +55,8 @@ EOF
makefs -t ffs -B little -o label=${SERIALLABEL} ${SERIALIMG} ${STAGEDIR}
DEV=$(mdconfig -a -t vnode -f ${SERIALIMG} -x 63 -y 255)
DEV=$(mdconfig -a -t vnode -f ${SERIALIMG})
gpart create -s BSD ${DEV}
gpart bootcode -b ${STAGEDIR}/boot/boot ${DEV}
gpart add -a 4k -t freebsd-ufs ${DEV}
gpart add -t freebsd-ufs ${DEV}
mdconfig -d -u ${DEV}

Loading…
Cancel
Save