From 664ed6c3d12c53368ea2daa2983eba12f60c5d65 Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Sun, 8 Oct 2017 22:02:54 +0200 Subject: [PATCH] Add unreleased to dist search list in find_pkg_file() --- tools/boot/buster/common.sh | 2 +- tools/boot/jessie/common.sh | 2 +- tools/boot/stretch/common.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/boot/buster/common.sh b/tools/boot/buster/common.sh index bc6f67ef..85ee68eb 100644 --- a/tools/boot/buster/common.sh +++ b/tools/boot/buster/common.sh @@ -64,7 +64,7 @@ variant_enabled() { # Wrapper around which_deb which looks in all relevant distributions find_pkg_file() { local pkgfile - for dist in $DI_CODENAME $CODENAME; do + for dist in unreleased $DI_CODENAME $CODENAME ${UNRELEASED/1/unreleased}; do pkgfile=$($BASEDIR/tools/which_deb $MIRROR $dist "$@") [ -n "$pkgfile" ] && break done diff --git a/tools/boot/jessie/common.sh b/tools/boot/jessie/common.sh index 8a38b095..5a4e0fd9 100644 --- a/tools/boot/jessie/common.sh +++ b/tools/boot/jessie/common.sh @@ -77,7 +77,7 @@ variant_enabled() { # Wrapper around which_deb which looks in all relevant distributions find_pkg_file() { local pkgfile - for dist in $DI_CODENAME $CODENAME; do + for dist in $DI_CODENAME $CODENAME ${UNRELEASED/1/unreleased}; do pkgfile=$($BASEDIR/tools/which_deb $MIRROR $dist "$@") [ -n "$pkgfile" ] && break done diff --git a/tools/boot/stretch/common.sh b/tools/boot/stretch/common.sh index bc6f67ef..4b350598 100644 --- a/tools/boot/stretch/common.sh +++ b/tools/boot/stretch/common.sh @@ -64,7 +64,7 @@ variant_enabled() { # Wrapper around which_deb which looks in all relevant distributions find_pkg_file() { local pkgfile - for dist in $DI_CODENAME $CODENAME; do + for dist in $DI_CODENAME $CODENAME ${UNRELEASED/1/unreleased}; do pkgfile=$($BASEDIR/tools/which_deb $MIRROR $dist "$@") [ -n "$pkgfile" ] && break done