rpm: remove incorrect packageconfig spec
PATCH 1/1 rpm: remove incorrect packageconfig spec
As of recent recipe versions, this layer's bbappend fails rpm-native recipe configuration, with an error that --with-selinux is an invalid flag.
OE-core's upstream rpm recipe uses cmake flags to enable/disable features, including selinux support. The upstream recipe already has a PACKAGECONFIG[selinux] spec which uses the correct cmake terms.
Remove this layer's attempt at using the old flag style.
--- recipes-devtools/rpm/rpm_selinux.inc | 1 - 1 file changed, 1 deletion(-)
recipes-devtools/rpm/rpm_selinux.inc +0 -1
@@ -1,2 +1 @@ inherit enable-selinux -PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
Signature · 1 line
2.43.0
Retracted.
I neglected to check the list before posting this and didn't realize that Denys D. already had a duplicate patch [1]. My mistake.
[1] https://lists.yoctoproject.org/g/yocto/message/62421
Quoted 22 lines · Alex Stewart
As of recent recipe versions, this layer's bbappend fails rpm-native recipe configuration, with an error that
--with-selinuxis an invalid flag.OE-core's upstream rpm recipe uses cmake flags to enable/disable features, including selinux support. The upstream recipe already has a PACKAGECONFIG[selinux] spec which uses the correct cmake terms.
Remove this layer's attempt at using the old flag style.
Signed-off-by Alex Stewart <[email protected]>--- recipes-devtools/rpm/rpm_selinux.inc | 1 - 1 file changed, 1 deletion(-)recipes-devtools/rpm/rpm_selinux.inc +0
-1@@ -1,2 +1 @@ inherit enable-selinux -PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
Signature · 5 lines
Alex Stewart Software Engineer - NI Real-Time OS NI (National Instruments) [email protected]