Skip to content

Commit

Permalink
08.export-stage/02.export-sources: Download debootstrap sources via apt
Browse files Browse the repository at this point in the history
Salsa link for debootstrap sources was broken. Changed to downloading sources via apt.

Signed-off-by: mlradu <larisa.radu@analog.com>
  • Loading branch information
mlradu committed Feb 28, 2025
1 parent 0175331 commit 4d1d6f0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions stages/08.export-stage/02.export-sources/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,15 @@ if [ "${EXPORT_SOURCES}" = y ]; then

######################## Debootstrap package source ########################

sed -i 's/^Types: deb$/Types: deb deb-src/' /etc/apt/sources.list.d/debian.sources
apt update

cd kuiper-volume/sources/debootstrap/

# Download debootstrap sources
DEBOOTSTRAP_VERSION=$(debootstrap --version | cut -d' ' -f 2)
wget -vO /kuiper-volume/sources/debootstrap/debootstrap.zip \
https://salsa.debian.org/installer-team/debootstrap/-/archive/debian/${DEBOOTSTRAP_VERSION}/debootstrap-debian-${DEBOOTSTRAP_VERSION}.zip
apt-get --download-only source debootstrap

cd /

######################## Debian packages sources ########################

Expand Down

0 comments on commit 4d1d6f0

Please # to comment.