From 52302fad6ac01bee6d381727f4693b9998334ffb Mon Sep 17 00:00:00 2001 From: Dietmar Eggemann Date: Tue, 16 Jan 2024 23:20:36 +0100 Subject: [PATCH] tools/buildroot_config: Sync rootfs to devlib busybox & add '-o nice' to ps Set CONFIG_MODPROBE_SMALL=n and CONFIG_STATIC=y to allign the busybox binary of the rootfs with that of devlib (refer to $LISA/tools/recipes/busybox.recipe). Set CONFIG_MODPROBE_SMALL=n to avoid an issue with insmod related to its return value. Moreover, set CONFIG_FEATURE_PS_ADDITIONAL_COLUMNS=y so that /bin/ps supports the '-o nice' specifier. This is needed to evaluate issues related to lisa-test during load related PELT Invariance tests on the target they happen. Load depens on task priority, i.e. task nice value. Signed-off-by: Dietmar Eggemann --- tools/buildroot_busybox_fragments | 3 +++ tools/buildroot_config | 1 + 2 files changed, 4 insertions(+) create mode 100644 tools/buildroot_busybox_fragments diff --git a/tools/buildroot_busybox_fragments b/tools/buildroot_busybox_fragments new file mode 100644 index 000000000..6839b4aef --- /dev/null +++ b/tools/buildroot_busybox_fragments @@ -0,0 +1,3 @@ +CONFIG_MODPROBE_SMALL=n +CONFIG_STATIC=y +CONFIG_FEATURE_PS_ADDITIONAL_COLUMNS=y diff --git a/tools/buildroot_config b/tools/buildroot_config index d7d6a8d17..cbe83b650 100644 --- a/tools/buildroot_config +++ b/tools/buildroot_config @@ -23,3 +23,4 @@ BR2_PACKAGE_UTIL_LINUX=y BR2_PACKAGE_UTIL_LINUX_BINARIES=y BR2_PACKAGE_PYTHON3=y # BR2_TARGET_ROOTFS_TAR is not set +BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="../../tools/buildroot_busybox_fragments" -- GitLab