Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove hardcoded distro name.
Signed-off-by: Marko Saukko <marko.saukko@cybercom.com>
  • Loading branch information
Marko Saukko committed Dec 15, 2011
1 parent 3afbf9e commit 6d189fc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions distfiles/mic.conf
Expand Up @@ -7,6 +7,7 @@ tmpdir= /var/tmp/mic
cachedir= /var/tmp/mic/cache
outdir= ./mic-output
pkgmgr = zypp
distro_name = Tizen

; proxy = http://proxy.yourcompany.com:8080/
; no_proxy = localhost,127.0.0.0/8,.yourcompany.com
Expand Down
1 change: 1 addition & 0 deletions mic/conf.py
Expand Up @@ -41,6 +41,7 @@ class ConfigMgr(object):
"logfile": None,
"record_pkgs": [],
"compress_disk_image": None,
"distro_name": "Default Distribution",
},
'chroot': {},
'convert': {},
Expand Down
3 changes: 1 addition & 2 deletions mic/imager/baseimager.py
Expand Up @@ -109,8 +109,7 @@ def __init__(self, createopts = None, pkgmgr = None):

self._dep_checks = ["ls", "bash", "cp", "echo", "modprobe", "passwd"]

#FIXME to be obsolete, make it configurable
self.distro_name = "Tizen"
self.distro_name = createopts['distro_name']

# Output image file names
self.outimage = []
Expand Down

0 comments on commit 6d189fc

Please sign in to comment.