mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-04-22 15:51:08 +00:00
mk-sbuild-lv: skip security repo for Debian unstable, thanks to
Ryan Niebur (LP: #371569).
This commit is contained in:
parent
23b776e222
commit
e4da9b9daf
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
ubuntu-dev-tools (0.74) UNRELEASED; urgency=low
|
||||
|
||||
* mk-sbuild-lv: skip security repo for Debian unstable, thanks to
|
||||
Ryan Niebur (LP: #371569).
|
||||
|
||||
-- Kees Cook <kees@ubuntu.com> Mon, 04 May 2009 09:11:42 -0700
|
||||
|
||||
ubuntu-dev-tools (0.73) karmic; urgency=low
|
||||
|
||||
[ Siegfried-Angel Gevatter Pujals ]
|
||||
|
@ -258,6 +258,10 @@ debian)
|
||||
if [ -z "$SOURCES_SECURITY_URL" ]; then
|
||||
SOURCES_SECURITY_URL="http://security.debian.org/"
|
||||
fi
|
||||
# Unstable (aka "sid") does not have a security repository
|
||||
if [ "$RELEASE" = 'unstable' ] || [ "$RELEASE" = 'sid' ]; then
|
||||
SKIP_SECURITY=1
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "Unknown --distro '$DISTRO': aborting" >&2
|
||||
@ -291,10 +295,12 @@ deb ${DEBOOTSTRAP_MIRROR} RELEASE-updates ${COMPONENTS}
|
||||
deb-src ${DEBOOTSTRAP_MIRROR} RELEASE-updates ${COMPONENTS}
|
||||
EOM
|
||||
fi
|
||||
cat >> "$TEMP_SOURCES" <<EOM
|
||||
if [ -z "$SKIP_SECURITY" ]; then
|
||||
cat >> "$TEMP_SOURCES" <<EOM
|
||||
deb ${SOURCES_SECURITY_URL} ${SOURCES_SECURITY_SUITE} ${COMPONENTS}
|
||||
deb-src ${SOURCES_SECURITY_URL} ${SOURCES_SECURITY_SUITE} ${COMPONENTS}
|
||||
EOM
|
||||
fi
|
||||
fi
|
||||
cat "$TEMP_SOURCES" | sed -e "s|RELEASE|$RELEASE|g" | \
|
||||
sudo bash -c "cat > $MNT/etc/apt/sources.list"
|
||||
|
Loading…
x
Reference in New Issue
Block a user