- Aug 05, 2019
-
-
Dennis Cagle authored
Snap meta-selinux to yocto thud branch Adds commits ranging from: b1dac7e2 ("policycorutils: package files in base_sbindir.") fb6192aa ("refpolicy: Forward patch to apply cleanly on thud") Change-Id: I4fa7b6fef67fdc9d98af76a07ae80121c048f9cf
-
Dennis Cagle authored
This reverts commit 461597dc. Change-Id: I35760a3b0d87b63738120217c4870eb85eb02f40
-
- Feb 27, 2019
-
-
Khem Raj authored
Also fix devtool generated warnings by refreshing patches Signed-off-by:
Khem Raj <raj.khem@gmail.com> Signed-off-by:
Joe MacDonald <joe@deserted.net>
-
- Nov 13, 2018
-
-
Dennis Cagle authored
Change-Id: Iece97b767a934b3960aa52aef0833ddd3d420c62
-
Dennis Cagle authored
Change-Id: I84eb2eb28c8edc2255f512625459d259a101a42b
-
- Oct 30, 2018
-
-
Joe MacDonald authored
Signed-off-by:
Joe MacDonald <joe@deserted.net>
-
Awais Belal authored
Using AUTOREV in the main repository has its downsides. 1. The checked out version isn't actually the version depicted by PV. 2. Breaks builds in scenarios where network isn't available or BB_NO_NETWORK is used even after sources are already fetched. 1 is self explanatory, for 2 whenever SRCREV is set to AUTOREV and SRCPV is used in PV the fetcher tries to access the network in order to determine SRCPV (bb.fetch2.get_srcrev) and fails for obvious reasons during parsing even when versioned recipes are used as PREFERRED_VERSION because parsing still happens for recipes that are in BB's search paths and we see. Traceback (most recent call last): bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception NetworkAccess: Network access disabled through BB_NO_NETWORK (or set indirectly due to use of BB_FETCH_PREMIRRORONLY) but access requested with command git -c core.fsyncobjectfiles=0 ls-remote git://github.com/TresysTechnology/refpolicy.git (for url git://github.com/TresysTechnology/refpolicy.git ) So we lock the REVs and do that with a soft assignment which allows overriding the REVs from elsewhere. Signed-off-by:
Awais Belal <awais_belal@mentor.com> Signed-off-by:
Joe MacDonald <joe@deserted.net>
-
Chen Qi authored
In case of the existence of meta-mingw, the library is .dll instead of .so and these .dll files are in ${bindir}. We need to check the existence of the .so file before doing readlink, otherwise do_install fails. Signed-off-by:
Chen Qi <Qi.Chen@windriver.com> Signed-off-by:
Joe MacDonald <joe@deserted.net>
-
Piotr Tworek authored
Musl libc does not implement file traversal functions from fts.h. Oe-core provides fts library which implements those. Libselinux makefile allows us to use such additional library by specifying required linker flags via FTS_LDLIBS variable. Signed-off-by:
Piotr Tworek <tworaz666@gmail.com> Signed-off-by:
Joe MacDonald <joe@deserted.net>
-
Piotr Tworek authored
The package needs logging, json and argparse modules to start. Additionaly, it also needs libselinux-python in order to really work. Without it it'll just print an error message instructing the user to install it. Signed-off-by:
Piotr Tworek <tworaz666@gmail.com> Signed-off-by:
Joe MacDonald <joe@deserted.net>
-
Hongxu Jia authored
Since `9ec5a8a layer.conf: Drop sumo from LAYERSERIES_CORENAMES' and `9867924 layer.conf: Add thud to LAYERSERIES_CORENAMES' applied in oe-core, update LAYERSERIES_COMPAT `sumo' -> `thud' Signed-off-by:
Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by:
Joe MacDonald <joe@deserted.net>
-
- Sep 11, 2018
-
-
Dennis Cagle authored
Remove the meta-python dependency since setools is no longer installed on target. Change-Id: I68006cf91151b9ed8af5b27ddf7d9287a83fe91d
-
- Sep 09, 2018
-
-
Eric Chanudet authored
SBINDIR was changed to ${base_sbindir} in commit: 8cc9c17d policycoreutils: fix installed-but-not-shipped on updated recipes FILES_${PN}-* must now capture files installed in ${base_sbindir} accordingly. Signed-off-by:
Eric Chanudet <chanudete@ainfosec.com> Signed-off-by:
Joe MacDonald <joe@deserted.net>
-
- Sep 07, 2018
-
-
Joe MacDonald authored
Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
Yi Zhao authored
Add aarch64 support Signed-off-by:
Yi Zhao <yi.zhao@windriver.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
Yi Zhao authored
Remove package semodule-utils-semodule-deps as it had been removed upstream. Signed-off-by:
Yi Zhao <yi.zhao@windriver.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
Yi Zhao authored
Signed-off-by:
Yi Zhao <yi.zhao@windriver.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
Yi Zhao authored
Signed-off-by:
Yi Zhao <yi.zhao@windriver.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
Yi Zhao authored
Remove package semodule-deps as it had been removed upstream. Signed-off-by:
Yi Zhao <yi.zhao@windriver.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
Yi Zhao authored
Rebase patch: fix-sepolicy-install-path.patch Signed-off-by:
Yi Zhao <yi.zhao@windriver.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
Yi Zhao authored
Signed-off-by:
Yi Zhao <yi.zhao@windriver.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
Yi Zhao authored
Signed-off-by:
Yi Zhao <yi.zhao@windriver.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
Yi Zhao authored
Signed-off-by:
Yi Zhao <yi.zhao@windriver.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
Yi Zhao authored
Remove unused patch: policycoreutils-loadpolicy-symlink.patch Add the following patches to change commands path for backward compatibility: policycoreutils-fix-fixfiles-install-path.patch policycoreutils-fix-fixfiles-install-path.patch Signed-off-by:
Yi Zhao <yi.zhao@windriver.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
Yi Zhao authored
Signed-off-by:
Yi Zhao <yi.zhao@windriver.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
Yi Zhao authored
Signed-off-by:
Yi Zhao <yi.zhao@windriver.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
Yi Zhao authored
Rebase patch: 0001-src-Makefile-fix-includedir-in-libselinux.pc.patch Signed-off-by:
Yi Zhao <yi.zhao@windriver.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
Yi Zhao authored
Rebase patch: 0001-src-Makefile-fix-includedir-in-libselinux.pc.patch Signed-off-by:
Yi Zhao <yi.zhao@windriver.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
Yi Zhao authored
Rebase patch: 0001-src-Makefile-fix-includedir-in-libsepol.pc.patch Signed-off-by:
Yi Zhao <yi.zhao@windriver.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
Yi Zhao authored
Signed-off-by:
Yi Zhao <yi.zhao@windriver.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
Mingli Yu authored
When usrmerge enabled in DISTRO_FEATURES, the binary actually installed under ${base_sbindir}, so cannot remove ${D}${base_sbindir} when usrmerge enabled. Signed-off-by:
Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
Mingli Yu authored
Set SBINDIR to ${base_sbindir} to fix below issue when usrmerge enabled in DISTRO_FEATURES | ERROR: QA Issue: policycoreutils-dbg package is not obeying usrmerge distro feature. /sbin should be relocated to /usr. [usrmerge] | WARNING: policycoreutils-2.7-r0 do_package: QA Issue: policycoreutils: Files/directories were installed but not shipped in any package: /sbin/restorecon /sbin/setfiles /sbin/load_policy /sbin/restorecon_xattr /sbin/fixfiles Signed-off-by:
Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
- Aug 17, 2018
-
-
Mingli Yu authored
Add SBINDIR=${D}/${base_sbindir} to EXTRA_OEMAKE to fix below error when usrmerge enabled in DISTRO_FEATURES. ERROR: QA Issue: mcstrans-dbg package is not obeying usrmerge distro feature. /sbin should be relocated to /usr. [usrmerge] Signed-off-by:
Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
Wenzong Fan authored
* make pam and audit support configurable; * remove INITDIR from EXTRA_OEMAKE, the variable is not supported now. Signed-off-by:
Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by:
Yi Zhao <yi.zhao@windriver.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
Wenzong Fan authored
Fix the QA errors when enable multilib: ERROR: selinux-python-2.7-r0 do_package: QA Issue: selinux-python: Files/directories were installed but not shipped in any package: /usr/lib /usr/lib/python2.7 /usr/lib/python2.7/site-packages /usr/lib/python2.7/site-packages/sepolicy-1.1.egg-info [snip] Signed-off-by:
Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by:
Yi Zhao <yi.zhao@windriver.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
- Aug 16, 2018
-
-
Khem Raj authored
When setting preferred version for a given refpolicy we also need to set the PV for refpolicy recipe since its part of the selinux packagegroup and will silently use git version Signed-off-by:
Khem Raj <raj.khem@gmail.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
- Aug 14, 2018
-
-
Yi Zhao authored
The _virtclass-native is obsolete. Replace it with _class-native. Signed-off-by:
Yi Zhao <yi.zhao@windriver.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
Yi Zhao authored
The _virtclass-native is obsolete and replaced by _class-native. In recent oe-core commit c5aa33ac483618bc23fbaccb0a18853186f9155d the _virtclass-native override was dropped entirely which caused refpolicy-mls do_install failed: libsemanage.get_home_dirs: Error while fetching users. Returning list so far. libsemanage.semanage_validate_and_compile_fcontexts: setfiles returned error code 1. (No such file or directory). Signed-off-by:
Yi Zhao <yi.zhao@windriver.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
- Aug 13, 2018
-
-
Yi Zhao authored
Refresh patches with devtool command to fix do_patch warning Signed-off-by:
Yi Zhao <yi.zhao@windriver.com> Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-
Joe MacDonald authored
Based on the discussion here: https://www.mail-archive.com/yocto@yoctoproject.org/msg40561.html This should fix the error encountered when building an SDK: nothing provides semodule-utils = 2.7-r0 needed by semodule-utils-dev-2.7-r0.core2-32 Signed-off-by:
Joe MacDonald <joe_macdonald@mentor.com>
-