rootfs_rpm.bbclass: fix a bug in run-postinst script
cover rootfs_rpm.bbclass: fix a bug in run-postinst script
From: Chen Qi <[email protected]>
The following changes since commit cfb082961a6c9ac3d65738031c4071210529cd07:
bitbake: build.py: Dump out performance data of individual tasks (2013-01-28 14:49:05 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/rootfs_rpm-fix-error
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/rootfs_rpm-fix-error
Chen Qi (1):
rootfs_rpm.bbclass: fix a bug in run-postinst script
meta/classes/rootfs_rpm.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.7.9.5
PATCH 1/1 rootfs_rpm.bbclass: fix a bug in run-postinst script
From: Chen Qi <[email protected]>
This is a follow-up patch which fixes a bug introduced by the commit bd10a6d257ab5ce2fc961788c278af7c43637404.
The `` command substitution characters should be excaped by \ to make things work correctly.
[YOCTO #3767]
--- meta/classes/rootfs_rpm.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/rootfs_rpm.bbclass +1 -1
@@ -108,7 +108,7 @@ fakeroot rootfs_rpm_do_rootfs () { i=\$i cat > ${IMAGE_ROOTFS}${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts << EOF #!/bin/sh -for i in `ls /etc/rpm-postinsts/`; do +for i in \`ls /etc/rpm-postinsts/\`; do i=/etc/rpm-postinsts/$i echo "Running postinst $i..." if [ -f $i ] && $i; then
Signature · 1 line
1.7.9.5