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 <mhatle@windriver.com>
This commit is contained in:
Mark Hatle
2010-07-20 12:57:19 -07:00
committed by Richard Purdie
parent 8760cde94a
commit d668b80e86
2 changed files with 78 additions and 91 deletions

View File

@@ -0,0 +1,11 @@
/Name:.*/ {
package = substr($0, 7)
next
}
/postinstall.*scriptlet .*/ {
next
}
{
print $0 >> ENVIRON["D"] "/etc/rpm-postinsts/" package ".sh"
}