Date: Wed, 29 Nov 2023 16:04:12 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 255639] [nanobsd] "missing directory in specification" while building disk image Message-ID: <bug-255639-227-ZRTDf3Nff3@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-255639-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255639 --- Comment #5 from Jose Luis Duran <jlduran@gmail.com> --- I had something similar in a non-upstreamed branch: --- a/tools/tools/nanobsd/embedded/common +++ b/tools/tools/nanobsd/embedded/common @@ -411,6 +411,20 @@ fix_pkg ( ) ( ) customize_cmd fix_pkg +fix_certctl ( ) ( + chdir ${NANO_WORLDDIR} + mkdir -p etc/ssl/blacklisted + mkdir -p etc/ssl/certs + mkdir -p etc/ssl/untrusted + [ -z ${NANO_NOPRIV_BUILD} ] || ( + echo "./etc/ssl type=dir uname=root gname=wheel mode=0755" + echo "./etc/ssl/blacklisted type=dir uname=root gname=wheel mode=0755" + echo "./etc/ssl/certs type=dir uname=root gname=wheel mode=0755" + echo "./etc/ssl/untrusted type=dir uname=root gname=wheel mode=0755" + ) >> ${NANO_METALOG} +) +customize_cmd fix_certctl + save_build ( ) ( VERSION_FILE=${NANO_WORLDDIR}/etc/version if [ "${SVNREVISION}" = "${REVISION}" ]; then However, I think the real problem is that this information is missing from the mtree (in /etc/mtree/BSD.root.dist). I have switched to building images with poudriere, but I may revisit this issue soon-ish, and confirm it. -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255639-227-ZRTDf3Nff3>
