Discussion:
[yocto] Packages in packagegroup are not installed in image
Ng, Mei Yeen
2015-07-15 17:40:23 UTC
Permalink
Hi,

I need help for issue where packages in packagegroup that compiles perfectly fine with core-images, but when verified in the image, they are not installed for some reason.
My understanding was that packages listed under RDEPENDS in the packagegroup would get compiled and installed.

Some packages would appear in 1 image and then disappear in the next compiled image.
I'm seeing this when compiling with core-image-full-cmdline and core-image-sato.

I have attached the following package group created:

- graphics package group- ldd would not be installed in the image

- build essentials extended package group - gdb were not install, gcc and mkdosfs will intermittently not install into the image

Any help to shed some light on this is very much appreciated.

Thanks,
MY
Randy Witt
2015-07-23 17:59:39 UTC
Permalink
Hi Mei,
Post by Ng, Mei Yeen
Hi,
I need help for issue where packages in packagegroup that compiles perfectly fine with core-images, but when verified in the image, they are not installed for some reason.
My understanding was that packages listed under RDEPENDS in the packagegroup would get compiled and installed.
Some packages would appear in 1 image and then disappear in the next compiled image.
I'm seeing this when compiling with core-image-full-cmdline and core-image-sato.
- graphics package group- ldd would not be installed in the image
- build essentials extended package group - gdb were not install, gcc and mkdosfs will intermittently not install into the image
Could you perhaps provide the recipe that creates the package group and show how
you are adding the package group to the image?
Post by Ng, Mei Yeen
Any help to shed some light on this is very much appreciated.
Thanks,
MY
--
Randy Witt
2015-07-23 18:01:46 UTC
Permalink
Post by Randy Witt
Hi Mei,
Post by Ng, Mei Yeen
Hi,
I need help for issue where packages in packagegroup that compiles perfectly
fine with core-images, but when verified in the image, they are not installed
for some reason.
My understanding was that packages listed under RDEPENDS in the packagegroup
would get compiled and installed.
Some packages would appear in 1 image and then disappear in the next compiled image.
I'm seeing this when compiling with core-image-full-cmdline and core-image-sato.
- graphics package group- ldd would not be installed in the image
- build essentials extended package group - gdb were not install, gcc
and mkdosfs will intermittently not install into the image
Could you perhaps provide the recipe that creates the package group and show how
you are adding the package group to the image?
Sorry I hit send too quickly, I saw the package group recipe, I just was curious
how you are adding them to the image. Sorry.
Post by Randy Witt
Post by Ng, Mei Yeen
Any help to shed some light on this is very much appreciated.
Thanks,
MY
--
Ng, Mei Yeen
2015-08-25 02:20:09 UTC
Permalink
Hi Randy,

The packagegroups is added into the image as below:

1) Create a bbappend of the image core-image-full-cmdline.bbappend in our new layer
2) In the core-image-full-cmdline.bbappend, enable the following lines:

DESCRIPTION = "Custom list of packages for build essentials for commandline image"

IMAGE_INSTALL += "packagegroup-core-buildessential-extended"
IMAGE_INSTALL += "packagegroup-core-devtools"

3) Update the local.conf to include EXTRA_IMAGE_FEATURES = "debug-tweaks tools-testapps tools-debug"

Thanks,
MY

-----Original Message-----
From: Randy Witt [mailto:***@linux.intel.com]
Sent: Friday, July 24, 2015 2:00 AM
To: Ng, Mei Yeen; ***@yoctoproject.org
Cc: Hart, Darren; Witt, Randy E
Subject: Re: [yocto] Packages in packagegroup are not installed in image

Hi Mei,
Post by Ng, Mei Yeen
Hi,
I need help for issue where packages in packagegroup that compiles perfectly fine with core-images, but when verified in the image, they are not installed for some reason.
My understanding was that packages listed under RDEPENDS in the packagegroup would get compiled and installed.
Some packages would appear in 1 image and then disappear in the next compiled image.
I'm seeing this when compiling with core-image-full-cmdline and core-image-sato.
- graphics package group- ldd would not be installed in the image
- build essentials extended package group - gdb were not install, gcc and mkdosfs will intermittently not install into the image
Could you perhaps provide the recipe that creates the package group and show how you are adding the package group to the image?
Post by Ng, Mei Yeen
Any help to shed some light on this is very much appreciated.
Thanks,
MY
--
Randy Witt
2015-08-25 20:04:46 UTC
Permalink
Post by Ng, Mei Yeen
Hi Randy,
1) Create a bbappend of the image core-image-full-cmdline.bbappend in our new layer
DESCRIPTION = "Custom list of packages for build essentials for commandline image"
IMAGE_INSTALL += "packagegroup-core-buildessential-extended"
IMAGE_INSTALL += "packagegroup-core-devtools"
Could you try using _append like below, and see if that gives you the
consistency you want?

IMAGE_INSTALL_append = " packagegroup-core-buildessential-extended"
IMAGE_INSTALL_append = " packagegroup-core-devtools"
Post by Ng, Mei Yeen
3) Update the local.conf to include EXTRA_IMAGE_FEATURES = "debug-tweaks tools-testapps tools-debug"
Thanks,
MY
-----Original Message-----
Sent: Friday, July 24, 2015 2:00 AM
Cc: Hart, Darren; Witt, Randy E
Subject: Re: [yocto] Packages in packagegroup are not installed in image
Hi Mei,
Post by Ng, Mei Yeen
Hi,
I need help for issue where packages in packagegroup that compiles perfectly fine with core-images, but when verified in the image, they are not installed for some reason.
My understanding was that packages listed under RDEPENDS in the packagegroup would get compiled and installed.
Some packages would appear in 1 image and then disappear in the next compiled image.
I'm seeing this when compiling with core-image-full-cmdline and core-image-sato.
- graphics package group- ldd would not be installed in the image
- build essentials extended package group - gdb were not install, gcc and mkdosfs will intermittently not install into the image
Could you perhaps provide the recipe that creates the package group and show how you are adding the package group to the image?
Post by Ng, Mei Yeen
Any help to shed some light on this is very much appreciated.
Thanks,
MY
--
Ng, Mei Yeen
2015-09-30 04:09:29 UTC
Permalink
Randy,

It works perfectly now. :)
Thanks so much for your advice.

Warm regards,
Mei Yeen

-----Original Message-----
From: Randy Witt [mailto:***@linux.intel.com]
Sent: Wednesday, August 26, 2015 4:05 AM
To: Ng, Mei Yeen; ***@yoctoproject.org
Cc: Hart, Darren; Witt, Randy E
Subject: Re: [yocto] Packages in packagegroup are not installed in image
Post by Ng, Mei Yeen
Hi Randy,
1) Create a bbappend of the image core-image-full-cmdline.bbappend in our new layer
DESCRIPTION = "Custom list of packages for build essentials for commandline image"
IMAGE_INSTALL += "packagegroup-core-buildessential-extended"
IMAGE_INSTALL += "packagegroup-core-devtools"
Could you try using _append like below, and see if that gives you the consistency you want?

IMAGE_INSTALL_append = " packagegroup-core-buildessential-extended"
IMAGE_INSTALL_append = " packagegroup-core-devtools"
Post by Ng, Mei Yeen
3) Update the local.conf to include EXTRA_IMAGE_FEATURES = "debug-tweaks tools-testapps tools-debug"
Thanks,
MY
-----Original Message-----
Sent: Friday, July 24, 2015 2:00 AM
Cc: Hart, Darren; Witt, Randy E
Subject: Re: [yocto] Packages in packagegroup are not installed in image
Hi Mei,
Post by Ng, Mei Yeen
Hi,
I need help for issue where packages in packagegroup that compiles perfectly fine with core-images, but when verified in the image, they are not installed for some reason.
My understanding was that packages listed under RDEPENDS in the packagegroup would get compiled and installed.
Some packages would appear in 1 image and then disappear in the next compiled image.
I'm seeing this when compiling with core-image-full-cmdline and core-image-sato.
- graphics package group- ldd would not be installed in the image
- build essentials extended package group - gdb were not install, gcc and mkdosfs will intermittently not install into the image
Could you perhaps provide the recipe that creates the package group and show how you are adding the package group to the image?
Post by Ng, Mei Yeen
Any help to shed some light on this is very much appreciated.
Thanks,
MY
--

Loading...