From cc904c1a74df64eea4b2100fb6e59502ed946628 Mon Sep 17 00:00:00 2001 From: Ilya Leoshkevich Date: Thu, 19 May 2022 13:21:51 +0200 Subject: [PATCH] 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 --- travis-ci/rootfs/mkrootfs_debian.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/travis-ci/rootfs/mkrootfs_debian.sh b/travis-ci/rootfs/mkrootfs_debian.sh index bde1f65..6dba868 100755 --- a/travis-ci/rootfs/mkrootfs_debian.sh +++ b/travis-ci/rootfs/mkrootfs_debian.sh @@ -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"