diff options
author | Andrew Jeffery <andrew@aj.id.au> | 2023-06-15 14:38:45 +0300 |
---|---|---|
committer | Andrew Jeffery <andrew@aj.id.au> | 2023-06-15 14:42:40 +0300 |
commit | b4107072e0367b36ec3f9baeb6c5676bb998010e (patch) | |
tree | 4227cb977648b151cf8b38ab9cfd0b33f52c4d11 /meta-phosphor/recipes-core | |
parent | 23cfe7a2a0d1990b5e73f84aee0ddaadc44218df (diff) | |
download | openbmc-b4107072e0367b36ec3f9baeb6c5676bb998010e.tar.xz |
meta-phosphor: busybox: Enable truncate applet
Truncate allows for efficient creation of fixed-sized "empty" files
among other things. This is an alternative to `dd if=/dev/zero ...`,
which requires over-specification through `bs=` and `count=` parameters.
The bs= parameter in particular can cause significant inefficiencies if
not applied with care. The presence of `truncate` allows us to avoid
these problems.
Change-Id: I495886293bc1bdd0e461cc995a21ba9aef53f4f8
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'meta-phosphor/recipes-core')
-rw-r--r-- | meta-phosphor/recipes-core/busybox/busybox/busybox.cfg | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-core/busybox/busybox/busybox.cfg b/meta-phosphor/recipes-core/busybox/busybox/busybox.cfg index a0547e1a23..a138537334 100644 --- a/meta-phosphor/recipes-core/busybox/busybox/busybox.cfg +++ b/meta-phosphor/recipes-core/busybox/busybox/busybox.cfg @@ -3,5 +3,6 @@ CONFIG_EXPAND=y CONFIG_FEATURE_LESS_REGEXP=y CONFIG_FEATURE_LESS_TRUNCATE=y CONFIG_FEATURE_LS_COLOR_IS_DEFAULT=y +CONFIG_TRUNCATE=y CONFIG_WATCHDOG=y CONFIG_WGET=n |