582cf9257c
Fixes <http://issues.guix.gnu.org/44196> * gnu/machine/ssh.scm (roll-back-managed-host): Use boot-parameters-store-directory-prefix. * gnu/system.scm (define-module): Export boot-parameters-store-directory-prefix. (<boot-parameters>)[store-directory-prefix]: New field. It is used to generate the correct paths when /gnu/store is installed on a btrfs subvolume whose name doesn't match the final runtime path, as the bootloader doesn't have knowledge about the final mounting points. [boot-parameters-store-directory-prefix]: New accessor. (read-boot-parameters): Read directory-prefix from store field. (operating-system-boot-parameters-file): Add directory-prefix to store field. * guix/scripts/system.scm (reinstall-bootloader): Use boot-parameters-store-directory-prefix. * test/boot-parameters.scm (%default-btrfs-subvolume, %default-store-directory-prefix): New variables. (%grub-boot-parameters): Use %default-store-directory-prefix. (%default-operating-system): Use %default-btrfs-subvolume. (test-boot-parameters): Add directory-prefix. (test optional fields): Add test for directory-prefix. (test os store-directory-prefix): New test. |
||
---|---|---|
.. | ||
services | ||
accounts.scm | ||
base16.scm | ||
base32.scm | ||
base64.scm | ||
boot-parameters.scm | ||
bournish.scm | ||
build-utils.scm | ||
builders.scm | ||
cache.scm | ||
challenge.scm | ||
channels.scm | ||
civodul.key | ||
combinators.scm | ||
containers.scm | ||
cpan.scm | ||
cpio.scm | ||
cran.scm | ||
crate.scm | ||
cve-sample.json | ||
cve.scm | ||
debug-link.scm | ||
derivations.scm | ||
discovery.scm | ||
dsa.key | ||
ed25519.key | ||
ed25519.sec | ||
ed25519bis.key | ||
ed25519bis.sec | ||
elpa.scm | ||
file-systems.scm | ||
gem.scm | ||
gexp.scm | ||
git-authenticate.scm | ||
git.scm | ||
glob.scm | ||
gnu-maintenance.scm | ||
grafts.scm | ||
graph.scm | ||
gremlin.scm | ||
guix-archive.sh | ||
guix-authenticate.sh | ||
guix-build-branch.sh | ||
guix-build.sh | ||
guix-daemon.sh | ||
guix-describe.sh | ||
guix-download.sh | ||
guix-environment-container.sh | ||
guix-environment.sh | ||
guix-gc.sh | ||
guix-git-authenticate.sh | ||
guix-graph.sh | ||
guix-hash.sh | ||
guix-lint.sh | ||
guix-pack-localstatedir.sh | ||
guix-pack-relocatable.sh | ||
guix-pack.sh | ||
guix-package-aliases.sh | ||
guix-package-net.sh | ||
guix-package.sh | ||
guix-repl.sh | ||
guix-system.sh | ||
hackage.scm | ||
import-utils.scm | ||
inferior.scm | ||
lint.scm | ||
modules.scm | ||
monads.scm | ||
nar.scm | ||
networking.scm | ||
offload.scm | ||
opam.scm | ||
openpgp.scm | ||
pack.scm | ||
packages.scm | ||
pki.scm | ||
print.scm | ||
processes.scm | ||
profiles.scm | ||
publish.scm | ||
pypi.scm | ||
records.scm | ||
rsa.key | ||
scripts.scm | ||
search-paths.scm | ||
services.scm | ||
sets.scm | ||
signing-key.pub | ||
signing-key.sec | ||
size.scm | ||
snix.scm | ||
status.scm | ||
store-database.scm | ||
store-deduplication.scm | ||
store-roots.scm | ||
store.scm | ||
substitute.scm | ||
swh.scm | ||
syscalls.scm | ||
system.scm | ||
test.drv | ||
texlive.scm | ||
transformations.scm | ||
ui.scm | ||
union.scm | ||
upstream.scm | ||
utils.scm | ||
uuid.scm | ||
workers.scm |