Skip to content
Snippets Groups Projects
Commit 96d1dc5e authored by Paul Spooren's avatar Paul Spooren Committed by Daniel Golle
Browse files

policycoreutils: install to host/bin not hostpkg


By installing policycoreutils to host/bin it is also available within
the ImageBuilder and SDK, allowing to correctly label both filesystems
and packages.

Signed-off-by: default avatarPaul Spooren <mail@aparcar.org>
parent 29fd93da
No related branches found
No related tags found
No related merge requests found
...@@ -243,7 +243,7 @@ endef ...@@ -243,7 +243,7 @@ endef
ifeq ($(CONFIG_TARGET_ROOTFS_SECURITY_LABELS),y) ifeq ($(CONFIG_TARGET_ROOTFS_SECURITY_LABELS),y)
define Image/mkfs/squashfs define Image/mkfs/squashfs
echo "$(STAGING_DIR_HOSTPKG)/bin/setfiles -r" \ echo "$(STAGING_DIR_HOST)/bin/setfiles -r" \
"$(call mkfs_target_dir,$(1))" \ "$(call mkfs_target_dir,$(1))" \
"$(call mkfs_target_dir,$(1))/etc/selinux/targeted/contexts/files/file_contexts " \ "$(call mkfs_target_dir,$(1))/etc/selinux/targeted/contexts/files/file_contexts " \
"$(call mkfs_target_dir,$(1))" > $@.fakeroot-script "$(call mkfs_target_dir,$(1))" > $@.fakeroot-script
......
...@@ -67,7 +67,7 @@ MAKE_FLAGS += \ ...@@ -67,7 +67,7 @@ MAKE_FLAGS += \
HOST_MAKE_FLAGS += \ HOST_MAKE_FLAGS += \
PAMH=$(CONFIG_BUSYBOX_CONFIG_PAM) \ PAMH=$(CONFIG_BUSYBOX_CONFIG_PAM) \
DESTDIR=$(STAGING_DIR_HOSTPKG) \ DESTDIR=$(STAGING_DIR_HOST) \
PREFIX= \ PREFIX= \
SBINDIR=/bin SBINDIR=/bin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment