From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CC2111384AE for ; Sun, 20 Sep 2015 16:47:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C701F21C00E; Sun, 20 Sep 2015 16:47:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4997221C008 for ; Sun, 20 Sep 2015 16:47:08 +0000 (UTC) Received: from [192.168.0.13] (ip174-67-205-96.oc.oc.cox.net [174.67.205.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: zmedico) by smtp.gentoo.org (Postfix) with ESMTPSA id 10CA7340813 for ; Sun, 20 Sep 2015 16:47:07 +0000 (UTC) Subject: Re: [gentoo-portage-dev] Portage questions To: gentoo-portage-dev@lists.gentoo.org References: <1442409220.32234.28.camel@transmode.se> From: Zac Medico X-Enigmail-Draft-Status: N1110 Message-ID: <55FEE308.4070207@gentoo.org> Date: Sun, 20 Sep 2015 09:47:04 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <1442409220.32234.28.camel@transmode.se> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Archives-Salt: c2aad664-52f2-4676-9808-ba2a4777aed5 X-Archives-Hash: 52feed47f84153156bf51a553b5ef0a1 On 09/16/2015 06:13 AM, Joakim Tjernlund wrote: > 1) > Is there a way to generate a snapshot of an installed portage VDB and then later > compare that snapshot against the current VDB and generate a list of > added/updated packages? This command will generate a flat file that is useful for comparisons with diff -u: qlist -IvCURS | LC_ALL=C sort > 2) > Currently we generate a tar file with binary pkgs containing all updated pkgs, > unpack the tar file and emerge the binary pkgs with emerge --usepkgonly ... > into a new ROOT. This works but that misses any updates to the profile(both gentoo and our own). > > To fix that we include a copy of both profiles in the tar file and copy our > updated profiles into the new ROOT profiles before merging. This feels a bit > clumsy and I wonder if there is a better way? > > Jocke > Like Duncan said, I feel like we're missing some context here. I wonder why you use binary packages instead of a full system image, considering that it's a "new ROOT." -- Thanks, Zac