diff options
3 files changed, 28 insertions, 0 deletions
diff --git a/meta-phosphor/classes/obmc-phosphor-debug-tarball.bbclass b/meta-phosphor/classes/obmc-phosphor-debug-tarball.bbclass new file mode 100644 index 000000000..e2a7f7168 --- /dev/null +++ b/meta-phosphor/classes/obmc-phosphor-debug-tarball.bbclass @@ -0,0 +1,16 @@ +inherit image +inherit obmc-phosphor-license + +IMAGE_FSTYPES = "tar.xz" +IMAGE_INSTALL_append = " packagegroup-obmc-phosphor-debugtools" + +# Override from image_types.bbclass to restrict tarball to /usr tree. +IMAGE_CMD_tar = "${IMAGE_CMD_TAR} -cvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.tar -C ${IMAGE_ROOTFS}/usr ." + +# Remove packages installed by 'extrausers'. +IMAGE_INSTALL_remove = "base-passwd shadow" +EXTRA_USERS_PARAMS = "" + +# Remove extra packages defaulted by image.bbclass. +PACKAGE_INSTALL = "${IMAGE_INSTALL}" +IMAGE_LINGUAS = "" diff --git a/meta-phosphor/common/recipes-phosphor/images/obmc-phosphor-debug-tarball.bb b/meta-phosphor/common/recipes-phosphor/images/obmc-phosphor-debug-tarball.bb new file mode 100644 index 000000000..e00e92843 --- /dev/null +++ b/meta-phosphor/common/recipes-phosphor/images/obmc-phosphor-debug-tarball.bb @@ -0,0 +1,3 @@ +DESCRIPTION = "Debug tools tarball for use with OpenBMC Phosphor" + +inherit obmc-phosphor-debug-tarball diff --git a/meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-phosphor-debugtools.bb b/meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-phosphor-debugtools.bb new file mode 100644 index 000000000..a1ac064e7 --- /dev/null +++ b/meta-phosphor/common/recipes-phosphor/packagegroups/packagegroup-obmc-phosphor-debugtools.bb @@ -0,0 +1,9 @@ +SUMMARY = "Phosphor OpenBMC - Debug Tools" +PR = "r1" + +inherit packagegroup +inherit obmc-phosphor-license + +RDEPENDS_${PN} = " \ + strace \ + " |