Skip to content

Commit

Permalink
Exclude Debian Trixie repository from export-sources stage
Browse files Browse the repository at this point in the history
Since GNU Radio is no longer installed from Debian Trixie, the repository can be excluded when downloading sources.

Signed-off-by: mlradu <[email protected]>
  • Loading branch information
mlradu committed Aug 27, 2024
1 parent 130c209 commit d3e0303
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ sed -i '$ s/deb /deb-src /' /etc/apt/sources.list
# Comment package installation from sources.list
sed -i 's/deb /#deb /' /etc/apt/sources.list

if [ "${CONFIG_GNURADIO}" = y ]; then
# Uncomment sources installation from trixie.list in order to download sources for Gnuradio (in case it was set to be installed).
sed -i 's/#deb-src /deb-src /' /etc/apt/sources.list.d/trixie.list
fi

apt update
cd /deb-src
for package in $(dpkg -l | awk '/ii/ { print $2 }'); do
Expand All @@ -34,10 +29,5 @@ sed -i 's/deb-src /#deb-src /' /etc/apt/sources.list
# Uncomment package installation from sources.list
sed -i 's/#deb /deb /' /etc/apt/sources.list

if [ "${CONFIG_GNURADIO}" = y ]; then
# Comment sources installation from trixie.list
sed -i 's/deb-src /#deb-src /' /etc/apt/sources.list.d/trixie.list
fi

apt update

0 comments on commit d3e0303

Please sign in to comment.