]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
naoki: Add support for a distro vendor.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 1 Oct 2010 14:11:38 +0000 (16:11 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 1 Oct 2010 14:11:38 +0000 (16:11 +0200)
config/naoki.conf
naoki/constants.py

index 822a4aecbb6e1ea70c4f0345cad285f9593b8307..da68fe91b53b5c1ec7d381ff578cdc6fca79e7e9 100644 (file)
@@ -20,6 +20,9 @@ version = %(epoch)s.0-prealpha2
 ; A descriptive slogan
 slogan = "Gluttony"
 
+; The distribution vendor
+vendor = The IPFire Team
+
 
 [sources]
 
index 8316194cd4fa8f934fa280809adffd78b27855b0..7b4b88cd74906dc8bd2b2c291a9ad5dcde1e62b7 100644 (file)
@@ -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"],
                }