Commit Graph

13 Commits

Author SHA1 Message Date
Yi Zhao
95113a29c7 rpm: remove PACKAGECONFIG[selinux]
Drop PACKAGECONFIG[selinux] as it was added to rpm recipe in oe-core[1].

[1] https://git.openembedded.org/openembedded-core/commit/?id=38549d462b399e3a63335f60a44c8bbced98639a

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2024-02-27 12:30:20 -05:00
Yi Zhao
31325005e4 classes: drop redundant classes
There are some redundant classes: enable-selinux.bbclass,
with-selinux.bbclass, meson-enable-selinux.bbclass,
meson-selinux.bbclass, enable-audit.bbclass, with-audit.bbclass.
These classes only add PACKAGEOCNFIG[selinux]/[audit] to recipes. But
currently most recipes have added PACKAGECONFIG[selinux]/[audit] in
their bb files. We don't need these anymore. Only keep
enable-selinux.class and enable-audit.class to append
PACKAGECONFIG[selinux]/[audit] for recipes.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2021-08-29 21:34:22 -04:00
Mark Hatle
4fefe83c32 Refactor to conform to YP Compat requirements
Change the references to check for the distribution flag of 'selinux' being
set before taking any action within the bbappends.  This prevents the
signature from being modified.

Also remove PR changes, as they are no longer allowed.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2017-09-14 08:29:01 -05:00
Dengke Du
49394d2544 rpm: modify the rpm bbappend file to suitable for rpm4
Changed in V5:
	Let the subject more clear.

Changed in V4:
	Make the comments more clear.
Changed in V3:
	Rebase the patch on the latest master branch.

Delete the does not exist files when run task do_package.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-05-16 07:55:51 -04:00
Joe MacDonald
60ec38e8fa minimum build changes
Not intended as a final patch, this is just a quick hack for master-next
to enable building meta-selinux on current yocto base images.

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-04-27 14:57:27 -04:00
Philip Tricca
f0e3eb60da rpm: Upgrade to version 5.4.16, rebase SELinux build patch.
Signed-off-by: Philip Tricca <flihp@twobit.us>
2016-03-16 05:11:20 +00:00
Chong Lu
a6cf3ea3aa rpm: remove PR
Remove PR, since oe-core has a new version.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Xin Ouyang <xin.ouyang@windriver.com>
2014-08-28 17:07:07 +08:00
Xin Ouyang
7cf4161798 rpm: bbappend to 5.4.14 to fit oe-core
Signed-off-by: Xin Ouyang <xin.ouyang@windriver.com>
2014-07-14 09:54:38 +08:00
Xin Ouyang
21cfb8ba36 rpm: inherit with-selinux
We should also enable selinux only for target rpm, so inherit
with-selinux.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2013-01-29 15:26:03 +08:00
Xin Ouyang
11c4922a3d rpm: fix depend for selinux enabled
The depends should be:
libsepol -> libselinux -> libsemanage -> rpm

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-08-21 16:18:05 +08:00
Xin Ouyang
29d7a3e304 Revert "rpm: fix patch not found bug with old oe-core."
This reverts commit b1c47e8985.
2012-07-19 14:56:44 +08:00
Xin Ouyang
b1c47e8985 rpm: fix patch not found bug with old oe-core.
NOTE: package rpm-native-5.4.9-r44.1: task do_fetch: Started
ERROR: Error executing a python function in
.../meta/recipes-devtools/rpm/rpm_5.4.9.bb:
IOError: [Errno 2] No such file or directory:
'.../rpm-fix-build-bug.patch'

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-07-03 18:08:12 +08:00
Xin Ouyang
6975e78270 rpm: Build with selinux support.
Acked-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-06-28 10:41:58 +08:00