From nobody Wed Nov 29 16:04:12 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SgPJr6vcyz52tr0 for ; Wed, 29 Nov 2023 16:04:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SgPJr5vbDz4fMR for ; Wed, 29 Nov 2023 16:04:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701273852; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0SDDEZPUciPwW7mFcA6AV6dSt91qOxZzIxTCHw3VpFo=; b=rUyLQ33b+jycNfEn0RU+zfRQBnpduhmXk6ZZjT4KMoN3k8jYwlKxaGnewrOss6YlCI6AMV YSDqW8cpIH1C+anIlBLkCYb+MQkhyFqHb8u5km/AzJfMxT6/58Wm2fQZhmk+C0SedOecIr ZBAo7PSCdn34hZrpIIBzuhHPr6lk9eG9FmZhpL/B08WBuaU1wMapjVgXPMDmXxK0RP2Rlf VTWx/yOwWfJ0AnsAmOVJN4/QCakuxlXQbARiM9uUNdGuRuGLN2POt2mMX4yjX1GwGKDq+N trI9E8nXf99w6DP4TFHMF3saXV/t0jqfLvDKUqXlPmcSUf+fpZvLpZcOOqlCBA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701273852; a=rsa-sha256; cv=none; b=UubpuGQ0AFqy8ZJuvffqVgZ2aSJiTUsaDTEmYW858nLMztlY/YFZ2U+Bxgj5gt/JraT72S I7mhfuh9VivHi65R/YKidfkYnp6eLLoKvpUb+HDE/XrLEo7TsSYeO0a5zF5C+XlQk2BMiE LAPXWRHLG5unj3l/Oo6LZOYz1ZOUe+zbLGIAJPa99TWSnLrpvdr2E0te+gJK1LKboGFUXn N6fbSHR8SisP6ujX1sDrjLhxd/XLHCP/PE13OXKRbc9VLGIKryU6aL5yZym0KbV5hREk76 Yz8DvO1U5faw/mJfLz8jxFM5KACaYN3fKDeokBUOf5DLRv4JJyjFJaoTLy5uNQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SgPJr4ydgz1BTs for ; Wed, 29 Nov 2023 16:04:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3ATG4CT3028531 for ; Wed, 29 Nov 2023 16:04:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ATG4C01028530 for bugs@FreeBSD.org; Wed, 29 Nov 2023 16:04:12 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 255639] [nanobsd] "missing directory in specification" while building disk image Date: Wed, 29 Nov 2023 16:04:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jlduran@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255639 --- Comment #5 from Jose Luis Duran --- 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=3Ddir uname=3Droot gname=3Dwheel mode=3D0755" + echo "./etc/ssl/blacklisted type=3Ddir uname=3Droot gname=3Dwheel m= ode=3D0755" + echo "./etc/ssl/certs type=3Ddir uname=3Droot gname=3Dwheel mode=3D= 0755" + echo "./etc/ssl/untrusted type=3Ddir uname=3Droot gname=3Dwheel mod= e=3D0755" + ) >> ${NANO_METALOG} +) +customize_cmd fix_certctl + save_build ( ) ( VERSION_FILE=3D${NANO_WORLDDIR}/etc/version if [ "${SVNREVISION}" =3D "${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 wi= th poudriere, but I may revisit this issue soon-ish, and confirm it. --=20 You are receiving this mail because: You are the assignee for the bug.=