diff options
author | Gui Chen <gui.chen@intel.com> | 2012-08-15 21:33:04 +0800 |
---|---|---|
committer | Gui Chen <gui.chen@intel.com> | 2012-08-16 18:51:05 +0800 |
commit | 7ef2a516fc25332f99c1f4b741716259349ac18c (patch) | |
tree | c77b50195eabdc82b343793104aa394be6dd801a /setup.py | |
parent | a68f4adb7d3aa37b4002830724de25497e9c6b83 (diff) | |
download | mic-7ef2a516fc25332f99c1f4b741716259349ac18c.tar.gz mic-7ef2a516fc25332f99c1f4b741716259349ac18c.tar.bz2 mic-7ef2a516fc25332f99c1f4b741716259349ac18c.zip |
provide bootstrap.conf to handle bootstrap
Signed-off-by: Gui Chen <gui.chen@intel.com>
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -78,6 +78,7 @@ else: etc_prefix = os.path.join(prefix, 'etc') conffile = 'distfiles/mic.conf' +bsconf = 'distfiles/bootstrap.conf' if os.path.isfile('%s/mic/mic.conf' % etc_prefix): conffile += '.new' @@ -101,7 +102,7 @@ try: packages = PACKAGES, data_files = [("%s/lib/mic/plugins/imager" % prefix, IMAGER_PLUGINS), ("%s/lib/mic/plugins/backend" % prefix, BACKEND_PLUGINS), - ("%s/mic" % etc_prefix, [conffile])] + ("%s/mic" % etc_prefix, [conffile, bsconf])] ) finally: # remove dynamic file distfiles/mic.conf |