[oe] [meta-oe] p7zip recipe broken with rm_work

Jan-Simon Möller dl9pf at gmx.de
Thu Nov 3 11:03:10 UTC 2016


Hi !

./meta-oe/recipes-extended/p7zip/p7zip_9.20.1.bb

defines:

do_install_class-native() {
    install -d ${D}${bindir}
    install -d ${D}${bindir}/Codecs
    install -m 0755 ${S}/bin/7* ${D}${bindir}
    install -m 0755 ${S}/bin/Codecs/* ${D}${bindir}/Codecs

    # Create a shell script wrapper to execute next to 7z.so
    mv ${D}${bindir}/7z ${D}${bindir}/7z.bin
    echo "#! /bin/sh" > ${D}${bindir}/7z
    echo "exec ${D}${bindir}/7z.bin \"\$@\"" >> ${D}${bindir}/7z
    chmod 0755 ${D}${bindir}/7z
}

This wrapper breaks with "rm_work". Shouldn't it use the sysroot ?

Best,
-- 
--
Jan-Simon Möller
dl9pf at gmx.de



More information about the Openembedded-devel mailing list