aboutsummaryrefslogtreecommitdiff
path: root/src/property/disk.lisp
Commit message (Collapse)AuthorAge
* 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>
* implement installing GRUBSean Whitton2021-05-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DISK:RAW-IMAGE-BUILT-FOR: more general PHYSICAL-DISK field copySean Whitton2021-05-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* update the image from the chroot when we just built the image tooSean Whitton2021-05-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* increase added space for PARTITIONED-VOLUME to 2MiBSean Whitton2021-05-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add CRYPTTAB-KEYFILESean Whitton2021-05-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add DISK:CRYPTTAB-OPTIONS with defaultSean Whitton2021-05-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add default mount options for ext4-filesystemSean Whitton2021-05-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add & use PROPAPP macroSean Whitton2021-05-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DISK:VOLUMES: fix extracting elements of vectorSean Whitton2021-05-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* implement obtaining LUKS passphrases as prerequisite dataSean Whitton2021-05-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* implement creating, opening and closing LVM PVs, VGs and LVsSean Whitton2021-05-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* replace CREATE-VOLUME-AND-CONTENTS with CREATE-VOLUMES-AND-CONTENTSSean Whitton2021-05-06
| | | | | | This is necessary for LVM PVs to remain open while creating the VG and LVs. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix ordering of OPEN-VOLUME definitionsSean Whitton2021-05-02
| | | | | | Pure code motion. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* implement creating, opening and closing LUKS containersSean Whitton2021-05-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix initial value of *MOUNT-BELOW*Sean Whitton2021-05-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* reflect *MOUNT-BELOW* in OPENED-FILESYSTEM valuesSean Whitton2021-04-30
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* pass -v to kpartx(1) when deleting mappingsSean Whitton2021-04-30
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* move chroot->volumes operation into a new properties packageSean Whitton2021-04-30
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* mention WITH-THESE-OPEN-VOLUMES in a docstringSean Whitton2021-04-30
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add :OPENED-VOLUMES connattrSean Whitton2021-04-30
| | | | | | | hostattrs don't make sense for this, as it should be possible to gather all hostattrs without examining the host. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* more specific type for VOLUME-CONTENTS of PARTITIONED-VOLUMESean Whitton2021-04-29
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>