Skip to content

Commit

Permalink
Separate binary and source packages
Browse files Browse the repository at this point in the history
  • Loading branch information
rickysarraf committed Mar 27, 2024
1 parent da7819e commit 90e75db
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions tests/apt-offline-tests-github.sh
Original file line number Diff line number Diff line change
@@ -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"; }
Expand Down Expand Up @@ -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

}

Expand Down

0 comments on commit 90e75db

Please sign in to comment.