From nobody Fri Dec 12 16:41:20 2025 X-Original-To: pkgbase@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 4dSZwK29RLz6JvvB for ; Fri, 12 Dec 2025 16:41:21 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dSZwJ66kNz3ttm for ; Fri, 12 Dec 2025 16:41:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765557680; 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=VNHDyYsm/GDbzy466ArieSMSvAqajvs3InzK7VphX6s=; b=TNdY6cGrSjw+3m5A8IAEbARzYI0cBve6U6a8Ub5bLEdoxDhy70fgqGPQSzoCk62q1/4Io9 Hs2r3ojMr3cr/62XPshCIJOJJlL65jSSuxZ1fgoyMV6d+ScuT2/5nL8//wVuJe9yuz40+e zcLptwRYPD80YY8uq6Gf4IG5cs2CxFPKzLLnLPbguWtA0hkCpTyb7iApm23+B2IA6Ig1AM VtWZw7k6NcCN65iMAKHSPwkiLkmlHKMFn7q8bEqiVydCVH1AcJYrBMVKaodN5f0nprfJLv WmeuB6l3pY2tMSyAmVVwkZMT11ytuC4W3hU9B3oROGXP4sThMPUCCgefPxsT5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765557680; 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=VNHDyYsm/GDbzy466ArieSMSvAqajvs3InzK7VphX6s=; b=jtjNVkoeN14svqWlWp5Ys+CHL1DGO7zfzmRWUEvnqBUHz4GxZdlGQQIbDA5sj+fMh4C6Re fvoQ/xp7gRJQhOEtol0k3U5vtZyB3wJwzhGQFfe/FWnFYZOL4AK4APKLmEXGUoSDde5SgN 8qGLvJfT340025Sf0p9GAtplWVJa/58UHH15Uln2vdoY6t59e7oOUcW3gTjdfoMfrr+ZKA vjSwzxLTRaPBW84rG603u1vaimXSs6zQcXaiFauSWJgUkLSQVzDb3Krd8wThY2gggBO4mW FMzwHsC9D3K5kjUa6shNbO/pR5AmzSGSIrOjWrFzspgeGrhTFLMvupKQwtsm7w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765557680; a=rsa-sha256; cv=none; b=rO+zVy3tTo5GEHHzIupfOf8xwiQ0Km6FdkugMeTkYndgl3HxlKoQ3NqX+O4k36Gwn2ROr4 cxZMg714Iu/qCY9jw3yHDmUQBY5XmN1Y4LevBIeMjnXHiIYPCFfHH3Ft8Xu1PufPcTLb6a oxNTL6Nh55BS5Ues4VSEoMTRGMrmyvRPi51WF1gXtEm7GCzdAgnAl+69cE48vHhM3536tQ OawjCe58L/mGIRMwiNW4SpdZDeUlFgSsREHvAYmcrDWbRGsXGjw5RZRdG+oqj0npI1L1kd nLrPgHVlnjLZD/+Qo3lnYUJTc67VJz+dTDVMANvn0nehhQWuthPWIpWaktO7kA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4dSZwJ5gNDz8Zm for ; Fri, 12 Dec 2025 16:41:20 +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 5BCGfKwP053519 for ; Fri, 12 Dec 2025 16:41:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BCGfKmq053518 for pkgbase@FreeBSD.org; Fri, 12 Dec 2025 16:41:20 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: pkgbase@FreeBSD.org Subject: [Bug 290375] bsdinstall: pkgbase not scripted Date: Fri, 12 Dec 2025 16:41:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 15.0-STABLE X-Bugzilla-Keywords: install, pkgbase X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sysinstall@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290375 Alan Somers changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asomers@FreeBSD.org --- Comment #1 from Alan Somers --- This is a good start, but I think there are at least two problems, and maybe four: * Testing BSDINSTALL_PKG_REPOS_DIR should use "-n": if [ -n "$..." ] * "bsdinstall pkgbase" and "bsdinstall distextract" should be mutually exclusive. If the script does the former, then it must skip "bsdinstall checksum" and "bsdinstall pkgbase" * changing the default value of DISTRIBUTIONS may break existing scripts. = Best to leave it the same. * "bsdinstall pkgbase" already does something sensible if BSDINSTALL_PKG_REPOS_DIR is unset. So I don't think that you should require the user to set it. Rather, to select a pkgbase install, I think you should either require the user to set DISTRIBUTIONS=3D"", or else introduce a new variable. --=20 You are receiving this mail because: You are on the CC list for the bug.=