Hi.
I've searched the forums and the net for this without success.
I'm trying to build a 13.0 nanobsd image from qemu-amd64-uefi.cfg. The build machine is a default amd64 12.2-STABLE.
This is what I did so far:
- Git cloned the https://github.com/freebsd/freebsd-src repo into /usr/src (svnlite was giving some truncated gzip error).
- Git checkout to releng/13.0
- cd'd into /usr/src/tools/tools/nanobsd/embedded
- ran
So it build without complaint but /usr/embedded/images is empty.
But when I check one of the child logs /usr/embedded/qemu-amd64-uefi/_.di I can see that there is some kind of error related to makefs:
So if I add ./etc/ssl/blacklisted and ./etc/ssl/certs before line 487 and try to run the above makes command it finishes successfully but I still don't have an image yet. I also noticed that if I try to run nanobsd.sh again this metalog file is regenerated and the process fails again.
Does anyone knows how _.metalog is generated and how can I fix this?
Thanks.
I've searched the forums and the net for this without success.
I'm trying to build a 13.0 nanobsd image from qemu-amd64-uefi.cfg. The build machine is a default amd64 12.2-STABLE.
This is what I did so far:
- Git cloned the https://github.com/freebsd/freebsd-src repo into /usr/src (svnlite was giving some truncated gzip error).
- Git checkout to releng/13.0
- cd'd into /usr/src/tools/tools/nanobsd/embedded
- ran
sh ../nanobsd.sh -b -k -c qemu-amd64-uefi.cfg
. No modification.So it build without complaint but /usr/embedded/images is empty.
But when I check one of the child logs /usr/embedded/qemu-amd64-uefi/_.di I can see that there is some kind of error related to makefs:
Code:
+ export 'MTOOLS_SKIP_CHECK=1'
+ [ -z qcow2 ]
+ fmtarg='-f qcow2'
+ [ -z qcow2 ]
+ fmt=.qcow2
+ bootmbr='-b /usr/embedded/qemu-amd64-uefi/_.w/boot/boot0sio'
+ bootbsd='-b /usr/embedded/qemu-amd64-uefi/_.w/boot/boot'
+ skiparg=''
+ rm -fr '/usr/embedded/qemu-amd64-uefi/_.s1*'
+ rm -fr '/usr/embedded/qemu-amd64-uefi/_.s2*'
+ rm -fr '/usr/embedded/qemu-amd64-uefi/_.s3*'
+ rm -fr '/usr/embedded/qemu-amd64-uefi/_.s4*'
+ rm -fr '/usr/embedded/qemu-amd64-uefi/_.p1*'
+ rm -fr '/usr/embedded/qemu-amd64-uefi/_.p2*'
+ rm -fr '/usr/embedded/qemu-amd64-uefi/_.p3*'
+ rm -fr '/usr/embedded/qemu-amd64-uefi/_.p4*'
+ rm -fr '/usr/embedded/qemu-amd64-uefi/_.p5*'
+ rm -fr '/usr/embedded/qemu-amd64-uefi/_.empty*'
+ [ -n '' ]
+ [ std-uefi '=' powerpc64-ibm ]
+ [ -z t ]
+ extra='-F /usr/embedded/obj/_.metalog'
+ sz=''
+ eval 'makefs -t ffs -B little' -F /usr/embedded/obj/_.metalog /usr/embedded/qemu-amd64-uefi/_.s3 /usr/embedded/qemu-amd64-uefi/_.w
+ makefs -t ffs -B little -F /usr/embedded/obj/_.metalog /usr/embedded/qemu-amd64-uefi/_.s3 /usr/embedded/qemu-amd64-uefi/_.w
makefs: ./etc/ssl/blacklisted: missing directory in specification
makefs: failed at line 487 of the specification
So if I add ./etc/ssl/blacklisted and ./etc/ssl/certs before line 487 and try to run the above makes command it finishes successfully but I still don't have an image yet. I also noticed that if I try to run nanobsd.sh again this metalog file is regenerated and the process fails again.
Does anyone knows how _.metalog is generated and how can I fix this?
Thanks.