summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorGui Chen <gui.chen@intel.com>2012-08-15 21:33:04 +0800
committerGui Chen <gui.chen@intel.com>2012-08-16 18:51:05 +0800
commit7ef2a516fc25332f99c1f4b741716259349ac18c (patch)
treec77b50195eabdc82b343793104aa394be6dd801a /setup.py
parenta68f4adb7d3aa37b4002830724de25497e9c6b83 (diff)
downloadmic-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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index f68c1c0..83ad835 100644
--- a/setup.py
+++ b/setup.py
@@ -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