[PATCH] Automatically identify the suite to use for udeb fetching

2012-02-22 Thread Otavio Salvador
tomatically identify the suite to use for udeb fetching. + -- Jurij Smakov Mon, 20 Feb 2012 21:02:22 + debian-installer (20110106) unstable; urgency=low diff --git a/debian/rules b/debian/rules index 60e2f41..07318af 100755 --- a/debian/rules +++ b/debian/rules @@ -3,14 +3,28 @@ ARCH=$(she

Re: Automatically identify the suite to use for udeb fetching

2012-02-13 Thread Adam D. Barratt
On 13.02.2012 11:02, Otavio Salvador wrote: On Mon, Feb 13, 2012 at 04:18, Adam D. Barratt wrote: +BUILDD_TARGET=$(shell [[ -e /etc/buildd_target ]] && sed 's,sid,unstable,g' /etc/buildd_target || echo "") +ifeq (${BUILDD_TARGET},) +USE_UDEBS_FROM=$(shell grep -q '/sid$' /etc/debian_version &&

Re: Automatically identify the suite to use for udeb fetching

2012-02-13 Thread Otavio Salvador
On Mon, Feb 13, 2012 at 04:18, Adam D. Barratt wrote: > +BUILDD_TARGET=$(shell [[ -e /etc/buildd_target ]] && sed > 's,sid,unstable,g' /etc/buildd_target || echo "") > +ifeq (${BUILDD_TARGET},) > +USE_UDEBS_FROM=$(shell grep -q '/sid$' /etc/debian_version && echo > "unstable" || cat /etc/debian_ve

Re: Automatically identify the suite to use for udeb fetching

2012-02-12 Thread Adam D. Barratt
On Thu, 2012-02-02 at 17:43 -0200, Otavio Salvador wrote: > To try to work out of box for most situations we use > /etc/debian_version information to detect from witch suite to > grab udebs from but allow for overriden by auto-builders. [...] > - If /etc/buildd_target exists, use this for suite (t

Automatically identify the suite to use for udeb fetching

2012-02-02 Thread Otavio Salvador
6a72e0607272838ffdc462fba0f06e429a14dfe6 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Sat, 30 Jul 2011 04:04:45 +0200 Subject: [PATCH] Automatically identify the suite to use for udeb fetching To try to work out of box for most situations we use /etc/debian_version information to detect from witch suite to grab udebs