> ________________________________________ > From: [email protected] > <[email protected]> on behalf of Jaeyoon Jung (LGE) > via lists.openembedded.org <[email protected]> > Sent: Wednesday, February 12, 2026 22:08 > To: Richard Purdie <[email protected]>; > [email protected] > <[email protected]>; [email protected] > <[email protected]> > Subject: Re: [OE-core] [PATCH] systemd: fix libsystemd LICENSE for multilib > > > From: [email protected] > > <[email protected]> on behalf of Chen Qi via > > lists.openembedded.org <[email protected]> > > Sent: Tuesday, February 10, 2026 18:53 > > To: 정재윤/Task Leader/SW Platform(연)선행Platform개발실 Lightweight System Task > > <[email protected]>; Richard Purdie > > <[email protected]>; > > [email protected] > > <[email protected]> > > Subject: Re: [OE-core] [PATCH] systemd: fix libsystemd LICENSE for multilib > > > > Hi Jaeyoon, > > > > I checked the related codes with PACKAGES_DYNAMIC in multilib.bbclass and > > package.bbclass. > > I suspect that it's the do_split_packages function in package.bbclass that > > needs to be fixed. > > This function may also need to use rename_package_variables on the > > dynamically generated packages. > > You can refer to the multilib_virtclass_handler_postkeyexp function in > > multilib.bbclass. Note that LICENSE is already in "PACKAGEVARS". > > Could you please check if the above method works? > > > > Regards, > > Qi > > > > Hi Qi, > > Thank you for your review, and yes, it works! > As you guessed, the package in trouble 'libsystemd' is being added to > 'PACKAGES' later in do_split_packages. Calling rename_package_variables > after that fixes the issue. > By the way I found a side effect on libpam likely due to this fix: > | ERROR: lib32-libpam-1.5.3-r0 do_package: QA Issue: lib32-libpam: > Files/directories were installed but not shipped in any package: > | /usr/lib/security/pam_env.so > | Please set FILES such that these items are packaged. Alternatively if they > are unneeded, avoid installing them or delete them within do_install. > | lib32-libpam: 1 installed and not shipped files. [installed-vs-shipped] > I don't get why it fails for now. Will take a look a bit more and also > check if it's fine in other do_split_packages use cases.
Found that the issue was because FILES variable was also overwritten which isn't supposed to be. Sent a new patch that adds an option for rename_package_variables whether to overwrite a variable or not and calls it from do_split_packages with that option disabled. https://lists.openembedded.org/g/openembedded-core/message/231024 --- Jaeyoon Jung Software Platform Lab. / Corporate R&D / LG Electronics Inc.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#231025): https://lists.openembedded.org/g/openembedded-core/message/231025 Mute This Topic: https://lists.openembedded.org/mt/117733881/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
