Skip to content

Commit

Permalink
tools/buildroot_config: Sync rootfs to devlib busybox & add '-o nice'…
Browse files Browse the repository at this point in the history
… 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 <[email protected]>
  • Loading branch information
deggeman authored and douglas-raillard-arm committed Jan 18, 2024
1 parent 89bd8c3 commit 4488e6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/buildroot_busybox_fragments
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CONFIG_MODPROBE_SMALL=n
CONFIG_STATIC=y
CONFIG_FEATURE_PS_ADDITIONAL_COLUMNS=y
1 change: 1 addition & 0 deletions tools/buildroot_config
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 4488e6b

Please sign in to comment.