From owner-freebsd-current@freebsd.org Sat Mar 13 10:05:29 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 83027571729 for ; Sat, 13 Mar 2021 10:05:29 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from maybe.home.utahime.org (gate.home.utahime.org [183.180.29.210]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4DyJGJ1Twtz4fjg for ; Sat, 13 Mar 2021 10:05:27 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by maybe.home.utahime.org (Postfix) with ESMTPS id 6DE542F5CB for ; Sat, 13 Mar 2021 19:05:17 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=utahime.org; s=maybe2019112701; t=1615629917; bh=YakW5tzXKxC2lddy9MToERa0mWc3wKDoHkAJx6crk+U=; h=Date:To:Subject:From:In-Reply-To:References; b=obHoGN9yaHrjkp8GWHYDsw2HwmZpdoCNgKPRHQajUElleCO/2rpxh2i22U6denDfp sDbeNIEx7An8rYv7ulDP7Ti/7DZcvWPwrVCHdgRRydjee15XyYZmvzmnUG2cWlBpD5 w7hhinV9C1crZAj00Pb1xOIPZMgoyJRLo2waIzLra1/fFgUudibl+BIBQ7tQVHqn4F Ps+MouMY4zMfo8ZBs8+HxMNZAxue+xUXA8hXC8+BsKp3A5ntpizUGiylMXTPZOQ55u WaYM2XayppM0xNeC5+K0cBP2Q6sTMW8gXV3bJf6QeumGUoGP1btZhC3NUX4xWQITt9 HHSNcv5iy9/Gw== Received: from localhost (rolling.home.utahime.org [192.168.174.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by eastasia.home.utahime.org (Postfix) with ESMTPSA id A444234B33; Sat, 13 Mar 2021 19:05:15 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.1 at eastasia.home.utahime.org Date: Sat, 13 Mar 2021 19:04:36 +0900 (JST) Message-Id: <20210313.190436.692007261153478069.yasu@utahime.org> To: freebsd-current@freebsd.org Subject: Re: poudriere jail: specific commit From: Yasuhiro Kimura In-Reply-To: References: X-Mailer: Mew version 6.8 on Emacs 27.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DyJGJ1Twtz4fjg X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=utahime.org header.s=maybe2019112701 header.b=obHoGN9y; dmarc=none; spf=pass (mx1.freebsd.org: domain of yasu@utahime.org designates 183.180.29.210 as permitted sender) smtp.mailfrom=yasu@utahime.org X-Spamd-Result: default: False [-0.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+a:spf-authorized.utahime.org]; TO_DN_NONE(0.00)[]; HFILTER_HELO_IP_A(1.00)[maybe.home.utahime.org]; HFILTER_HELO_NORES_A_OR_MX(0.30)[maybe.home.utahime.org]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[utahime.org:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[183.180.29.210:from]; ASN(0.00)[asn:2519, ipnet:183.180.0.0/16, country:JP]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[utahime.org:s=maybe2019112701]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.1.226.64:email]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[utahime.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[183.180.29.210:from:127.0.2.255]; DBL_PROHIBIT(0.00)[0.1.226.64:email]; MID_CONTAINS_FROM(1.00)[]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2021 10:05:29 -0000 From: Nuno Teixeira Subject: poudriere jail: specific commit Date: Sat, 13 Mar 2021 09:49:50 +0000 > I'm running 14.0-CURRENT #0 fb3edd4f3 and I need a poudriere jail with same > commit fb3edd4f3. > > porters handbook says: > --- > If a specific Subversion revision is needed, append it to the version > string. For example: > > # poudriere jail -c -j 11i386 -v stable/11@123456 -a i386 -m svn+https > --- > How can I tell poudriere to fetch git commit fb3edd4f3? > > I'm asking this because I need poudriere testport, and I will like that > jailed version is same as installed OS. > > Thanks, You updated your host OS to 14.0-CURRENT fb3edd4f3 with regular steps described in /usr/src/Makefile. Right? If so you can create jail of same commit as host with following command. # poudriere jail -c -j jailname -m src=/usr/src In this case files under /usr/obj are used to create jail. So you need not do 'make buildworld' again for jail. --- Yasuhiro Kimura