[OE-core] update-alternatives questions
Koen Kooi
koen at dominion.thruhere.net
Tue Jan 17 09:07:34 UTC 2012
Op 17 jan. 2012, om 01:43 heeft Andreas Müller het volgende geschreven:
> Hi
>
> when starting a fresh image (angstrom/opkg) I see for xfwm4 (xfce window manager
> included in meta-oe)
>
> S98configure[285]: //var/lib/opkg/info/xfwm4.postinst: line 2: update-
> alternatives: command not found
>
> I checked:
>
> * there is no update-alternatives in my image
> * update-alternatives is packed in update-alternatives-cworth (sub package of
> opkg) which is not part of my image
>
> Isn't it required to have update-alternatives on the target
Yes
> because it is used
> in postinst- / and postrm scripts?
Those should be executed offline during build, so it's only for packages you install later on. Have a look at https://github.com/koenkooi/meta-angstrom/blob/master/recipes-images/angstrom/systemd-image.bb. That recipe will not include packagemanagement and u-a if ONLINE_PACKAGE_MANAGEMENT is set to none.
regards,
Koen
More information about the Openembedded-core
mailing list