On Tue, 27 Feb 2024 at 08:10, Changqing Li <changqing...@eng.windriver.com> wrote: > + > + install -d ${D}/${sysconfdir} > + install -m 0644 ${S}/doc/etc/rxvt-unicode.terminfo > ${D}/${sysconfdir}/rxvt-unicode.terminfo > +} > + > +RDEPENDS:${PN} = "ncurses-tools" > +PACKAGE_WRITE_DEPS += "qemu-native" > +pkg_postinst:${PN} () { > + if [ -n "$D" ]; then > + if ${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', > 'true', 'false', d)}; then > + outdir=$(${@qemu_run_binary(d, '$D', > '${bindir}/tic')} -D 2>&1 | sed -n "2p" | awk '{ print $2 }') > + ${@qemu_run_binary(d, '$D', '${bindir}/tic')} -x > ${sysconfdir}/rxvt-unicode.terminfo -o $D$outdir > + fi > + fi > }
I would really prefer to make native tic do the right thing, if the only problem is that it installs the needed items into the wrong location. qemu usermode is notoriously brittle, and isn't available on some targets at all. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#196248): https://lists.openembedded.org/g/openembedded-core/message/196248 Mute This Topic: https://lists.openembedded.org/mt/104598938/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-