All of lore.kernel.org
 help / color / mirror / Atom feed
* Issues removing RRECOMMENDS packages with BAD_RECOMMENDATIONS
@ 2014-09-29 11:43 Carr, Chris (GE Intelligent Platforms)
  2014-10-06 12:25 ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Carr, Chris (GE Intelligent Platforms) @ 2014-09-29 11:43 UTC (permalink / raw)
  To: yocto

Hi,

I have successfully built a custom root filesystem, but I'm having issues stopping certain packages from being installed.

Basically the BAD_RECOMMENDATIONS that I have defined is not removing/preventing the installation of the RRECOMMENDS packages. This is using opkg as the package manager.

I am using:

BAD_RECOMMENDATIONS=" \
    busybox-udhcpc \
    e2fsprogs-e2fsck \
    udev-hwdb \
    update-rc.d \
    vim-help \
    vim-syntax \
    vim-tutor \
    "

All of which are specified as RRECOMMENDS in various recipes.

The BAD_RECOMMENDATIONS all seem to write the correct entries to the /var/lib/opkg/status file (desinstall hold not-installed), which I've confirmed with some debug in the package_manager.py. However when the packages are being installed in the rootfs stage, then only a couple of them are processed and ignored.

The strange thing is, that depending on the verbosity of the opkg-cl command, the number of packages successfully processed changes. The higher the verbosity the more packages from BAD_RECOMMENDATIONS are processed.

I include the output of the rootfs creation below, with the "ignoring recommendation" lines pulled out.

I believe that I am using BAD_RECOMMENDATIONS correctly, I just cannot see what is going wrong.
I've tried with the a newer version of opkg (0.2.3) but that showed the same issues.

Thanks for any help

Chris Carr


-------------------------------

-bash-4.2$ /srv/nfs/chris/owc_up/poky/build/tmp/sysroots/x86_64-linux/usr/bin/opkg-cl -v
opkg version 0.2.2

Default Run:

NOTE: /srv/nfs/chris/owc_up/poky/build/tmp/sysroots/x86_64-linux/usr/bin/opkg-cl -f /srv/nfs/chris/owc_up/poky/build/tmp/work/da923rc-owc_cc-linux-gnuspe/openware-core/1.0-r0/opkg.conf -o /srv/nfs/chris/owc_up/poky/build/tmp/work/da923rc-owc_cc-linux-gnuspe/openware-core/1.0-r0/rootfs --force_postinstall --prefer-arch-to-version   install opkg-collateral packagegroup-owc-system packagegroup-owc-boot packagegroup-owc-net opkg packagegroup-owc-ruby

vim: ignoring recommendation for vim-syntax at user request
systemd: ignoring recommendation for e2fsprogs-e2fsck at user request

Debug V1:

NOTE: /srv/nfs/chris/owc_up/poky/build/tmp/sysroots/x86_64-linux/usr/bin/opkg-cl -V1 -f /srv/nfs/chris/owc_up/poky/build/tmp/work/da923rc-owc_cc-linux-gnuspe/openware-core/1.0-r0/opkg.conf -o /srv/nfs/chris/owc_up/poky/build/tmp/work/da923rc-owc_cc-linux-gnuspe/openware-core/1.0-r0/rootfs --force_postinstall --prefer-arch-to-version   install opkg-collateral packagegroup-owc-system packagegroup-owc-boot packagegroup-owc-net opkg packagegroup-owc-ruby

vim: ignoring recommendation for vim-syntax at user request
systemd: ignoring recommendation for e2fsprogs-e2fsck at user request

Debug V2:

NOTE: /srv/nfs/chris/owc_up/poky/build/tmp/sysroots/x86_64-linux/usr/bin/opkg-cl -V2 -f /srv/nfs/chris/owc_up/poky/build/tmp/work/da923rc-owc_cc-linux-gnuspe/openware-core/1.0-r0/opkg.conf -o /srv/nfs/chris/owc_up/poky/build/tmp/work/da923rc-owc_cc-linux-gnuspe/openware-core/1.0-r0/rootfs --force_postinstall --prefer-arch-to-version   install opkg-collateral packagegroup-owc-system packagegroup-owc-boot packagegroup-owc-net opkg packagegroup-owc-ruby

vim: ignoring recommendation for vim-syntax at user request
systemd: ignoring recommendation for udev-hwdb at user request
systemd: ignoring recommendation for e2fsprogs-e2fsck at user request

Debug V3:

NOTE: /srv/nfs/chris/owc_up/poky/build/tmp/sysroots/x86_64-linux/usr/bin/opkg-cl -V3 -f /srv/nfs/chris/owc_up/poky/build/tmp/work/da923rc-owc_cc-linux-gnuspe/openware-core/1.0-r0/opkg.conf -o /srv/nfs/chris/owc_up/poky/build/tmp/work/da923rc-owc_cc-linux-gnuspe/openware-core/1.0-r0/rootfs --force_postinstall --prefer-arch-to-version   install opkg-collateral packagegroup-owc-system packagegroup-owc-boot packagegroup-owc-net opkg packagegroup-owc-ruby

vim: ignoring recommendation for vim-help at user request
vim: ignoring recommendation for vim-syntax at user request
vim: ignoring recommendation for vim-tutor at user request
rsyslog: ignoring recommendation for update-rc.d at user request
busybox: ignoring recommendation for update-rc.d at user request
busybox: ignoring recommendation for busybox-udhcpc at user request
dbus-1: ignoring recommendation for update-rc.d at user request
systemd: ignoring recommendation for update-rc.d at user request
systemd: ignoring recommendation for udev-hwdb at user request
systemd: ignoring recommendation for e2fsprogs-e2fsck at user request
run-postinsts: ignoring recommendation for update-rc.d at user request
ntp: ignoring recommendation for update-rc.d at user request
quagga: ignoring recommendation for update-rc.d at user request
dropbear: ignoring recommendation for update-rc.d at user request
rarpd: ignoring recommendation for update-rc.d at user request

Debug V4:

NOTE: /srv/nfs/chris/owc_up/poky/build/tmp/sysroots/x86_64-linux/usr/bin/opkg-cl -V4 -f /srv/nfs/chris/owc_up/poky/build/tmp/work/da923rc-owc_cc-linux-gnuspe/openware-core/1.0-r0/opkg.conf -o /srv/nfs/chris/owc_up/poky/build/tmp/work/da923rc-owc_cc-linux-gnuspe/openware-core/1.0-r0/rootfs --force_postinstall --prefer-arch-to-version   install opkg-collateral packagegroup-owc-system packagegroup-owc-boot packagegroup-owc-net opkg packagegroup-owc-ruby

vim: ignoring recommendation for vim-help at user request
vim: ignoring recommendation for vim-syntax at user request
vim: ignoring recommendation for vim-tutor at user request
rsyslog: ignoring recommendation for update-rc.d at user request
busybox: ignoring recommendation for update-rc.d at user request
busybox: ignoring recommendation for busybox-udhcpc at user request
dbus-1: ignoring recommendation for update-rc.d at user request
systemd: ignoring recommendation for update-rc.d at user request
systemd: ignoring recommendation for udev-hwdb at user request
systemd: ignoring recommendation for e2fsprogs-e2fsck at user request
run-postinsts: ignoring recommendation for update-rc.d at user request
ntp: ignoring recommendation for update-rc.d at user request
quagga: ignoring recommendation for update-rc.d at user request
dropbear: ignoring recommendation for update-rc.d at user request
rarpd: ignoring recommendation for update-rc.d at user request




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

end of thread, other threads:[~2014-10-07 14:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-29 11:43 Issues removing RRECOMMENDS packages with BAD_RECOMMENDATIONS Carr, Chris (GE Intelligent Platforms)
2014-10-06 12:25 ` Burton, Ross
2014-10-07 10:20   ` Carr, Chris (GE Intelligent Platforms)
2014-10-07 10:26     ` Burton, Ross
2014-10-07 14:04       ` Carr, Chris (GE Intelligent Platforms)

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.