[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[RFC] Suite to use for next upload - patch included



Hello,

I am considering to use unstable for next upload and for it I did a
try to get suite mostly (more details regarding translation-status
later) done.

Comments, welcome...

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
From 44f04757bac2ff38ecf796a9cf6a8c5252e4bdbe Mon Sep 17 00:00:00 2001
From: Otavio Salvador <otavio@ossystems.com.br>
Date: Sat, 30 Jul 2011 04:04:45 +0200
Subject: [PATCH] Use upload suite as origin to udebs

---
 debian/changelog |    1 +
 debian/rules     |    6 +++++-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 865ffdc..78c161b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -89,6 +89,7 @@ debian-installer (2011xxxx) UNRELEASED; urgency=low
 
   [ Otavio Salvador ]
   * Update Linux kernel to 3.0.0-1
+  * Use upload suite as origin to udebs
 
  -- Robert Millan <rmh@debian.org>  Fri, 15 Jul 2011 23:34:48 +0200
 
diff --git a/debian/rules b/debian/rules
index a434c5f..a659a5e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,8 +9,12 @@ USE_UDEBS_FROM=unstable
 TRANSSTATUS=
 BOOTMENU_BEEP=n
 else
-USE_UDEBS_FROM=wheezy
+USE_UDEBS_FROM=$(SUITE)
+ifeq (,$(filter stable wheezy stable-proposed-updates wheezy-proposed-updates,${SUITE}))
 USE_PROPOSED_UPDATES=0
+else
+USE_PROPOSED_UPDATES=1
+endif
 TRANSSTATUS=translation-status
 BOOTMENU_BEEP=y
 endif
-- 
1.7.5.4


Reply to: