From nobody Fri Apr 24 22:21:27 2026 X-Original-To: freebsd-current@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 4g2S9Y301Kz6bNrt for ; Fri, 24 Apr 2026 22:21:37 +0000 (UTC) (envelope-from vermaden@interia.pl) Received: from smtpo63.interia.pl (smtpo63.interia.pl [217.74.67.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4g2S9X1XsTz3hnV for ; Fri, 24 Apr 2026 22:21:36 +0000 (UTC) (envelope-from vermaden@interia.pl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=interia.pl header.s=dk header.b=GHFGvwDy; dmarc=pass (policy=none) header.from=interia.pl; spf=pass (mx1.freebsd.org: domain of vermaden@interia.pl designates 217.74.67.63 as permitted sender) smtp.mailfrom=vermaden@interia.pl Date: Sat, 25 Apr 2026 00:21:27 +0200 From: vermaden Subject: Re: bsdinstall no longer uses BSDINSTALL_DISTDIR? To: Rick Macklem , FreeBSD CURRENT X-Mailer: interia.pl/pf09 In-Reply-To: References: X-Originating-IP: 45.148.42.24 Message-Id: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=dk; t=1777069288; bh=PrM1JnAdUIdr8pU2Dxgsqc9mlyy9H4yuwlXycs2bQkk=; h=Date:From:Subject:To:Message-Id:MIME-Version:Content-Type; b=GHFGvwDya+d8qIH3gOF2G9IQ8J7AAIBmaZLnjkgMtrJTlHr8xYoSE/Uq0bYpMMLXJ VaFGK/LWxbbkZzgLNkSZDwjXjpbdK34Q0kllCvyQNTY7KgFDqajMipWbZp2LbEa7Fy aaulXT4J9pLPjlNDdZsXBo1mr3ly3gbPpqVyCVYQ= X-Spamd-Result: default: False [-1.61 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.981]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[interia.pl,none]; RWL_MAILSPIKE_EXCELLENT(-0.40)[217.74.67.63:from]; R_DKIM_ALLOW(-0.20)[interia.pl:s=dk]; R_SPF_ALLOW(-0.20)[+ip4:217.74.64.0/22]; NEURAL_SPAM_MEDIUM(0.17)[0.167]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_ZERO(0.00)[0]; SUSPICIOUS_AUTH_ORIGIN(0.00)[]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; FREEMAIL_FROM(0.00)[interia.pl]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[interia.pl]; TAGGED_RCPT(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; HAS_XOIP(0.00)[]; ASN(0.00)[asn:16138, ipnet:217.74.64.0/22, country:PL]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[interia.pl:dkim]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[interia.pl:+]; TO_DN_ALL(0.00)[] X-Rspamd-Queue-Id: 4g2S9X1XsTz3hnV X-Spamd-Bar: - Hi. Temat: bsdinstall no longer uses BSDINSTALL_DISTDIR? Data: 2026-04-25 0:10 Nadawca: "Rick Macklem" Adresat: "FreeBSD CURRENT" ; > (...) > I don't know if this is a bug or feature, but bsdinstall no longer > seems to recognize BSDINSTALL_DISTDIR and tries to download > the tarballs, even when this is set. > > This is a bother for snapshots, since the tarballs get replaced > frequently and, for jails, I want the install in the jail to be the > same as the parent system. > > rick Recently I needed to build FreeBSD VM images from custom source tree ... I tried 'release.sh' from /usr/src/release ... but it disappointed me a lot. Then I started to create my own verimg(8) solution and one of the steps was unattended way of using bsdinstall(8) to 'bootstrap' a PKGBASE FreeBSD system ... while it worked in 'kinda' way it was not flexible and installed PKGBASE sets that I did not wanted when used in unattended way. There is also poudriere-image(8) but it has other issues. This is where verimg(8) strength is. You can fetch the source and build FreeBSD and then 'populate' it into a VM image or just a /mnt dir on a bare metal host ... both are supported. ... and You can just fetch the source yourself then build the FreeBSD 'userland' and 'kernel' by hand and tell verimg(8) to just 'populate' (or bootstrap) new PKGBASE FreeBSD system into new /mnt (or different place) or in a VM image. Details: - https://vermaden.wordpress.com/2026/04/15/freebsd-image-builder-installer-verimg-tool/ - https://github.com/vermaden/verimg Regards, vermaden