diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2014-08-07 12:04:06 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-11 10:53:11 +0100 |
commit | d74e7d3fa693eb7037a57dfbd0c47bc53255316f (patch) | |
tree | 21a01a1f82c164f27391c807df716d1ed21d39f1 /scripts/lib/mic/imager/baseimager.py | |
parent | 554feeebe07cd47c58a960e6d8193f085427d53a (diff) | |
download | poky-d74e7d3fa693eb7037a57dfbd0c47bc53255316f.tar.gz |
wic: Remove unused conf support
Also fix up users such as imager functions.
(From OE-Core rev: eb77b9c11bd9b8dc90aacfbd5b5bc5568a233525)
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/mic/imager/baseimager.py')
-rw-r--r-- | scripts/lib/mic/imager/baseimager.py | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/scripts/lib/mic/imager/baseimager.py b/scripts/lib/mic/imager/baseimager.py index 55f2deaf2c..0d591eaf43 100644 --- a/scripts/lib/mic/imager/baseimager.py +++ b/scripts/lib/mic/imager/baseimager.py | |||
@@ -176,7 +176,7 @@ class BaseImageCreator(object): | |||
176 | 176 | ||
177 | runner.show('umount -l %s' % self.workdir) | 177 | runner.show('umount -l %s' % self.workdir) |
178 | 178 | ||
179 | def mount(self, base_on = None, cachedir = None): | 179 | def mount(self): |
180 | """Setup the target filesystem in preparation for an install. | 180 | """Setup the target filesystem in preparation for an install. |
181 | 181 | ||
182 | This function sets up the filesystem which the ImageCreator will | 182 | This function sets up the filesystem which the ImageCreator will |
@@ -184,20 +184,11 @@ class BaseImageCreator(object): | |||
184 | install root directory, bind mounts some system directories (e.g. /dev) | 184 | install root directory, bind mounts some system directories (e.g. /dev) |
185 | and writes out /etc/fstab. Other subclasses may also e.g. create a | 185 | and writes out /etc/fstab. Other subclasses may also e.g. create a |
186 | sparse file, format it and loopback mount it to the install root. | 186 | sparse file, format it and loopback mount it to the install root. |
187 | |||
188 | base_on -- a previous install on which to base this install; defaults | ||
189 | to None, causing a new image to be created | ||
190 | |||
191 | cachedir -- a directory in which to store the Yum cache; defaults to | ||
192 | None, causing a new cache to be created; by setting this | ||
193 | to another directory, the same cache can be reused across | ||
194 | multiple installs. | ||
195 | |||
196 | """ | 187 | """ |
197 | self.__setup_tmpdir() | 188 | self.__setup_tmpdir() |
198 | self.__ensure_builddir() | 189 | self.__ensure_builddir() |
199 | 190 | ||
200 | self._mount_instroot(base_on) | 191 | self._mount_instroot() |
201 | 192 | ||
202 | def unmount(self): | 193 | def unmount(self): |
203 | """Unmounts the target filesystem. | 194 | """Unmounts the target filesystem. |