* Re: [gentoo-portage-dev] Installed pkg list in dependency order ?
@ 2021-06-16 9:43 99% ` Michał Górny
0 siblings, 0 replies; 1+ results
From: Michał Górny @ 2021-06-16 9:43 UTC (permalink / raw
To: gentoo-portage-dev
On Mon, 2021-06-14 at 15:16 +0000, Joakim Tjernlund wrote:
> Hi
>
> I need to generate a pkg list from an uptodate gentoo system too feed this list into qmerge
> so qmerge can install these pkgs in correct order.
>
> Tried emerge -e but that list is not in dep order, seems to be just a list with pkgs to rebuild.
>
You could try reusing the code I've written for nattka:
https://github.com/mgorny/nattka/blob/master/nattka/depgraph.py
https://github.com/mgorny/nattka/blob/master/nattka/__main__.py#L300
Note that it's a just a cheap effort, and it e.g. will order randomly
when it hits circular deps.
--
Best regards,
Michał Górny
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2021-06-14 15:16 [gentoo-portage-dev] Installed pkg list in dependency order ? Joakim Tjernlund
2021-06-16 9:43 99% ` Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox