summaryrefslogtreecommitdiff
path: root/meta-openbmc-mods/meta-common/recipes-intel/images/intel-platforms.bb
blob: d0b324239aa3ce3e9d6f21ca145701b236b743a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DESCRIPTION = "Image with Intel content based upon Phosphor, an OpenBMC framework."

inherit obmc-phosphor-full-fitimage
inherit obmc-phosphor-image-common
inherit obmc-phosphor-image-dev
inherit ${@bb.utils.contains('IMAGE_FSTYPES', 'intel-pfr', 'image_types_intel_pfr', '', d)}

DEPENDS += "${@bb.utils.contains('IMAGE_FSTYPES', 'intel-pfr', 'obmc-intel-pfr-image-native', '', d)}"
DEPENDS += "${@bb.utils.contains('IMAGE_FSTYPES', 'intel-pfr', 'pfr-manager', '', d)}"
DEPENDS += "dtc-native"

FEATURE_PACKAGES_obmc-sensors = ""
FEATURE_PACKAGES_obmc-debug-collector = ""

fix_shadow_perms() {
    chgrp shadow ${IMAGE_ROOTFS}${sysconfdir}/shadow
    chmod u=rw,g+r ${IMAGE_ROOTFS}${sysconfdir}/shadow
}
ROOTFS_POSTPROCESS_COMMAND += "fix_shadow_perms ; "