From nobody Fri Dec 12 16:41:20 2025 X-Original-To: sysinstall@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 4dSZwJ6Gc1z6JvMN for ; Fri, 12 Dec 2025 16:41:20 +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 4dSZwJ5WBHz3v3p 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=fT67+BR9/IbSGXjDhAVMfSc/xx3rzNr6PdHgjpF1lBI=; b=gdxaegwQ68zBHsu5At4Wf0ieslNb9bSwNCd8ma1OYsUg5V7Jz3IguUdeMrRlySj3u4o1cP uQ3//vCnHi49zGn38rx5i/x336XUAcETn/beMgIW76iHVfNERbkDQkAMhEC88pOTbEdIW+ q8sDH3d0VqoCLWlsH8bXnKbst8z99tSVg/H6VfhD1AILoP9o/Mfp031g2/9Fe8CiigG7Np 3TVZtxFwK7DbzgqwNAbpWKcAB3WXCT0GVUOi6Vuc7g//AwSfU8yUmbgvgSgP6wIdsBXWTU vtGxmT/pPBKhGHn/LiRYsy5bMt8Rqs5dCcoP7dyvyHQZK/ddUP8jQeU2qLexFQ== 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=fT67+BR9/IbSGXjDhAVMfSc/xx3rzNr6PdHgjpF1lBI=; b=t0eJSEt1PX7GGZMWD9w5IsOy+Syz8E3mdjZl5WGVuJGnQbjeMq/ZX2MqtmAFNYRRJ+IJXf LytfzE20aU4DfVoIL6PVgi8/fGbR0EKSdy/UY1zB7hqQl8Zv4kAUjY99RvCqUWDPNh5HnS LKk2RBZ5u/8p1PACrpXPpmjUy+F6gu5uMamLDozfvGr7+KNQtJGTNN8mmwJIl8383MLOD7 rqYnqPKF3ygnYgCU840kKYqSE0J1kd2HG65ZwkXCmCfbDyC5uzxjQFxgXOXB8mgO312WpB JGB5CYC6UZF0yBOpqVvyb/jQvL/UArYlGRXOyW6mx2yhEXLWenM3bty9AB/bYQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765557680; a=rsa-sha256; cv=none; b=njm41lv+rYX0hxezacCMEYU5ZSHSkcdvnGHo9EgkaYpom/LVbmurDZbtZLdpBkkT7i4qsE 99HPZV1wpGDa/d98Myr+SdmDHpv8I7ma49MEAmylArOMdD+qRCVS9xM211gq76wOo+JlGO d156grjaRNsmxkwLYYap/aY2AHqiXJVSdNgCGuZV5oqZOkazdkaF0knrw/gE6QwLE01zzh cyXg0QCorBBsYZXOAbwffn0KBwpGTR/VTho6t9eKSTPfvs0NgLEMoJZBAD/mkwoCtGm2ak Ae/SUyFAHL9Yr03QhcgiDgG0s2y+clIwzdkq7e5EExsJE0vK0rnoIECbt3p4/w== 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 4dSZwJ54RLz8LF 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 5BCGfKmG053514 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 5BCGfKE2053513 for sysinstall@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: sysinstall@FreeBSD.org Subject: [Bug 290375] bsdinstall: pkgbase not scripted Date: Fri, 12 Dec 2025 16:41:20 +0000 X-Bugzilla-Reason: AssignedTo 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: Sysinstall Work List-Archive: https://lists.freebsd.org/archives/freebsd-sysinstall List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-sysinstall@freebsd.org Sender: owner-freebsd-sysinstall@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 the assignee for the bug.=