rootfs_rpm: Escape the backtick to ensure the ls runs on the target
authorSaul Wold <sgw@linux.intel.com>
Tue, 29 Jan 2013 23:04:26 +0000 (15:04 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Jan 2013 00:03:01 +0000 (00:03 +0000)
commit7b096bc5d02a6279a791fdf519339c281f42e4bf
tree8f3161a28e2e94b47cbba4b3d0c78f9bf7e6c458
parente36f1907c71cdde1872904a5e95fc10c65820deb
rootfs_rpm: Escape the backtick to ensure the ls runs on the target

This change ensures that the ls /etc/rpm-postinsts runs in the target
at first boot time, rather than at the creation time of the script on
the host.

This was causing the following error in the rootfs log:

+ install -d /srv/ssd/sgw/machines/fri2/tmp/work/fri2-poky-linux/core-image-minimal/1.0-r0/rootfs//etc/rcS.d
+ i=
+ ls /etc/rpm-postinsts/
ls: cannot access /etc/rpm-postinsts/: No such file or directory

(From OE-Core rev: e893cf0b3843701e80f5c9f47be04d1a88e5ed68)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/rootfs_rpm.bbclass