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
-rw-r--r--meta-phosphor/recipes-devtools/btrfs-tools/btrfs-tools_%.bbappend3
3 files changed, 3 insertions, 8 deletions
diff --git a/meta-phosphor/conf/distro/include/phosphor-base.inc b/meta-phosphor/conf/distro/include/phosphor-base.inc
index 7f9ec78b15..35bd8deb92 100644
--- a/meta-phosphor/conf/distro/include/phosphor-base.inc
+++ b/meta-phosphor/conf/distro/include/phosphor-base.inc
@@ -1,5 +1,4 @@
require conf/distro/include/phosphor-defaults.inc
-require conf/distro/include/phosphor-pkg-tweaks.inc
# Match the distro codename from upstream poky.
DISTRO_CODENAME ?= "scarthgap"
diff --git a/meta-phosphor/conf/distro/include/phosphor-pkg-tweaks.inc b/meta-phosphor/conf/distro/include/phosphor-pkg-tweaks.inc
deleted file mode 100644
index a5c1df8a8a..0000000000
--- a/meta-phosphor/conf/distro/include/phosphor-pkg-tweaks.inc
+++ /dev/null
@@ -1,7 +0,0 @@
-## 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"
diff --git a/meta-phosphor/recipes-devtools/btrfs-tools/btrfs-tools_%.bbappend b/meta-phosphor/recipes-devtools/btrfs-tools/btrfs-tools_%.bbappend
new file mode 100644
index 0000000000..a5ebbcc08f
--- /dev/null
+++ b/meta-phosphor/recipes-devtools/btrfs-tools/btrfs-tools_%.bbappend
@@ -0,0 +1,3 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+
+PACKAGECONFIG:remove:class-target = "python"