aboutsummaryrefslogtreecommitdiff
path: root/src/property/installer.lisp
Commit message (Collapse)AuthorAge
* http -> https for fsf.org and gnu.org URIsSean Whitton2023-03-11
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rebuild the initramfs after populating the crypttabSean Whitton2022-07-30
| | | | 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>
* INSTALLER:CHROOT-INSTALLED-TO-VOLUMES-FOR: add LEAVE-OPEN parameterSean Whitton2022-07-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add INSTALLER:WITH-CLEANLY-INSTALLED-ONCESean Whitton2022-06-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* update copyright noticesSean Whitton2022-04-29
| | | | 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>
* add idea to drop INSTALLER:INSTALL-BOOTLOADER-BINARIES-PROPSPECSean Whitton2022-04-28
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* replace RUNNING-ON-TARGET parameters with contained factorsSean 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 REBOOT:REBOOTED-AT-END -> REBOOT:AT-ENDSean Whitton2022-04-23
| | | | 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>
* convert *LINUX-{BASIC,EFIVARS}-VFS* -> +LINUX-{BASIC,EFIVARS}-VFS+Sean Whitton2022-04-16
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename basic propapp accessorsSean Whitton2022-04-04
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename *STANDARD-LINUX-VFS* -> *LINUX-BASIC-VFS*Sean Whitton2022-04-01
| | | | 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>
* replace ESCAPE-SH-TOKEN and ESCAPE-SH-COMMAND with new SH-ESCAPESean Whitton2022-03-11
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* drop SYSTEM and add simpler code in a FLET where it's neededSean 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>
* INSTALLER:CLEANLY-INSTALLED-ONCE: fix type of :REMOTE-HOME connattrSean Whitton2021-11-09
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* :SETUID: pass target uid to POSIX-LOGIN-ENVIRONMENT for correct PATHSean Whitton2021-11-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename :XDG-CACHE-HOME connattr to :XDG_CACHE_HOMESean Whitton2021-10-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* replace some functions with a new :CONSFIGURATOR-CACHE connattrSean Whitton2021-10-23
| | | | | | This simplifies the API. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* install system deps by searching for package managers on PATHSean Whitton2021-10-23
| | | | | | | | | | | | | | | | With this change we handle the situation in which we don't know the OS of a host on which we need to install system packages more cleanly than before. Also rely on the new PACKAGE:INSTALLED to install the OS bootstrapper in INSTALLER:CLEANLY-INSTALLED-ONCE. This allows us to simplify usage of the property by replacing the ORIGINAL-OS argument with ORIGINAL-OS-ARCHITECTURE. Making this change does mean that we now have two ways to specify the different names a package has on different OSs: (i) something like OS:ETYPECASE where each branch applies a property which invokes an OS-specific package manager; and (ii) the plists supplied to PACKAGE:INSTALLED. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* cache XDG_CACHE_HOME as a connattrSean Whitton2021-08-31
| | | | | | This should provide a performance improvement. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* INSTALLER:CLEANLY-INSTALLED-ONCE: reset some connattrsSean Whitton2021-07-24
| | | | 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>
* factor out MOUNTPOINTPSean Whitton2021-07-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* INSTALLER:CLEANLY-INSTALLED-ONCE: error when new-os DEST existsSean Whitton2021-07-10
| | | | | | This should not happen. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* INSTALLER:CLEANLY-INSTALLED-ONCE: handle /run using 'mount --move'Sean Whitton2021-07-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* INSTALLER:CLEANLY-INSTALLED-ONCE: preserve /sysSean Whitton2021-07-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add INSTALLER:BOOTLOADERS-INSTALLED & example usageSean Whitton2021-07-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* INSTALLER:CLEANLY-INSTALLED-ONCE: change the fstab exampleSean Whitton2021-07-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* INSTALLER:CLEANLY-INSTALLED-ONCE: handle EFI system partitionSean Whitton2021-07-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add INSTALLER:CLEANLY-INSTALLED-ONCE & some utilsSean Whitton2021-07-10
| | | | 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>
* implement installing GRUBSean Whitton2021-05-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* implement populating /etc/crypttab for LUKS containersSean 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>
* 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>
* 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>
* move chroot->volumes operation into a new properties packageSean Whitton2021-04-30
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>