diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2014-01-27 16:22:05 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-11 11:50:30 +0000 |
commit | 61981755b4738ccc49be0e790de828f4166ef0e8 (patch) | |
tree | 000a4b85cb5d0903f8590112d283748dc9782b18 /meta/lib/oe | |
parent | 96bf2a93bb75fea23732014106039e14d72cd1c7 (diff) | |
download | openembedded-core-61981755b4738ccc49be0e790de828f4166ef0e8.tar.gz openembedded-core-61981755b4738ccc49be0e790de828f4166ef0e8.tar.bz2 openembedded-core-61981755b4738ccc49be0e790de828f4166ef0e8.zip |
package_manger.py/rootfs.py: rename save_rpmpostinist with save_rpmpostinst
The tweak made the code looks better.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/package_manager.py | 4 | ||||
-rw-r--r-- | meta/lib/oe/rootfs.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index ea7866fff7..811ad09e68 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py @@ -730,7 +730,7 @@ class RpmPM(PackageManager): return - def save_rpmpostinist(self, pkg): + def save_rpmpostinst(self, pkg): mlibs = self.d.getVar('MULTILIB_GLOBAL_VARIANTS').split() new_pkg = pkg # Remove any multilib prefix from the package name @@ -755,7 +755,7 @@ class RpmPM(PackageManager): os.chmod(saved_dir, 0755) self._unlock_rpm_db() except subprocess.CalledProcessError as e: - bb.fatal("Invoke save_rpmpostinist failed. Command %s " + bb.fatal("Invoke save_rpmpostinst failed. Command %s " "returned %d" % (cmd, e.returncode)) '''Write common configuration for target usage''' diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py index db54e17b28..1f4cea68a8 100644 --- a/meta/lib/oe/rootfs.py +++ b/meta/lib/oe/rootfs.py @@ -378,7 +378,7 @@ class RpmRootfs(Rootfs): # Save the package postinstalls in /etc/rpm-postinsts for pkg in registered_pkgs.split(): - self.pm.save_rpmpostinist(pkg) + self.pm.save_rpmpostinst(pkg) class DpkgRootfs(Rootfs): |