[OE-core] [PATCH 3/3] rootfs_ipk.bbclass: fix unpacked postinst support if no package management

Otavio Salvador otavio at ossystems.com.br
Fri Feb 17 19:30:41 UTC 2012


On Fri, Feb 17, 2012 at 17:25, Phil Blundell <philb at gnu.org> wrote:

> Er, does it?  My copy doesn't seem to.
>
> pb at x121e:~/oe/oe-core$ grep opkg-cl
> meta/recipes-devtools/dpkg/run-postinsts/*
> pb at x121e:~/oe/oe-core$
>
> Where are you seeing the call to opkg-cl?


I don't use dpkg but opkg.

So, looking at opkg.inc we find out:

...
pkg_postinst_${PN} () {
#!/bin/sh
if [ "x$D" != "x" ]; then
        install -d $D${sysconfdir}/rcS.d
        # this happens at S98 where our good 'ole packages script used to
run
        echo "#!/bin/sh
opkg-cl configure
rm -f /${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
" > $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
        chmod 0755
$D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
fi
...

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120217/25983905/attachment-0002.html>


More information about the Openembedded-core mailing list