On Sun, Sep 20, 2015 at 8:56 PM, Andreas Müller <[email protected]> wrote: > On Sun, Sep 20, 2015 at 12:30 PM, Andreas Müller > <[email protected]> wrote: >> Hi, >> >> on images build with current master the postinsts for first run on >> target are broken. Looking into >> >> 'meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service' >> >> I would expect >> >> '/etc/*-postinsts' >> >> in the image created for packets creating >> >> '<package>.postinst returned 1, marking as unpacked only, >> configuration required on target.' >> >> in log.do_rootfs. I grepped around but could not find the place >> creating the files '/etc/*-postinsts'. Where are these files supposed >> to be created? >> >> Meanwhile I'll start a build with working configuration to find out >> where they are created... >> Sorry for spamming on this but it's important for me and kind of documentation. So:
For test I commented out | ConditionPathExistsGlob=#SYSCONFDIR#/*-postinsts from 'meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service' And I see a postinstall.log again but the content does not make me happy: | /usr/sbin/run-postinsts: line 76: opkg: command not found Yes I forgot to say: I am using opkg - and it seems it did not make it's way in my image! This seems to explain that directory /etc/ipk-postinsts is missing (and forget suspecting systemd -> previous mail). Just a problem of opkg or are other package-managers missing on image either? Andreas -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
