aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* release Consfigurator 0.6.0 (-1 to Debian unstable)v0.6.0debian/0.6.0-1archive/debian/0.6.0-1Sean Whitton2021-05-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add TODOs about non-portable uses of su(1)Sean Whitton2021-05-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* debian/changelog: next upload will be to unstableSean Whitton2021-05-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* update docs and scripts/release for Debian experimental->unstableSean Whitton2021-05-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* ensure we fail if COMPILE-FILE* failsSean Whitton2021-05-23
| | | | | | | Possibly the load might succeed but the compilation fail, and the user should be informed. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* note about reviewing the API & incrementing the major version numberSean Whitton2021-05-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add note about use of non-POSIX facilities & docstringsSean Whitton2021-05-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* LOCALE:SELECTED-FOR: avoid always reporting a change & use MRUNSean Whitton2021-05-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* convert CONNECTION slots to connattrs & fix finding homedirsSean Whitton2021-05-23
| | | | | | | | | | | | HOME does not take into account /etc/passwd inside the chroot, even when starting a login shell with, e.g., "chroot /chroot sh -lc 'echo $HOME'" -- we would need something which emulates login(1), like su(1), but the -c argument to su(1) is not portable. getent(1) is not POSIX. So use tilde expansion. Additionally, avoid having UPLOAD-ALL-PREREQUISITE-DATA store values for the remote UID, remote homedir etc. from *before* the chroot/setuid operation. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* note that getent(1) is not strictly POSIX-compatibleSean Whitton2021-05-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DATA-CKSUM: fix argument when calling cksum(1)Sean Whitton2021-05-21
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:{DATA,SECRET}-UPLOADED: use CONTAINING-DIRECTORY-EXISTSSean Whitton2021-05-20
| | | | | | This handles the case of a relative path to a file right inside HOME. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:DATA-UPLOADED, FILE:SECRET-UPLOADED: use MAYBE-WRITEFILE-DATASean Whitton2021-05-20
| | | | | | This avoids writing the file every deploy, even when unchanged. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add FILE:CONTAINING-DIRECTORY-EXISTSSean Whitton2021-05-20
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* factor out MAYBE-WRITEFILE-STRINGSean Whitton2021-05-20
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* PATHNAME-FILE: return nil when PATHNAME-NAME returns nilSean Whitton2021-05-20
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:CONTAINS-LINES: avoid writing file if lines already presentSean Whitton2021-05-19
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* d/t/compile-and-tests.lisp: bind *PACKAGE* to CONSFIGURATOR/TESTSSean Whitton2021-05-17
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* reflowSean Whitton2021-05-17
| | | | | | Pure code motion. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* recompile remaining as soon as we've recompiled somethingSean Whitton2021-05-17
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* output the compile and/or load output when debug level at least 3Sean Whitton2021-05-17
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add idea to add custom Emacs indentation rules for DISK:VOLUMESSean Whitton2021-05-17
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* actually print the compile and/or load output on errorSean Whitton2021-05-17
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* separately upload, compile and load each ASDF systemSean Whitton2021-05-17
| | | | | | | | | | This avoids recompiling unchanged systems on every deploy, which makes for a decent performance boost, especially on systems with less processing power. Drop the idea of relying on distribution packages on the remote side -- we want to use the same version of the source as is running in the root Lisp. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* CONTINUE-DEPLOY*-PROGRAM: avoid exporting unexported symbolsSean Whitton2021-05-17
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DATA.ASDF: stop setting output translationsSean Whitton2021-05-17
| | | | | | | Our custom output translation was becoming part of the global ASDF configuration, changing where certain .fasl files were being saved. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* require debug level 4 for output for every RUN & MRUNSean Whitton2021-05-17
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* INFORMAT when don't upload data as remote cache has a >= versionSean Whitton2021-05-17
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* use UIOP rather than dpkg(1) to compare prerequisite data versionsSean Whitton2021-05-17
| | | | | | For both performance and portability reasons. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* make CACHED-DATA into a connattr and push to it more consistentlySean Whitton2021-05-15
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix --no-userinit sbcl(1) optionSean Whitton2021-05-15
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* avoid using reader macros when can use ASDF feature dependenciesSean Whitton2021-05-15
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* replace uses of WITH-LOCAL-CONNECTION in tests/property/file.lispSean Whitton2021-05-14
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:DATA-UPLOADED, FILE:SECRET-UPLOADED: ensure directory existsSean Whitton2021-05-14
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* SERVICE:WITHOUT-STARTING-SERVICES: use UNWIND-PROTECT-IN-PARENTSean Whitton2021-05-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix finding the data cache in chrootsSean Whitton2021-05-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add a tutorial for building disk imagesSean Whitton2021-05-09
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* implement setting TARGET for u-boot-install-rockchip(8)Sean Whitton2021-05-09
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rework bootloader installation so can use property-defining macrosSean Whitton2021-05-09
| | | | | | | | | | | 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>
* :PREPROCESS subroutines are not executed exclusively in root LispSean Whitton2021-05-09
| | | | | | | For example, they are executed when programmatically calling other properties during :APPLY/:UNAPPLY subroutines in remote Lisp images. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add u-boot-install-rockchip supportSean Whitton2021-05-07
| | | | 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>
* install qemu-user-static alongside debootstrapSean Whitton2021-05-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* drop use of qemu-debootstrap(1)Sean Whitton2021-05-06
| | | | | | | It's deprecated in favour of debootstrap(1) which can now transparently handle foreign architectures. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* pass LOCALE=C to ls(1) in WRITEFILESean Whitton2021-05-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* use RUN not MRUN when parsing command stdoutSean Whitton2021-05-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:HAS-CONTENT: avoid writing the file if content unchangedSean Whitton2021-05-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* start a "Code style" section in CONTRIBUTING.rstSean Whitton2021-05-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* swap order of stdout and stderr when reporting RUN-FAILEDSean 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>