forked from linux-test-project/ltp
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci/debian: Speedup minimal variant installation
We installed full dependencies and then remove them. Faster and easier to review is to install only what will not be later removed. But still attempt to remove (in case something was installed for whatever reason - this should not happen in containers which are minimal, but 1) just in case 2) can be used on VM for testing. Implement this by several lists of packages and usual passing environment variables. In the end speedup is ~ 1 min 20 sec, but it's also easier to see what happen. Link: https://lore.kernel.org/ltp/[email protected]/ Reported-by: Andrea Cervesato <[email protected]> Acked-by: Andrea Cervesato <[email protected]> Reviewed-by: Li Wang <[email protected]> Signed-off-by: Petr Vorel <[email protected]>
- Loading branch information
Showing
3 changed files
with
55 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,19 +2,4 @@ | |
# SPDX-License-Identifier: GPL-2.0-or-later | ||
# Copyright (c) 2018-2024 Petr Vorel <[email protected]> | ||
|
||
apt="apt remove -y" | ||
|
||
$apt \ | ||
asciidoc-base \ | ||
asciidoctor \ | ||
libacl1-dev \ | ||
libaio-dev \ | ||
libcap-dev \ | ||
libkeyutils-dev \ | ||
libnuma-dev \ | ||
libselinux1-dev \ | ||
libsepol-dev \ | ||
libssl-dev | ||
|
||
# Missing on Ubuntu 18.04 LTS (Bionic Beaver) | ||
$apt ruby-asciidoctor-pdf || true | ||
ACTION="remove-nonessential" $(dirname $0)/debian.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters