From owner-freebsd-current@freebsd.org Sat Mar 13 10:57:39 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 5C764572CF1 for ; Sat, 13 Mar 2021 10:57:39 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DyKQW29f0z4jQl for ; Sat, 13 Mar 2021 10:57:39 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 3330D1BFB for ; Sat, 13 Mar 2021 10:57:39 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-ed1-f46.google.com with SMTP id dm8so11526339edb.2 for ; Sat, 13 Mar 2021 02:57:39 -0800 (PST) X-Gm-Message-State: AOAM533YSm/FGr+v3BQrE0nkxAdgA+Q5ijDxeYevGHxHLCxHeKITJIcN qxMA1aufmt6nglsuFeXGCZKyK3UGZDme2jlVmAs= X-Google-Smtp-Source: ABdhPJyvFtsCvzk+kzG5OYZ746ltdm/V+TKtRO0lM3/CdaVHfHUysQdOqYFlhsCI/HO44Pb5aRh67+hWXWC01dB7VHI= X-Received: by 2002:a50:fe06:: with SMTP id f6mr19498500edt.349.1615633058080; Sat, 13 Mar 2021 02:57:38 -0800 (PST) MIME-Version: 1.0 References: <20210313.190436.692007261153478069.yasu@utahime.org> In-Reply-To: <20210313.190436.692007261153478069.yasu@utahime.org> From: Nuno Teixeira Date: Sat, 13 Mar 2021 10:57:27 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: poudriere jail: specific commit To: freebsd-current@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 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:57:39 -0000 And next time I upgrade my host OS should this command work? # poudriere jail -u -j jailname -m src=3D/usr/src Yasuhiro Kimura escreveu no dia s=C3=A1bado, 13/03/2021 = =C3=A0(s) 10:05: > 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=3D/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 > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " >