mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 03:32:13 +02:00
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:
committed by
Richard Purdie
parent
8760cde94a
commit
d668b80e86
11
scripts/rootfs_rpm-extract-postinst.awk
Normal file
11
scripts/rootfs_rpm-extract-postinst.awk
Normal file
@@ -0,0 +1,11 @@
|
||||
/Name:.*/ {
|
||||
package = substr($0, 7)
|
||||
next
|
||||
}
|
||||
/postinstall.*scriptlet .*/ {
|
||||
next
|
||||
}
|
||||
{
|
||||
print $0 >> ENVIRON["D"] "/etc/rpm-postinsts/" package ".sh"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user