Please make the install of /boot/xen-syms-$version optional, best via a useflag. It is pretty large compared to the other contents of /boot, currently mine has 16M. On my device space on /boot is limited, and I don't want that file to be created on every xen installation. Making this file optional should satisfy everyone and save space on /boot. Reproducible: Always
Let's let dlan comment on the merits here too.
I think xen-syms is useful for debugging purpose, so how about make it controlled under USE=debug? or another idea, handle this from user side by using INSTALL_MASK, see "man 5 make.conf"
by handling from user side, I mean # cat /etc/portage/env/xen.conf INSTALL_MASK=/boot/xen-syms* # cat /etc/portage/package.env/general app-emulation/xen xen.conf
(In reply to Yixun Lan from comment #3) > by handling from user side, I mean > > # cat /etc/portage/env/xen.conf > INSTALL_MASK=/boot/xen-syms* > # cat /etc/portage/package.env/general > app-emulation/xen xen.conf This is a much better solution. That's exactly what we have INSTALL_MASK for.
This means no adjustment to ebuilds of xen, rather a prompt to user via elog via pkg_postinst(). If no objection to this I will commit in a week or so. The option of use of INSTALL_MASK effectively provides a fix which need be effected manually by a user post install.
commit 4e6cfc899a24f2d6a6ed9af72abede0973f87053 Author: Ian Delaney <idella4@gentoo.org> Date: Sat Dec 26 15:06:33 2015 +0800 app-emulation/xen: add msg in pkg_postinst to all vns. 4.5 4.5 re xen-syms Prompt from user in bug #552424 to make install of /boot/xen-syms optional, done by informing user via msg in pkg_postinst to do this using INSTALL_MASK Gentoo bug: #552424