diff options
author | Zhenhua Luo <zhenhua.luo@freescale.com> | 2013-03-28 12:18:45 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-29 10:40:54 +0000 |
commit | 4b50385e2c828f5ade20bd62b0cc145b0492d613 (patch) | |
tree | aa9a1afe0b093df365ae84a96ee90cdef5e5c0da /meta/classes | |
parent | bacdb99a424fd96e5e60b740e1910163daa74aef (diff) | |
download | poky-4b50385e2c828f5ade20bd62b0cc145b0492d613.tar.gz |
rpm: split out run-postinsts
1. Split out run-postinsts script into separated package, sometimes only the
postinsts script is required to run all postinsts scripts in /etc/rpm-postinsts/
instead of the whole rpm package.
2. Set ROOTFS_PKGMANAGE_BOOTSTRAP to rpm-postinsts
(From OE-Core rev: 056490ddbfdbb6cc6fa0d8ff8716d64819d6b16c)
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/rootfs_rpm.bbclass | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index 1d3ea641f0..d373dab408 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass | |||
@@ -3,6 +3,7 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | ROOTFS_PKGMANAGE = "rpm smartpm" | 5 | ROOTFS_PKGMANAGE = "rpm smartpm" |
6 | ROOTFS_PKGMANAGE_BOOTSTRAP = "rpm-postinsts" | ||
6 | 7 | ||
7 | # Add 50Meg of extra space for Smart | 8 | # Add 50Meg of extra space for Smart |
8 | IMAGE_ROOTFS_EXTRA_SPACE_append = "${@base_contains("PACKAGE_INSTALL", "smartpm", " + 51200", "" ,d)}" | 9 | IMAGE_ROOTFS_EXTRA_SPACE_append = "${@base_contains("PACKAGE_INSTALL", "smartpm", " + 51200", "" ,d)}" |
@@ -10,9 +11,6 @@ IMAGE_ROOTFS_EXTRA_SPACE_append = "${@base_contains("PACKAGE_INSTALL", "smartpm" | |||
10 | # Smart is python based, so be sure python-native is available to us. | 11 | # Smart is python based, so be sure python-native is available to us. |
11 | EXTRANATIVEPATH += "python-native" | 12 | EXTRANATIVEPATH += "python-native" |
12 | 13 | ||
13 | # Postinstalls on device are handled within this class at present | ||
14 | ROOTFS_PKGMANAGE_BOOTSTRAP = "" | ||
15 | |||
16 | do_rootfs[depends] += "rpm-native:do_populate_sysroot" | 14 | do_rootfs[depends] += "rpm-native:do_populate_sysroot" |
17 | do_rootfs[depends] += "rpmresolve-native:do_populate_sysroot" | 15 | do_rootfs[depends] += "rpmresolve-native:do_populate_sysroot" |
18 | do_rootfs[depends] += "python-smartpm-native:do_populate_sysroot" | 16 | do_rootfs[depends] += "python-smartpm-native:do_populate_sysroot" |