From f0dd704fce601db020c417038c8b50f64202c8c4 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Mon, 22 Apr 2013 13:50:22 -0500 Subject: packagegroup-core-selinux: Rename from task to packagegroup Also fix ALLOW_EMPTY, oe-core does not allow ALLOW_EMPTY w/o a package name. Adjust references in core-image-selinux to the new packagegroup filename. Signed-off-by: Mark Hatle --- recipes-security/images/core-image-selinux.bb | 2 +- .../packagegroups/packagegroup-core-selinux.bb | 30 ++++++++++++++++++++++ recipes-security/tasks/task-core-selinux.bb | 30 ---------------------- 3 files changed, 31 insertions(+), 31 deletions(-) create mode 100644 recipes-security/packagegroups/packagegroup-core-selinux.bb delete mode 100644 recipes-security/tasks/task-core-selinux.bb diff --git a/recipes-security/images/core-image-selinux.bb b/recipes-security/images/core-image-selinux.bb index d3acb0f..0109933 100644 --- a/recipes-security/images/core-image-selinux.bb +++ b/recipes-security/images/core-image-selinux.bb @@ -7,7 +7,7 @@ LICENSE = "MIT" IMAGE_INSTALL = "\ ${CORE_IMAGE_BASE_INSTALL} \ packagegroup-core-basic \ - task-core-selinux \ + packagegroup-core-selinux \ " inherit core-image diff --git a/recipes-security/packagegroups/packagegroup-core-selinux.bb b/recipes-security/packagegroups/packagegroup-core-selinux.bb new file mode 100644 index 0000000..7cd7409 --- /dev/null +++ b/recipes-security/packagegroups/packagegroup-core-selinux.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "SELinux packagegroup for Poky" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" +PR = "r0" + +PACKAGES = "\ + ${PN} \ + " + +ALLOW_EMPTY_${PN} = "1" + +RDEPENDS_${PN} = " \ + ustr \ + libsepol \ + libsepol-bin \ + libselinux \ + libselinux-bin \ + libsemanage \ + checkpolicy \ + sepolgen \ + policycoreutils \ + policycoreutils-sandbox \ + policycoreutils-python \ + setools \ + setools-console \ + selinux-config \ + refpolicy-standard \ + refpolicy-mls \ + " diff --git a/recipes-security/tasks/task-core-selinux.bb b/recipes-security/tasks/task-core-selinux.bb deleted file mode 100644 index 05f8dfc..0000000 --- a/recipes-security/tasks/task-core-selinux.bb +++ /dev/null @@ -1,30 +0,0 @@ -DESCRIPTION = "SELinux task for Poky" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ - file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" -PR = "r0" - -PACKAGES = "\ - task-core-selinux \ - " - -ALLOW_EMPTY = "1" - -RDEPENDS_task-core-selinux = " \ - ustr \ - libsepol \ - libsepol-bin \ - libselinux \ - libselinux-bin \ - libsemanage \ - checkpolicy \ - sepolgen \ - policycoreutils \ - policycoreutils-sandbox \ - policycoreutils-python \ - setools \ - setools-console \ - selinux-config \ - refpolicy-standard \ - refpolicy-mls \ - " -- cgit v1.2.3-54-g00ecf