aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* implement populating /etc/crypttab for LUKS containersSean 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 LOCALSUDO and LOCALHDSean Whitton2021-05-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* factor out FILE:UPDATE-UNIX-TABLESean Whitton2021-05-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FSTAB:ENTRIES: make "PLACEHOLDER" work like "none" in fs_specSean 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>
* INSTALLER:CHROOT-INSTALLED-TO-VOLUMES: use OS:ETYPECASESean Whitton2021-05-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* override *CONSFIG* for all calls to MAKE-PROPSPEC within DEFPROPSPECSean Whitton2021-05-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* APPLY-AND-PRINT: propagate the return value of the final applicationSean Whitton2021-05-06
| | | | | | Mainly for the sake of EVALS. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* use ~S not ~A when printing the program we sentSean Whitton2021-05-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* replace WITH-LOCAL-... with an EVALS propertySean 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>
* ESCAPE-SH-{TOKEN,COMMAND}: also escape the empty stringSean Whitton2021-05-02
| | | | | | This protects zero-length arguments to shell commands. 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>
* DATA.SSH-ASKPASS: fix return value of first closureSean Whitton2021-04-30
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* RESET-DATA-SOURCES: also reset cache of items of STRING-DATASean Whitton2021-04-30
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add DATA.SSH-ASKPASS and use it to simplify the quick start guideSean Whitton2021-04-30
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* commentsSean Whitton2021-04-30
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* implement updating the newly installed system's fstabSean Whitton2021-04-30
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* drop useless use of STRCATSean Whitton2021-04-30
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* pass -x to rsync(1) when updating volumes from chrootSean Whitton2021-04-30
| | | | | | Otherwise it will try to copy in /dev, /proc etc. 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>
* MOUNT:UNMOUNTED-BELOW: stop calling 'mount --make-rslave'Sean Whitton2021-04-30
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* chroot connections: set up bind mounts and virtual filesystemsSean Whitton2021-04-30
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* one package for :CHROOT, :CHROOT.FORK and :CHROOT.SHELLSean Whitton2021-04-30
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* MOUNT:UNMOUNTED-BELOW: fix sorting of mount pointsSean 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 TODO about converting slots to connattrsSean 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>
* add connattrsSean Whitton2021-04-30
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* CONTINUE-DEPLOY* connections: push a new connection objectSean Whitton2021-04-30
| | | | | | This is cleaner than resetting certain slot values. 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>
* minor style tweaksSean Whitton2021-04-29
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* define CREATE-VOLUME for opened volumesSean Whitton2021-04-29
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add DISK:HOST-VOLUMES-CREATEDSean Whitton2021-04-29
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add CHROOT:DEPLOYS and CHROOT:DEPLOYS-THESESean Whitton2021-04-26
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* define UNION-PROPSPEC-INTO-HOST for null second argumentSean Whitton2021-04-26
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* capture child stdout in case *STANDARD-OUTPUT* has been reboundSean Whitton2021-04-26
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* drop a trailing period in property descriptionSean Whitton2021-04-26
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* also sync in WITH-OPEN-VOLUMESSean Whitton2021-04-26
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* stop binding *MOUNT-BELOW* when closing volumesSean Whitton2021-04-26
| | | | | | We pass the device file to umount(1), so this is not needed. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>