Files
poky/meta/recipes-devtools
Qiu Tingting ea989926eb e2fsprogs: Fix error SRCDIR when using usrmerge DISTRO_FEATURES
When build e2fsprogs ptest with usrmerge DISTRO_FEATURES,
    in test_script and test_one scripts, value of SRCDIR has problem.
      SRCDIR=/usr/usr/lib/e2fsprogs/ptest/test

    ptest log
      # ptest-runner e2fsprogs
      START: ptest-runner
      2022-12-17T11:08
      BEGIN: /usr/lib/e2fsprogs/ptest
      ls: cannot access '/usr/usr/lib/e2fsprogs/ptest/test/[a-zA-Z]_*': No such file or directory
      ./test_script: line 54: /usr/usr/lib/e2fsprogs/ptest/test/test_post: No such file or directory
      DURATION: 0
      END: /usr/lib/e2fsprogs/ptest
      2022-12-17T11:08
      STOP: ptest-runner
      TOTAL: 1 FAIL: 0

    Reason
      In Makefile.in, SRCDIR is set by prefix and libdir.
        @echo "SRCDIR=${prefix}${libdir}/e2fsprogs/ptest/test" >> test_one
        @echo "SRCDIR=${prefix}${libdir}/e2fsprogs/ptest/test" >> test_script
      prefix=/usr
      libdir=/usr/lib (when usrmerge is set)

    solution
      Use PTEST_PATH to fix it.

(From OE-Core rev: 85e3b4f1d4b8734b0dd427d107a9f736bca9b7f7)

Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:48 +01:00
..
2023-05-05 11:07:26 +01:00
2023-04-13 11:56:07 +01:00
2023-05-05 11:07:26 +01:00
2023-03-27 15:44:02 +01:00
2022-11-07 14:32:42 +00:00
2023-05-05 11:07:25 +01:00
2022-09-26 22:04:35 +01:00
2023-03-11 00:08:40 +00:00
2023-05-10 17:18:57 +01:00
2023-02-20 15:18:30 +00:00
2023-01-06 12:03:47 +00:00
2022-08-16 14:57:58 +01:00
2023-03-11 00:08:40 +00:00
2023-01-06 12:03:47 +00:00
2022-03-23 12:13:49 +00:00
2023-05-22 10:53:47 +01:00
2023-03-11 00:08:41 +00:00
2022-11-08 22:47:16 +00:00
2023-04-13 11:56:07 +01:00
2023-01-06 12:03:47 +00:00
2022-09-17 07:47:07 +01:00
2022-11-07 14:32:42 +00:00
2023-05-22 10:53:47 +01:00
2023-05-22 10:53:47 +01:00
2023-02-09 09:57:25 +00:00
2023-03-06 09:52:16 +00:00
2023-05-22 10:53:47 +01:00
2023-04-13 11:56:07 +01:00
2023-05-05 11:07:25 +01:00
2023-03-06 09:52:16 +00:00
2022-04-26 18:25:08 +01:00
2022-12-06 15:23:18 +00:00
2022-12-18 19:48:00 +00:00
2023-04-13 11:56:07 +01:00
2022-09-08 14:59:39 +01:00