mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-24 02:09:06 +08:00
vmtest: keep coreutils
Kernel's vmtest.sh uses stdbuf, which is unfortunately not present in busybox. Do not delete coreutils, which has it. As a result, the compressed image grows by 1M (~5%). Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
This commit is contained in:
committed by
Andrii Nakryiko
parent
f3b96c873d
commit
cc904c1a74
@@ -43,11 +43,6 @@ rm -rf \
|
||||
"$root"/var/cache/apt/archives/* \
|
||||
"$root"/var/lib/apt/lists/*
|
||||
|
||||
# Save some more space by removing coreutils - the tests use busybox. Before
|
||||
# doing that, delete the buggy postrm script, which uses the rm command.
|
||||
rm -f "$root/var/lib/dpkg/info/coreutils.postrm"
|
||||
chroot "$root" dpkg --remove --force-remove-essential coreutils
|
||||
|
||||
# Apply common tweaks.
|
||||
"$(dirname "$0")"/mkrootfs_tweak.sh "$root"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user