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:52:18 +0100 |
commit | eb77b9c11bd9b8dc90aacfbd5b5bc5568a233525 (patch) | |
tree | 4e5c77cee3be7abf65875b4725e8e4cce739fdba /scripts/lib/mic/imager/baseimager.py | |
parent | dfa8626700269141f8d2f5be12c8758db7ca6473 (diff) | |
download | openembedded-core-eb77b9c11bd9b8dc90aacfbd5b5bc5568a233525.tar.gz openembedded-core-eb77b9c11bd9b8dc90aacfbd5b5bc5568a233525.tar.bz2 openembedded-core-eb77b9c11bd9b8dc90aacfbd5b5bc5568a233525.zip |
wic: Remove unused conf support
Also fix up users such as imager functions.
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
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): runner.show('umount -l %s' % self.workdir) - def mount(self, base_on = None, cachedir = None): + def mount(self): """Setup the target filesystem in preparation for an install. This function sets up the filesystem which the ImageCreator will @@ -184,20 +184,11 @@ class BaseImageCreator(object): install root directory, bind mounts some system directories (e.g. /dev) and writes out /etc/fstab. Other subclasses may also e.g. create a sparse file, format it and loopback mount it to the install root. - - base_on -- a previous install on which to base this install; defaults - to None, causing a new image to be created - - cachedir -- a directory in which to store the Yum cache; defaults to - None, causing a new cache to be created; by setting this - to another directory, the same cache can be reused across - multiple installs. - """ self.__setup_tmpdir() self.__ensure_builddir() - self._mount_instroot(base_on) + self._mount_instroot() def unmount(self): """Unmounts the target filesystem. |