d668b80e86
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>
12 lines
158 B
Awk
12 lines
158 B
Awk
/Name:.*/ {
|
|
package = substr($0, 7)
|
|
next
|
|
}
|
|
/postinstall.*scriptlet .*/ {
|
|
next
|
|
}
|
|
{
|
|
print $0 >> ENVIRON["D"] "/etc/rpm-postinsts/" package ".sh"
|
|
}
|
|
|