summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"