[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error system reconfigure with guix-latest
From: |
宋文武 |
Subject: |
Re: Error system reconfigure with guix-latest |
Date: |
Sun, 04 Mar 2018 23:01:59 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Jone <address@hidden> writes:
> Hello!
> I'm newbie. After update system (guix pull) I see this error:
>
> address@hidden ~# guix system -n reconfigure /etc/CURRENT.scm
> /etc/CURRENT.scm:37:24: error: you need these modules in the initrd for
> /dev/sdb2: sata_nv pata_acpi
Hello, this is due to recently added functinon to detect missing modules
in the initrd: <https://debbugs.gnu.org/30629>.
To fix it, you can use 'initrd-modules' instead of the 'initrd' field in
the 'operating-system' record.
>
> BUT:
> 1. Prior to this (before upgrade) everything was OK
> 2. sata_nv and pata_acpi already selected in CURRENT.scm:
>
> (operating-system
> (host-name "guix")
> (timezone "Europe/Moscow")
> (locale "en_US.utf8")
> (bootloader (bootloader-configuration
> (bootloader grub-bootloader)
> (target "/dev/sdd")))
> (initrd (lambda (file-systems . rest)
> (apply base-initrd file-systems
> #:extra-modules '("sata_nv" "pata_acpi")
> rest)))
This '#:extra-modules' usage is deprecated by the newly added
'initrd-modules' field in 'operating-system'. For example:
<https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/system/examples/beaglebone-black.tmpl#n19>
> (file-systems (cons*
> (file-system
> (device "two")
> (mount-point "/")
> (type "ext4")
> (title 'label))
> (file-system
> (device "one")
> (mount-point "/home")
> (type "ext4")
> (title 'label))
> %base-file-systems))
>
> I didn't find any answers in GuixSD documentation..
Well, the guix info manual did got updated, but currently 'guix pull'
won't bring it, for reference: <https://debbugs.gnu.org/22629>.
- Error system reconfigure with guix-latest, Jone, 2018/03/04
- Re: Error system reconfigure with guix-latest,
宋文武 <=
- Re: Error system reconfigure with guix-latest, Alex Kost, 2018/03/04
- Re: Error system reconfigure with guix-latest, Jone, 2018/03/04
- Re: Error system reconfigure with guix-latest, Ludovic Courtès, 2018/03/05
- Re: Error system reconfigure with guix-latest, Jone, 2018/03/05
- Re: Error system reconfigure with guix-latest, Ludovic Courtès, 2018/03/05
- Re: Error system reconfigure with guix-latest, Jone, 2018/03/05
- Re: Error system reconfigure with guix-latest, Ludovic Courtès, 2018/03/06
- Re: Error system reconfigure with guix-latest, Jone, 2018/03/06
- Re: Error system reconfigure with guix-latest, Ludovic Courtès, 2018/03/07