From nobody Thu Apr 16 09:34:50 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 4fxCXk3cl7z6ZK0Y; Thu, 16 Apr 2026 09:35:02 +0000 (UTC) (envelope-from vermaden@interia.pl) Received: from smtpo75.interia.pl (smtpo75.interia.pl [217.74.67.75]) (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 4fxCXk17wlz3H22; Thu, 16 Apr 2026 09:35:02 +0000 (UTC) (envelope-from vermaden@interia.pl) Authentication-Results: mx1.freebsd.org; none Date: Thu, 16 Apr 2026 11:34:50 +0200 From: vermaden Subject: Re: Building VM-IMAGE(s) from Source To: Maku Bex Cc: "freebsd-stable@FreeBSD.org" , "freebsd-hackers@FreeBSD.org" , 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=1776332093; bh=1uDiMBzrWgM6sBoQqX881WRZN9D4vFi7L49OzLWz2us=; h=Date:From:Subject:To:Message-Id:MIME-Version:Content-Type; b=VM3fwgnjXEA5jujnsBvYoDR020fnB0DXjq5LTRZOwZ5mUDVcywqCSPlJDdYXMNSLI oFxnqNZ/tBH3sCsMSmHq3gyE4mbviKV6HviksZ3JclMblQhuSt/IXW8QIlBEx5tS3w c2Rm1kSyL1nwfJMQADheTnmMaQvn2H0kL6V4Kcbk= X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16138, ipnet:217.74.64.0/22, country:PL] X-Rspamd-Queue-Id: 4fxCXk17wlz3H22 X-Spamd-Bar: ---- Thank You. The 'release/15' was my early error - I later switched to 'releng/15.0' ... the fetching of source was not a problem ... but I also needed to set these two in the /usr/src/release/config.conf to 'see' what is fetched because by default they are silenced with '-q' option and the only way to see 'something' is happening is either checking with ps(1) on other terminal or ^T for status w/o them. GITCMD="/usr/local/bin/git clone" VCSCMD="/usr/local/bin/git clone" ... and if fetching failed ... the 'release.sh' thrown very 'strange' errors - like these: root@release:/usr/src/release # ./release.sh -c proxy.conf load: 0.10 cmd: git 37073 [piperd] 9.59r 0.04u 0.06s 0% 11192k load: 0.05 cmd: git 37076 [piperd] 432.96r 17.20u 3.23s 4% 334472k load: 0.26 cmd: git 37076 [piperd] 808.76r 29.21u 5.59s 3% 360796k error: RPC failed; curl 56 Recv failure: Connection reset by peer error: 1054 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output umount: /usr/obj/chroot/dev: statfs: No such file or directory umount: /usr/obj/chroot/dev: unknown file system So fetching was 'covered' - the building was problematic part ... but I do not want to 'spam' these MLs with long error messages as I already found peace with verimg(8) tool. Regards, vermaden Temat: Re: Building VM-IMAGE(s) from Source Data: 2026-04-16 3:44 Nadawca: "Maku Bex" Adresat: "vermaden" ; DW: "freebsd-stable@FreeBSD.org" ; "freebsd-hackers@FreeBSD.org" ; "FreeBSD Current" ; > Vermaden, > > Very useful script! Thx. > > Also, I noticed that your custom.conf contains "release/15" > instead of "releng/15" as a source branch. I'm confident > you're aware there is no "release/15" branch on the git repo > so you probably just added it subconsciously. It happens > when working with FreeBSD (it always tends to push you > beyond the limits). > > Happy hacking /#\ > > On Wed, Apr 15, 2026, 05:26 vermaden wrote: > >> I was not able to get 'release.sh' to success even a single time >> - it always failed with different errors - the 'help' I received here >> also did not pushed things forward ... so I wrote my own >> verimg(8) tool for similar things as 'release.sh' does. >> >> Here are the details: >> - https://vermaden.wordpress.com/2026/04/15/freebsd-image-builder-installer-verimg-tool/ >> >> Here is the verimg(8) repo: >> - https://github.com/vermaden/verimg >> >> Maybe someone will find that useful. >> >> Regards, >> vermaden