All of lore.kernel.org
 help / color / mirror / Atom feed
* BAD_RECOMMENDATIONS is broken
@ 2009-11-18 10:26 Sebastian Spaeth
  2009-11-18 10:35 ` BAD_RECOMMENDATIONS is broken (opkg issue) Sebastian Spaeth
  0 siblings, 1 reply; 6+ messages in thread
From: Sebastian Spaeth @ 2009-11-18 10:26 UTC (permalink / raw)
  To: openembedded-devel

minimal.conf has
DISTRO_EXTRA_RRECOMMENDS += "[...] avahi-daemon avahi-autoipd [...]"
which leads to task-distro-base recommending those packages.

Trying to override this with
BAD_RECOMMENDATIONS="avahi-daemon avahi-autoipd"
does not wotk though, it's still pulled in.

This is what rootfs_ipk.bbclass does:

        STATUS=${IMAGE_ROOTFS}${libdir}/opkg/status
        # prime the status file with bits that we don't want
        for i in ${BAD_RECOMMENDATIONS}; do
                echo "Package: $i" >> $STATUS
                echo "Architecture: ${TARGET_ARCH}" >> $STATUS
                echo "Status: deinstall ok not-installed" >> $STATUS
                echo >> $STATUS
        done

which actually writes out the correct stuff

+STATUS=/home/[...]/tmp/rootfs/shr-image/usr/lib/opkg/status
+for i in avahi-daemon avahi-autoipd
+echo 'Package: avahi-daemon'
+echo 'Architecture: arm'
+echo 'Status: deinstall ok not-installed'
+echo
+for i in avahi-daemon avahi-autoipd
+echo 'Package: avahi-autoipd'
+echo 'Architecture: arm'
+echo 'Status: deinstall ok not-installed'
+echo

However, when task-distro-base is installed it still pulls in
avahi-daemon, so I think this way of handling BAD_RECOMMENDATIONS is
broken by different opkg behavior.

Any solution (besides removing avahi from minimal.conf where I don't
think it should be in the first place)?

spaetz



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

end of thread, other threads:[~2010-02-24 21:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-18 10:26 BAD_RECOMMENDATIONS is broken Sebastian Spaeth
2009-11-18 10:35 ` BAD_RECOMMENDATIONS is broken (opkg issue) Sebastian Spaeth
2009-11-18 21:20   ` Graham Gower
2009-11-18 22:12     ` Phil Blundell
2009-11-18 22:55       ` Graham Gower
2010-02-24 20:58         ` Denys Dmytriyenko

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.