All of lore.kernel.org
 help / color / mirror / Atom feed
* pkg_postinst_* not working anymore -> broken packages
@ 2008-06-08 17:14 Koen Kooi
  2008-06-08 18:52 ` Graeme Gregory
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Koen Kooi @ 2008-06-08 17:14 UTC (permalink / raw)
  To: openembedded-devel

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






^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-06-11 11:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-08 17:14 pkg_postinst_* not working anymore -> broken packages Koen Kooi
2008-06-08 18:52 ` 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

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.