Skip to contentSkip to conversation

Command to get info about packagegroup used in image ?

DISCUSSION Ashishx88 2 participants 3 messages Apr 10, 2020 – Apr 14, 2020

lore
Share & tools
lore

Ashishx88

author
#0 lore raw

Hi All ,

Is there any command or way to track the packagegroup being used in any image ?

Scenario:
Say we have an IMAGE which makes use of  packagegroup-core-"X" & this internally uses  packagegroup-core-"Y" which adds package-1,package2 etc to image. Is there any command or mechanism by which we can know this info without manually going through each  packagegroup-core-FILE

Idea is to know which package the  packagegroup-core-FILE will add to image .

Thanks
Ashish

#1 lore raw

Hi,

Quoted 7 lines · On Fri, Apr 10, 2020 at 02:48:23AM -0700, Ashishx88 wrote:

Is there any command or way to track the packagegroup being used in any image ?

Scenario:
Say we have an IMAGE which makes use of  packagegroup-core-"X" & this internally uses  packagegroup-core-"Y" which adds package-1,package2 etc to image. Is there any command or mechanism by which we can know this info without manually going through each  packagegroup-core-FILE

Idea is to know which package the  packagegroup-core-FILE will add to image .

I use buildhistory for this. Add to local.conf:

INHERIT += "buildhistory"
BUILDHISTORY_COMMIT = "1"

build the image and check the output in buildhistory/images/*
You can also see the RDEPENDS of every packagegroup in buildhistory/packages/*.

Hope this helps,

-Mikko

author
#2 lore raw

Thanks  Mikko.
Will try the suggestion