From d668b80e866c8bb512a10bad22b0080d7afe3453 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Tue, 20 Jul 2010 12:57:19 -0700 Subject: meta/classes/rootfs_rpm.bbclass: re implement base on rpm5 Re implement the rootfs generation using rpm5. This also gets rid of the need for yum, and handles all dep resolving internal to the script itself. The new file scripts/rootfs_rpm-extract-postinst.awk comes from the original yum integration work. It has been unchanged, but since yum is no longer used we needed to move the script somewhere else. Signed-off-by: Mark Hatle --- scripts/rootfs_rpm-extract-postinst.awk | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 scripts/rootfs_rpm-extract-postinst.awk (limited to 'scripts/rootfs_rpm-extract-postinst.awk') diff --git a/scripts/rootfs_rpm-extract-postinst.awk b/scripts/rootfs_rpm-extract-postinst.awk new file mode 100644 index 0000000000..8f2836b32c --- /dev/null +++ b/scripts/rootfs_rpm-extract-postinst.awk @@ -0,0 +1,11 @@ +/Name:.*/ { + package = substr($0, 7) + next +} +/postinstall.*scriptlet .*/ { + next +} +{ + print $0 >> ENVIRON["D"] "/etc/rpm-postinsts/" package ".sh" +} + -- cgit 1.2.3-korg