summaryrefslogtreecommitdiff
path: root/meta-phosphor/conf/distro/include
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2023-05-17 23:00:27 +0300
committerPatrick Williams <patrick@stwcx.xyz>2023-05-18 14:32:19 +0300
commit200c2d35bf7f1df327c5b82080bddbd705fab3b3 (patch)
tree306013f156e28b59099e791db4d7f36c11830028 /meta-phosphor/conf/distro/include
parent64d812c6db9ac9685f5a48ca10dbcf14e7a4c9b4 (diff)
downloadopenbmc-200c2d35bf7f1df327c5b82080bddbd705fab3b3.tar.xz
meta-phosphor: btrfs-tools: disable python PACKAGECONFIG
Some systems, like Bletchley, might be using btrfs file systems and using the btrfs-tools to format them. They probably don't need the Python modules by default, so disable them in meta-phosphor. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I87316001f48432db4297656838b750e10651d043
Diffstat (limited to 'meta-phosphor/conf/distro/include')
-rw-r--r--meta-phosphor/conf/distro/include/phosphor-base.inc1
-rw-r--r--meta-phosphor/conf/distro/include/phosphor-pkg-tweaks.inc7
2 files changed, 8 insertions, 0 deletions
diff --git a/meta-phosphor/conf/distro/include/phosphor-base.inc b/meta-phosphor/conf/distro/include/phosphor-base.inc
index 5eff3156af..b1f8d5946e 100644
--- a/meta-phosphor/conf/distro/include/phosphor-base.inc
+++ b/meta-phosphor/conf/distro/include/phosphor-base.inc
@@ -1,4 +1,5 @@
require conf/distro/include/phosphor-defaults.inc
+require conf/distro/include/phosphor-pkg-tweaks.inc
# Match the distro codename from upstream poky.
DISTRO_CODENAME ?= "mickledore"
diff --git a/meta-phosphor/conf/distro/include/phosphor-pkg-tweaks.inc b/meta-phosphor/conf/distro/include/phosphor-pkg-tweaks.inc
new file mode 100644
index 0000000000..a5c1df8a8a
--- /dev/null
+++ b/meta-phosphor/conf/distro/include/phosphor-pkg-tweaks.inc
@@ -0,0 +1,7 @@
+## Some packages do not allow a simple bbappend to tweak the PACKAGECONFIG
+## because they can end up inheriting bbclasses, which cause other
+## side-effects before the bbappend is applied. Place tweaks for those
+## packages in this file.
+
+# Disable python from btrfs-tools
+PACKAGECONFIG:remove:pn-btrfs-tools = "python"