From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@openembedded.org
Subject: pkg_postinst_* not working anymore -> broken packages
Date: Sun, 08 Jun 2008 19:14:13 +0200 [thread overview]
Message-ID: <g2h415$pk1$1@ger.gmane.org> (raw)
Hi,
Lately I have been wondering why things like avahi and umount don't work
properly any more in angstrom 2008, and I found out why:
OE (and/or bitbake) ignores pkg_postinst_*
From avahi.inc:
pkg_postinst_avahi-daemon () {
# can't do this offline
if [ "x$D" != "x" ]; then
exit 1
fi
grep "^avahi:" /etc/group > /dev/null || addgroup avahi
grep "^avahi:" /etc/passwd > /dev/null || adduser
--disabled-password --system --home /var/run/avahi-daemon
--no-create-home avahi --ingroup avahi -g Avahi
DBUSPID=`pidof dbus-daemon`
if [ "x$DBUSPID" != "x" ]; then
/etc/init.d/dbus-1 force-reload
fi
}
In the rootfs:
root@efika:/usr/lib/opkg/info# cat avahi-daemon.postinst
#!/bin/sh
if test "x$D" != "x"; then
OPT="-r $D"
else
OPT="-s"
fi
update-rc.d $OPT avahi-daemon defaults 21 19
The same happens with the u-a calls for util-linux-(u)mount
This occurs with .dev + bitbake 1.8 head
regards,
Koen
next reply other threads:[~2008-06-08 17:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-08 17:14 Koen Kooi [this message]
2008-06-08 18:52 ` pkg_postinst_* not working anymore -> broken packages Graeme Gregory
2008-06-08 19:18 ` Koen Kooi
2008-06-09 8:42 ` Koen Kooi
2008-06-09 10:32 ` Koen Kooi
2008-06-10 19:26 ` Jeremy Lainé
2008-06-10 19:50 ` Koen Kooi
2008-06-10 22:07 ` Richard Purdie
2008-06-11 8:23 ` Leon Woestenberg
2008-06-11 9:47 ` Richard Purdie
2008-06-11 11:12 ` Koen Kooi
2008-06-11 11:32 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='g2h415$pk1$1@ger.gmane.org' \
--to=k.kooi@student.utwente.nl \
--cc=openembedded-devel@lists.openembedded.org \
--cc=openembedded-devel@openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.