Hi, I am running the following build against the stable/13 source branch:
The error I get looks as follows on the command line
When I run the exact same build for stable/12 (see SRCBRANCH= in BBB.conf) everything runs fine.
My BBB.conf file looks as follows:
What am I missing? ...I am pretty sure that I ran a successful build against stable/13 back in July 2021.
cd /usr/src
git clone -b stable/12 --depth 1 https://git.freebsd.org/src.git /usr/src
cd release
sh release.sh -c $HOME/BBB.conf
The error I get looks as follows on the command line
Code:
--------------------------------------------------------------
>>> stage 4.4: building everything
--------------------------------------------------------------
===> etc (all)
===> etc/sendmail (all)
...
===> etc (installconfig)
===> etc/sendmail (installconfig)
*** Saving mtree database for future upgrades
a .
a ./libexec
a ./boot
...
a usr/lib/debug/lib/casper/libcap_net.so.1.debug
a usr/lib/debug/lib/casper/libcap_syslog.so.1.debug
mdconfig: failed to load geom_md module: No such file or directory
gpart: Invalid number of arguments.
When I run the exact same build for stable/12 (see SRCBRANCH= in BBB.conf) everything runs fine.
My BBB.conf file looks as follows:
Bash:
#!/bin/sh
#
# $FreeBSD$
#
SRCBRANCH="stable/13"
PORTBRANCH="2021Q4"
EMBEDDED_TARGET_ARCH="armv7"
EMBEDDED_TARGET="arm"
EMBEDDEDBUILD=1
EMBEDDEDPORTS="sysutils/u-boot-beaglebone"
FAT_SIZE="50m -b 1m"
FAT_TYPE="16"
IMAGE_SIZE="3072M"
KERNEL="GENERIC"
MD_ARGS="-x 63 -y 255"
BBB_UBOOT_DIR="/usr/local/share/u-boot/u-boot-beaglebone"
PART_SCHEME="MBR"
export BOARDNAME="GENERICSD"
arm_install_uboot_bbb() {
FATMOUNT="${DESTDIR%${KERNEL}}/fat"
chroot ${CHROOTDIR} mkdir -p "${FATMOUNT}"
chroot ${CHROOTDIR} mount_msdosfs /dev/${mddev}s1 ${FATMOUNT}
chroot ${CHROOTDIR} cp -p ${BBB_UBOOT_DIR}/MLO ${FATMOUNT}/MLO
chroot ${CHROOTDIR} cp -p ${BBB_UBOOT_DIR}/u-boot.img ${FATMOUNT}/u-boot.img
sync
umount_loop ${CHROOTDIR}/${FATMOUNT}
chroot ${CHROOTDIR} rmdir ${FATMOUNT}
return 0
}
arm_install_uboot() {
arm_install_uboot_bbb
}
What am I missing? ...I am pretty sure that I ran a successful build against stable/13 back in July 2021.