unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* grub.cfg.drv gets rebuilt
@ 2016-08-15 15:33 Vincent Legoll
  2016-08-16  5:28 ` Eric Bavier
  0 siblings, 1 reply; 3+ messages in thread
From: Vincent Legoll @ 2016-08-15 15:33 UTC (permalink / raw)
  To: help-guix

I'm wondering if it's normal to have *-grub.cfg.drv rebuilt on
successive "guix system reconfigure", when nothing has
changed between first and subsequent runs.

Is this reproducible on your GuixSD systems ?

root@guixsd /etc# guix system reconfigure /etc/config.scm
The following derivation will be built:
   /gnu/store/786b130gin8jrhksbwfimpi2xjnc2fsd-grub.cfg.drv
/gnu/store/j05dqpaj3ln3s512nzp39i4nzrpfxwaf-system
/gnu/store/900qjchmspy9iyxyzz48bw2sh5k861nq-grub.cfg
/gnu/store/gka9rl2k8mqqi27rrvjpgz6yw165d3if-grub-2.02beta3
activating system...
setting up setuid programs in '/run/setuid-programs'...
populating /etc from /gnu/store/lwvwgajp7yigf8hmwm56wvf5rh94i5hm-etc...
usermod: no changes
usermod: no changes
usermod: no changes
making '/gnu/store/j05dqpaj3ln3s512nzp39i4nzrpfxwaf-system' the
current system...
Installing for i386-pc platform.
Installation finished. No error reported.

root@guixsd /etc# guix system reconfigure /etc/config.scm
The following derivation will be built:
   /gnu/store/l4lsqqyncz8pq5w4hqjsl49rydjfqwb8-grub.cfg.drv
/gnu/store/j05dqpaj3ln3s512nzp39i4nzrpfxwaf-system
/gnu/store/wb836hy9adib0phxvzzcdigvhmvaq52d-grub.cfg
/gnu/store/gka9rl2k8mqqi27rrvjpgz6yw165d3if-grub-2.02beta3
activating system...
setting up setuid programs in '/run/setuid-programs'...
populating /etc from /gnu/store/lwvwgajp7yigf8hmwm56wvf5rh94i5hm-etc...
usermod: no changes
usermod: no changes
usermod: no changes
making '/gnu/store/j05dqpaj3ln3s512nzp39i4nzrpfxwaf-system' the
current system...
Installing for i386-pc platform.
Installation finished. No error reported.

-- 
Vincent Legoll

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

* Re: grub.cfg.drv gets rebuilt
  2016-08-15 15:33 grub.cfg.drv gets rebuilt Vincent Legoll
@ 2016-08-16  5:28 ` Eric Bavier
  2016-08-16  8:59   ` Vincent Legoll
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Bavier @ 2016-08-16  5:28 UTC (permalink / raw)
  To: Vincent Legoll; +Cc: help-guix

On Mon, 15 Aug 2016 17:33:09 +0200
Vincent Legoll <vincent.legoll@gmail.com> wrote:

> I'm wondering if it's normal to have *-grub.cfg.drv rebuilt on
> successive "guix system reconfigure", when nothing has
> changed between first and subsequent runs.
> 
> Is this reproducible on your GuixSD systems ?
> 
> root@guixsd /etc# guix system reconfigure /etc/config.scm
> The following derivation will be built:
>    /gnu/store/786b130gin8jrhksbwfimpi2xjnc2fsd-grub.cfg.drv
> /gnu/store/j05dqpaj3ln3s512nzp39i4nzrpfxwaf-system
> /gnu/store/900qjchmspy9iyxyzz48bw2sh5k861nq-grub.cfg
> /gnu/store/gka9rl2k8mqqi27rrvjpgz6yw165d3if-grub-2.02beta3
> activating system...
> setting up setuid programs in '/run/setuid-programs'...
> populating /etc from /gnu/store/lwvwgajp7yigf8hmwm56wvf5rh94i5hm-etc...
> usermod: no changes
> usermod: no changes
> usermod: no changes
> making '/gnu/store/j05dqpaj3ln3s512nzp39i4nzrpfxwaf-system' the
> current system...
> Installing for i386-pc platform.
> Installation finished. No error reported.
> 
> root@guixsd /etc# guix system reconfigure /etc/config.scm
> The following derivation will be built:
>    /gnu/store/l4lsqqyncz8pq5w4hqjsl49rydjfqwb8-grub.cfg.drv
> /gnu/store/j05dqpaj3ln3s512nzp39i4nzrpfxwaf-system
> /gnu/store/wb836hy9adib0phxvzzcdigvhmvaq52d-grub.cfg
> /gnu/store/gka9rl2k8mqqi27rrvjpgz6yw165d3if-grub-2.02beta3
> activating system...
> setting up setuid programs in '/run/setuid-programs'...
> populating /etc from /gnu/store/lwvwgajp7yigf8hmwm56wvf5rh94i5hm-etc...
> usermod: no changes
> usermod: no changes
> usermod: no changes
> making '/gnu/store/j05dqpaj3ln3s512nzp39i4nzrpfxwaf-system' the
> current system...
> Installing for i386-pc platform.
> Installation finished. No error reported.
> 

The grub configuration generates menu entries for each invocation of
'guix system reconfigure' to enable system roll-backs during boot-up,
so it is always updated.  The thing that's "changed" is the menu
entries.

`~Eric

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

* Re: grub.cfg.drv gets rebuilt
  2016-08-16  5:28 ` Eric Bavier
@ 2016-08-16  8:59   ` Vincent Legoll
  0 siblings, 0 replies; 3+ messages in thread
From: Vincent Legoll @ 2016-08-16  8:59 UTC (permalink / raw)
  To: Eric Bavier; +Cc: help-guix

On Tue, Aug 16, 2016 at 7:28 AM, Eric Bavier <ericbavier@openmailbox.org> wrote:
>> I'm wondering if it's normal to have *-grub.cfg.drv rebuilt on
>> successive "guix system reconfigure", when nothing has
>> changed between first and subsequent runs.
>
> The grub configuration generates menu entries for each invocation of
> 'guix system reconfigure' to enable system roll-backs during boot-up,
> so it is always updated.  The thing that's "changed" is the menu
> entries.

OK, but if nothing else changed, the menus should stay the same, and
wouldn't need a regeneration...

-- 
Vincent Legoll

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

end of thread, other threads:[~2016-08-16  8:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-15 15:33 grub.cfg.drv gets rebuilt Vincent Legoll
2016-08-16  5:28 ` Eric Bavier
2016-08-16  8:59   ` Vincent Legoll

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).