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

2012-02-22 Thread Otavio Salvador
From: Otavio Salvador ota...@ossystems.com.br To try to work out of box for most situations we use /etc/debian_version to detect default to use host source.list information to detect from which suite to grab udebs from but allow to be overridden by auto-builders. After this change, following

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 a...@adam-barratt.org.ukwrote: +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

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 echo

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 (to

Automatically identify the suite to use for udeb fetching

2012-02-02 Thread Otavio Salvador
[ Please reply to debian-boot ] 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. After this change, following use-cases are covered: - Building from UNRELEASED code: