[OE-core] [PATCH] systemd: add ptest

Muhammad Shakeel muhammad_shakeel at mentor.com
Mon Sep 23 09:24:01 UTC 2013


On 09/03/2013 07:50 AM, rongqing.li at windriver.com wrote:
> +do_install_ptest () {
> +       install -d ${D}${PTEST_PATH}/test
> +       install -d ${D}${libdir}/udev/rules.d
> +       install ${B}/test/* ${D}${PTEST_PATH}/test
This patch is merged into master and I am trying to build systemd with 
ptest but I see error that ${B}/test/* doesn't exist (true). It works 
fine if I replace 'B' with 'S' where this directory is actually present.
Is someone else seeing this error or it is something wrong with my 
environment?
> +       install -m 0755  ${B}/test-udev ${D}${PTEST_PATH}/
> +       install -d ${D}${PTEST_PATH}/build-aux
> +       cp -rf ${B}/rules ${D}${PTEST_PATH}/
> +       cp ${B}/Makefile ${D}${PTEST_PATH}/
> +       cp ${B}/build-aux/test-driver ${D}${PTEST_PATH}/build-aux/
Same error here and same solution works here.
> +       tar -C ${D}${PTEST_PATH}/test -xJf ${B}/test/sys.tar.xz
'S' for 'B' here as well.
> +       sed -i 's/"tree"/"ls"/' ${D}${PTEST_PATH}/test/udev-test.pl
> +}
> +
Thanks,
Shakeel



More information about the Openembedded-core mailing list