diff options
Diffstat (limited to 'recipes-security/selinux/policycoreutils/enable-mcstrans.patch')
| -rw-r--r-- | recipes-security/selinux/policycoreutils/enable-mcstrans.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes-security/selinux/policycoreutils/enable-mcstrans.patch b/recipes-security/selinux/policycoreutils/enable-mcstrans.patch new file mode 100644 index 0000000..e923903 --- /dev/null +++ b/recipes-security/selinux/policycoreutils/enable-mcstrans.patch | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | Add the "mcstrans" subdir so it gets built too. | ||
| 2 | |||
| 3 | Upstream-Status: Inappropriate [embedded specific] | ||
| 4 | |||
| 5 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | ||
| 6 | diff --git a/Makefile b/Makefile | ||
| 7 | index 83ebd45..3ae784f 100644 | ||
| 8 | --- a/Makefile | ||
| 9 | +++ b/Makefile | ||
| 10 | @@ -1,5 +1,7 @@ | ||
| 11 | SUBDIRS = sepolicy setfiles semanage load_policy newrole run_init sandbox secon audit2allow sestatus semodule_package semodule semodule_link semodule_expand semodule_deps sepolgen-ifgen setsebool scripts po man gui | ||
| 12 | |||
| 13 | +SUBDIRS += mcstrans | ||
| 14 | + | ||
| 15 | INOTIFYH = $(shell ls /usr/include/sys/inotify.h 2>/dev/null) | ||
| 16 | |||
| 17 | ifeq (${INOTIFYH}, /usr/include/sys/inotify.h) | ||
