Removing package-management from conf/local, still yocto create packages


majid.nasiry65@...
 

Hi
Thank you for your supportingĀ 
I don't use packages (dep, rmp, ipk) in my project and I want disable making packages by yocto because it's take storage and time.
I delete EXTRA_IMAGE_FEATURES += "package-management" from my conf/local file but it's not worked for me and yocto is creating packages.

Please tell me how can I do this? Is package manager required any way?


Quentin Schulz
 

Hi,

On December 3, 2022 10:06:20 AM GMT+01:00, majid.nasiry65@... wrote:
Hi
Thank you for your supporting
I don't use packages (dep, rmp, ipk) in my project and I want disable making packages by yocto because it's take storage and time.
I delete EXTRA_IMAGE_FEATURES += "package-management" from my conf/local file but it's not worked for me and yocto is creating packages.

Please tell me how can I do this? Is package manager required any way?
Yocto creates your root filesystem out of packages. It basically run apt/opkg/rpm locally to create this filesystem with the packages Bitbake created. As such, those packages are required and an essential part of the build system. You find those packages in build/tmp/deploy/{ipk/deb/rpm}/ if I remember correctly.

What you removed is the ability to run apt/opkg/rpm from your running target to install packages at runtime. Which is a different thing. Also a friendly reminder than it's not because you have apt/opkg/rpm that you can install packages from Debian/OpenWRT/Fedora/etc.. package feeds.

Cheers,
Quentin