public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH 0/1] rootfs_rpm.bbclass: fix a bug in run-postinst script
@ 2013-01-29  9:02 Qi.Chen
  2013-01-29  9:02 ` [PATCH 1/1] " Qi.Chen
  0 siblings, 1 reply; 2+ messages in thread
From: Qi.Chen @ 2013-01-29  9:02 UTC (permalink / raw)
  To: openembedded-core; +Cc: Zhenfeng.Zhao

From: Chen Qi <Qi.Chen@windriver.com>

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(-)

-- 
1.7.9.5




^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] rootfs_rpm.bbclass: fix a bug in run-postinst script
  2013-01-29  9:02 [PATCH 0/1] rootfs_rpm.bbclass: fix a bug in run-postinst script Qi.Chen
@ 2013-01-29  9:02 ` Qi.Chen
  0 siblings, 0 replies; 2+ messages in thread
From: Qi.Chen @ 2013-01-29  9:02 UTC (permalink / raw)
  To: openembedded-core; +Cc: Zhenfeng.Zhao

From: Chen Qi <Qi.Chen@windriver.com>

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]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/classes/rootfs_rpm.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index accd7d9..119bf92 100644
--- a/meta/classes/rootfs_rpm.bbclass
+++ b/meta/classes/rootfs_rpm.bbclass
@@ -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
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-29  9:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-29  9:02 [PATCH 0/1] rootfs_rpm.bbclass: fix a bug in run-postinst script Qi.Chen
2013-01-29  9:02 ` [PATCH 1/1] " Qi.Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox