aboutsummaryrefslogtreecommitdiff
path: root/src/property/disk.lisp
Commit message (Collapse)AuthorAge
* DISK:HOST-LOGICAL-VOLUMES-EXIST: fix adding /etc/fstab entriesSean Whitton2023-12-03
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add regexp trailing option to attempt to parse matches as numbersSean Whitton2023-03-16
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* http -> https for fsf.org and gnu.org URIsSean Whitton2023-03-11
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DISK:FIRST-DISK-INSTALLED-FOR: another advantage of non-nil CHROOTSean Whitton2023-03-11
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* doc/: start generating API documentation from docstringsSean Whitton2023-03-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* disk.lisp: update copyright yearsSean Whitton2022-07-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* replace DISK:HOST-VOLUMES-CREATED, update & improve tutorialSean Whitton2022-07-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DISK:WITH-OPENED-VOLUMES: include already open volumes in connattrsSean Whitton2022-07-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DISK:WITH-OPENED-VOLUMES: add support for leaving the volumes openSean Whitton2022-07-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* factor out DISK::HOST-VOLUMES-JUST-ONE-PHYSICAL-DISKSean Whitton2022-07-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add support for passing arbitrary options to cryptsetup luksFormatSean Whitton2022-07-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* Revert "add support for passing --cipher to cryptsetup luksFormat"Sean Whitton2022-07-23
| | | | | | This reverts commit 5e7547f8b732c5c3e7b222e61600d79c123774d4. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add support for passing --cipher to cryptsetup luksFormatSean Whitton2022-07-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DISK:OPEN-VOLUME-AND-CONTENTS: avoid using a special variableSean Whitton2022-06-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix FSTAB:HAS-ENTRIES-FOR-OPENED-VOLUMES for FAT32 filesystemsSean Whitton2022-06-24
| | | | | | | | The property should never have been calling SUBVOLUMES-OF-TYPE because opening volumes does not ever update the VOLUME-CONTENTS slot to contain OPENED-VOLUME values. The structure of the OPENED-VOLUMES connattr is that of a flat list. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* move OS::ARCHITECTURE slot from OS:LINUX to OS:DEBIANLIKESean Whitton2022-04-29
| | | | | | | | | | | | | | | | We already use this information in the sense of a distribution architecture rather than a kernel architecture, and the latter are differently grained. We might later want to have slots for both. Make OS:SUPPORTS-ARCH-P take OS objects as this simplifies existing usage. Restore the ORIGINAL-OS parameter to INSTALLER:CLEANLY-INSTALLED-ONCE. It was previously replaced in 446b8f4a8ef78cb4605cfb551255bb455be411f0. CHROOT::%OS-BOOTSTRAPPER-INSTALLED does not need the original host's architecture in most cases, and accepting an arbitrary propapp means we don't force the use of PACKAGE:INSTALLED. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename connattr :OPENED-VOLUMES -> DISK:OPENED-VOLUMESSean Whitton2022-04-28
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename DISK:WITH-THESE-OPEN-VOLUMES -> DISK:WITH-OPENED-VOLUMESSean Whitton2022-04-28
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DISK:VOLUME-BOOTLOADER -> DISK:VOLUME-BOOTLOADERSSean Whitton2022-04-28
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename to INSTALLER:CHROOT-INSTALLED-TO-VOLUMES-FORSean Whitton2022-04-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename ASSERT-EUID-ROOT -> ASSERT-REMOTE-EUID-ROOTSean Whitton2022-04-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add PUSH-HOSTATTR, don't use &rest in PUSH-HOSTATTRS & fix docstringSean Whitton2022-04-04
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename basic propapp accessorsSean Whitton2022-04-04
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename READFILE, WRITEFILE, corresponding generics and some wrappersSean Whitton2022-04-02
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FSTAB & CRYPTTAB: prepend HAS- to names of exported propertiesSean Whitton2022-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename DEFINE-PRINT-OBJECT-FOR-STRUCTLIKE & REINIT-STRUCTLIKESean Whitton2022-03-12
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename DISK:ALL-VGS -> DISK:ALL-LVM-VOLUME-GROUPS and use MEMSTR=Sean Whitton2022-03-11
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* unexport DISK:CACHES-CLEANED for nowSean Whitton2022-03-11
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add "local" and "remote" to the names of some exported symbolsSean Whitton2022-03-09
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* in examples, use fewer of my personal hostnames & domainsSean Whitton2021-12-27
| | | | | | | Additionally, in conventions.rst, fix an example of the :SUDO connection type to use the correct hostname for looking up the password. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add dep on Anaphora and use APROG1, ALET & AAND in various placesSean Whitton2021-09-08
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* UNWIND-PROTECT-IN-PARENT -> UNWIND-PROTECTSean Whitton2021-07-24
| | | | | | No longer needed thanks to f4e9170e73cb4bcfa7328422b4ff4f72d1339dd0. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* replace live-build(7) properties with DISK:DEBIAN-LIVE-ISO-BUILTSean Whitton2021-07-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DISK::WITH-OPEN-VOLUMES: drop unneeded use of ONCE-ONLYSean Whitton2021-07-10
| | | | | | Was causing a warning in the case where MOUNT-BELOW was not supplied. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* factor out DISK::IMAGE-CHROOTSean Whitton2021-07-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add FILE:DIRECTORY-DOES-NOT-EXIST, FILE:DATA-CACHE-PURGEDSean Whitton2021-06-07
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* factor out LAMBDA-IGNORING-ARGSSean Whitton2021-06-07
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* factor out and export DISK:PARSE-VOLUME-SIZESean Whitton2021-06-03
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DISK:HOST-LOGICAL-VOLUMES-EXIST: also add to /etc/fstab & mountSean Whitton2021-06-03
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DISK:SUBVOLUMES-OF-TYPE: return list of immediate parents as 2nd valSean Whitton2021-06-03
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* define VOLUME-CONTENTS-MINIMUM-SIZE for LVM-LOGICAL-VOLUMESean Whitton2021-06-03
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* drop LVM-VOLUME-GROUP and make LVs TOP-LEVEL-VOLUMEsSean Whitton2021-06-03
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix type of DISK::HOST-LVM-LOGICAL-VOLUMES-EXISTSean Whitton2021-05-31
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add DISK:HOST-LOGICAL-VOLUMES-EXISTSean Whitton2021-05-31
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* don't try to create, or queue for closure, already opened volumesSean Whitton2021-05-31
| | | | | | This better controls the side effects of the changed functions. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DISK:CREATE-VOLUME for LVM volume groups: pass -Wn to lvcreate(8)Sean Whitton2021-05-31
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* OPEN-VOLUME for OPENED-VOLUME: return a fresh value, as specifiedSean Whitton2021-05-31
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DISK:CREATE-VOLUMES-AND-CONTENTS: add FILES argument; make a DEFUNSean Whitton2021-05-31
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add optional HOST arg to some accessors for hostattrsSean Whitton2021-05-29
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* support partition sizes in sectors & setting the bootable flagSean Whitton2021-05-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>