[go: nahoru, domu]

Skip to content

Commit

Permalink
Merge pull request dnschneid#3717 from drinkcat/unbreak-bionic
Browse files Browse the repository at this point in the history
bootstrap: Do not install apt-transport-https on >=bionic
  • Loading branch information
dnschneid committed Jul 18, 2018
2 parents 469e8ad + 65e3154 commit 0b04fe0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions installer/ubuntu/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,16 @@ if [ -n "$RELEASE" ]; then
ln -s "$tmp/scripts/$BOOTSTRAP_RELEASE" "$tmp/scripts/$RELEASE"
fi

# bionic/buster onwards does not require installing apt-transport-https (apt
# provides it). In theory, there is a transitional package, but debootstrap
# does not find it on bionic. Somewhat relevant bug:
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=879755
#
# TODO: Drop this when debootstrap handles this case properly
if ! release -le artful -le stretch -le kali; then
sed -e 's/ apt-transport-https / /' -i "$tmp/scripts/$RELEASE"
fi

# Add the necessary debootstrap executables
newpath="$PATH:$tmp"
cp "$INSTALLERDIR/$DISTRO/ar" "$INSTALLERDIR/$DISTRO/pkgdetails" "$tmp/"
Expand Down

0 comments on commit 0b04fe0

Please sign in to comment.