From 5ede886fac51b701e9164a3daa3e06bafab5cd35 Mon Sep 17 00:00:00 2001 From: Tobias Kahlki <tobias.kahlki@seco.com> Date: Tue, 21 Jan 2025 11:55:54 +0100 Subject: [PATCH] recipes:busybox: Enable nice for builds without GPLv3 packages The nice command from coreutils is released under GPLv3 and therefore missing from No-GPLv3 builds. Enable the busybox nice applet for these cases. SCH-41 --- recipes-core/busybox/busybox_%.bbappend | 2 ++ recipes-core/busybox/files/fragment.cfg | 1 + 2 files changed, 3 insertions(+) create mode 100644 recipes-core/busybox/busybox_%.bbappend create mode 100644 recipes-core/busybox/files/fragment.cfg diff --git a/recipes-core/busybox/busybox_%.bbappend b/recipes-core/busybox/busybox_%.bbappend new file mode 100644 index 0000000..7953660 --- /dev/null +++ b/recipes-core/busybox/busybox_%.bbappend @@ -0,0 +1,2 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" +SRC_URI:append:nogplv3 = " file://fragment.cfg" diff --git a/recipes-core/busybox/files/fragment.cfg b/recipes-core/busybox/files/fragment.cfg new file mode 100644 index 0000000..514b03f --- /dev/null +++ b/recipes-core/busybox/files/fragment.cfg @@ -0,0 +1 @@ +CONFIG_NICE=y -- GitLab