From 90e75db5bc63b1a816da1e4c9eb717314017220f Mon Sep 17 00:00:00 2001 From: Ritesh Raj Sarraf Date: Wed, 27 Mar 2024 17:42:34 +0530 Subject: [PATCH] Separate binary and source packages --- tests/apt-offline-tests-github.sh | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/tests/apt-offline-tests-github.sh b/tests/apt-offline-tests-github.sh index c363313..8536a1a 100755 --- a/tests/apt-offline-tests-github.sh +++ b/tests/apt-offline-tests-github.sh @@ -1,6 +1,7 @@ #!/bin/sh -DISLIKED_PACKAGES="lxde icewm gnome-terminal" +DISLIKED_PACKAGES="gcc golang gnome-terminal" +DISLIKED_SRC_PACKAGES="glibc gcc golang gnome-terminal" RELEASE=`lsb_release -c -s` DIR="$(mktemp --tmpdir --directory apt-offline-tests-XXXXXXXX)" #cleanup () { rm --recursive --force "$DIR"; } @@ -44,17 +45,17 @@ set_features () { echo "Executing command 'set $URI --install-packages $DISLIKED_PACKAGES --release $RELEASE'" $APT_OFFLINE set $URI --install-packages $DISLIKED_PACKAGES --release $RELEASE - echo "Executing command 'set $URI --install-src-packages $DISLIKED_PACKAGES'" - $APT_OFFLINE set $URI --install-src-packages $DISLIKED_PACKAGES + echo "Executing command 'set $URI --install-src-packages $DISLIKED_SRC_PACKAGES'" + $APT_OFFLINE set $URI --install-src-packages $DISLIKED_SRC_PACKAGES - echo "Executing command 'set $URI --install-src-packages $DISLIKED_PACKAGES --release $RELEASE'" - $APT_OFFLINE set $URI --install-src-packages $DISLIKED_PACKAGES --release $RELEASE + echo "Executing command 'set $URI --install-src-packages $DISLIKED_SRC_PACKAGES --release $RELEASE'" + $APT_OFFLINE set $URI --install-src-packages $DISLIKED_SRC_PACKAGES --release $RELEASE - echo "Executing command 'set $URI --src-build-dep --install-src-packages $DISLIKED_PACKAGES'" - $APT_OFFLINE set $URI --src-build-dep --install-src-packages $DISLIKED_PACKAGES + echo "Executing command 'set $URI --src-build-dep --install-src-packages $DISLIKED_SRC_PACKAGES'" + $APT_OFFLINE set $URI --src-build-dep --install-src-packages $DISLIKED_SRC_PACKAGES - echo "Executing command 'set $URI --src-build-dep --install-src-packages $DISLIKED_PACKAGES --release $RELEASE'" - $APT_OFFLINE set $URI --src-build-dep --install-src-packages $DISLIKED_PACKAGES --release $RELEASE + echo "Executing command 'set $URI --src-build-dep --install-src-packages $DISLIKED_SRC_PACKAGES --release $RELEASE'" + $APT_OFFLINE set $URI --src-build-dep --install-src-packages $DISLIKED_SRC_PACKAGES --release $RELEASE }