diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-05-07 18:38:58 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-05-09 12:21:56 -0700 |
commit | 8fa130526050c4d3bdfa5465e06180f813a71f3c (patch) | |
tree | 820ead2c6b33e12337bc6d3e453ff7b2c4b2f8bf /src/package.lisp | |
parent | 9cc2fd8af9b974c28534aaa40c736503bdef98d6 (diff) | |
download | consfigurator-8fa130526050c4d3bdfa5465e06180f813a71f3c.tar.gz |
rework bootloader installation so can use property-defining macros
It is better to have the code which installs bootloaders to volumes in
property definitions rather than in plain functions, as then we can specify
that it's :POSIX or :LISP, specify the OS required for it to run, and similar.
This commit enables that by replacing INSTALL-BOOTLOADER with a different
generic which returns propspecs.
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/package.lisp')
-rw-r--r-- | src/package.lisp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/package.lisp b/src/package.lisp index 356ab1e..bc4a146 100644 --- a/src/package.lisp +++ b/src/package.lisp @@ -185,6 +185,7 @@ #:with-replace-hostattrs ;; deployment.lisp + #:consfigure #:defdeploy #:defdeploy-these #:deploy @@ -482,8 +483,8 @@ (#:chroot #:consfigurator.property.chroot) (#:fstab #:consfigurator.property.fstab) (#:crypttab #:consfigurator.property.crypttab)) - (:export #:install-bootloader - #:install-bootloader-binaries + (:export #:install-bootloader-propspec + #:install-bootloader-binaries-propspec #:chroot-installed-to-volumes #:bootloader-binaries-installed)) @@ -494,7 +495,8 @@ (:local-nicknames (#:os #:consfigurator.property.os) (#:file #:consfigurator.property.file) (#:apt #:consfigurator.property.apt)) - (:export #:grub)) + (:export #:grub + #:grub-installed)) (defpackage :consfigurator.property.u-boot (:use #:cl #:alexandria #:consfigurator @@ -502,7 +504,8 @@ #:consfigurator.property.installer) (:local-nicknames (#:os #:consfigurator.property.os) (#:apt #:consfigurator.property.apt)) - (:export #:u-boot-install-rockchip)) + (:export #:u-boot-install-rockchip + #:u-boot-installed-rockchip)) (defpackage :consfigurator.connection.local (:use #:cl #:consfigurator #:alexandria) |