Add support for unreleased packages from Debian Ports

This commit is contained in:
John Paul Adrian Glaubitz 2017-09-06 13:06:45 +02:00
parent 899ca233e0
commit 47f7b12a36
3 changed files with 11 additions and 0 deletions

View File

@ -20,6 +20,7 @@ unset LOCAL || true
unset LOCALDEBS || true
unset SECURITY || true
unset PROPOSED_UPDATES || true
unset UNRELEASED || true
unset BOOTDIR || true
unset SYMLINK || true
unset COPYLINK || true
@ -166,6 +167,9 @@ export CONTRIB=1
# NOTE: intended to be used for pre-release testing, not for publication!
#export PROPOSED_UPDATES=$CODENAME-proposed-updates
# Include packages from Debian Ports unreleased
#export UNRELEASED=1
# Sparc only : bootdir (location of cd.b and second.b)
# export BOOTDIR=/boot

1
debian/changelog vendored
View File

@ -13,6 +13,7 @@ debian-cd (3.1.21) UNRELEASED; urgency=medium
[ John Paul Adrian Glaubitz ]
* Add list of packages required for debian-installer on m68k.
* Add support for unreleased packages from Debian Ports.
-- Steve McIntyre <93sam@debian.org> Mon, 19 Jun 2017 13:59:36 +0100

View File

@ -99,6 +99,12 @@ if [ ! -e "$APTTMP/$THIS_PKGSET/apt/sources.list" ]; then
>> $APTTMP/$THIS_PKGSET/apt/sources.list
fi
# Debian Ports unreleased packages ...
if [ -n "$UNRELEASED" ]; then
echo "$ADEB file:$MIRROR unreleased main" \
>> $APTTMP/$THIS_PKGSET/apt/sources.list
fi
# Debian-installer
if [ $ARCH != source ] ; then
if [ -e "$MIRROR/dists/$DI_CODENAME/main/debian-installer" ]; then