From: Michael Tremer Date: Fri, 1 Oct 2010 14:11:38 +0000 (+0200) Subject: naoki: Add support for a distro vendor. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03eb19be0b1ef1b8caa5d3c7fa55b74a4a06ffdd;p=ipfire-3.x.git naoki: Add support for a distro vendor. --- diff --git a/config/naoki.conf b/config/naoki.conf index 822a4aecb..da68fe91b 100644 --- a/config/naoki.conf +++ b/config/naoki.conf @@ -20,6 +20,9 @@ version = %(epoch)s.0-prealpha2 ; A descriptive slogan slogan = "Gluttony" +; The distribution vendor +vendor = The IPFire Team + [sources] diff --git a/naoki/constants.py b/naoki/constants.py index 8316194cd..7b4b88cd7 100644 --- a/naoki/constants.py +++ b/naoki/constants.py @@ -89,6 +89,7 @@ class Config(object): "distro_epoch" : "unknown", "distro_version" : "unknown", "distro_slogan" : "unknown", + "disto_vendor" : "unknown", # # Logging "log_config_file" : os.path.join(CONFIGDIR, "logging.ini"), @@ -149,6 +150,7 @@ class Config(object): "DISTRO_EPOCH" : self["distro_epoch"], "DISTRO_VERSION" : self["distro_version"], "DISTRO_SLOGAN" : self["distro_slogan"], + "DISTRO_VENDOR" : self["distro_vendor"], # "PARALLELISMFLAGS" : "-j%d" % self["parallelism"], }