Re: [gentoo-portage-dev] Re: [PATCH] Add emerge --autounmask-continue option (bug 582624)

2016-07-02 Thread Brian Dolbec
On Fri, 1 Jul 2016 22:40:47 -0700
Zac Medico  wrote:

> On 07/01/2016 03:46 PM, Zac Medico wrote:
> > On 07/01/2016 12:37 AM, Zac Medico wrote:  
> >> @@ -327,6 +341,11 @@ def action_build(settings, trees, mtimedb,
> >>display_missing_pkg_set(root_config,
> >> e.value) return 1
> >>  
> >> +  if success and mydepgraph.need_config_reload():
> >> +
> >> load_emerge_config(emerge_config=emerge_config)
> >> +  adjust_configs(emerge_config.opts,
> >> emerge_config.trees)
> >> +  settings, trees, mtimedb = emerge_config
> >> +  
> > 
> > The Package instances inside the depgraph are still going to
> > reference the old RootConfig instances, so I'll update the patch to
> > solve that somehow.  
> 
> Fixed in v2 by making load_emerge_config update existing RootConfig
> instances in-place.

looks fine to me
-- 
Brian Dolbec 




Re: [gentoo-dev] Need design help/input for eclean-kernel

2016-07-02 Thread Christopher Head
On Thu, 30 Jun 2016 14:38:26 +0200
Michał Górny  wrote:

> So if you have some time, please reply to this thread with
> a specific /boot layout that you think needs to be handled, with
> as much helpful information as possible -- including possible
> distinctive features and pitfalls.

I use genkernel to build my kernels and initramfsen. Most of my
machines don’t support EFI, so my /boot contains a bunch of
{initramfs,kernel,System.map}-$KV files plus the
{initramfs,kernel,System.map}.old symlinks. My GRUB2 grub.cfg points at
the symlinks. Once in a while (usually when I get disk full errors on
the dedicated partition) I delete the old files by hand.

A couple of my machines do support EFI. On those, I set INSTALL=no in
genkernel.conf. I then run a custom script afterwards which maintains
directories /boot/EFI/gentoo and /boot/EFI/gentoo-old. Each of these
contains a file kernel.efi and another file initramfs. This is FAT, so
no symlinks. The script deletes gentoo-old, copies gentoo to
gentoo-old, and finally puts the new files in gentoo. I have EFI boot
records pointing to both, using initrd=\gentoo\initramfs syntax.
-- 
Christopher Head


pgp7PeYxC9xcO.pgp
Description: OpenPGP digital signature