summaryrefslogtreecommitdiffstats
path: root/meta-agl-test/recipes-devtools/e2fsprogs/e2fsprogs_%.bbappend
blob: 6008d75eefc371636013310819a4c810d6f5bd42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# fix bug for ptest with usrmerge.
# Delete it after yocto version up.
do_compile_ptest:append() {
    sed -i 's,/usr/usr,/usr,g' \
        ${B}/tests/test_one \
        ${B}/tests/test_script

}

# fix bug for ptest with second running.
# Delete it after yocto version up.
do_install_ptest:append() {
    install -d ${D}${PTEST_PATH}/data
    install -m 0644 ${B}/tests/test_data.tmp ${D}${PTEST_PATH}/data/
    echo 'cp ../data/test_data.tmp ./' >> ${D}${PTEST_PATH}/run-ptest
}