Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-12-11 | hscript: bootloader: Support EFI boot on ARMv7 | A. Wilcox | 1 | -4/+2 | |
2023-12-05 | hscript: meta/PkgInstall: Allow negative selection | A. Wilcox | 1 | -1/+1 | |
This allows the installation of 'negative selections' or the purposeful exclusion of packages from the installed environment. | |||||
2023-12-01 | Add 'rootshell' key to determine root's shell | A. Wilcox | 1 | -0/+36 | |
* Key added to code and documentation. * Tests added and pass locally on gwyn (ppc64) and fran (aarch64). * Qt UI automatically sets /bin/zsh as root's shell (ref: packages#206). * ISO image creator backend no longer has root shell hack. | |||||
2023-10-21 | hscript: bootloader: Stop mucking with efivarfs | A. Wilcox | 1 | -14/+1 | |
The problem was OpenRC which was fixed in packages.git. We should not have any further issues with efivarfs being read-only outside of host systems that are running OpenRC >= 0.28 and < 0.39. | |||||
2023-10-21 | hscript: bootloader: Take 100% control of efivarfs | A. Wilcox | 1 | -24/+6 | |
We're the executor, we can just commandeer the entire thing, host system included. There is very low likelihood of damage to a host system because we are use umount instead of making the host r/w. The only thing that could break is `systemctl reboot --firmware`, or a host-side upgrade of GRUB that somehow changes the path of the EFI stub. Both of these are almost impossible to encounter on a host that is actually running the executor. However, encountering a broken read-only efivarfs seems to be VERY common in the Installation Environment. Fixes: ab212730bd ("hscript: bootloader: Set rdwr on 'real' efivarfs") | |||||
2023-10-21 | hscript: bootloader: Set rdwr on 'real' efivarfs | A. Wilcox | 1 | -2/+7 | |
We have to clear the RDONLY flag on the base /sys before we clear it from the target /sys, otherwise it doesn't work. Fixes: 975b506cdd ("hscript: bootloader: Really, truly revamp EFI") | |||||
2023-10-21 | hscript: bootloader: Really, truly revamp EFI | A. Wilcox | 1 | -10/+41 | |
This should handle every single scenario we could be in regarding efivarfs. It also makes efivarfs errors non-fatal, as grub-install has --no-nvram for such situations. Closes: #370 Fixes: bad8487c53 ("hscript: bootloader: Hopefully fix EFI once and for all") | |||||
2023-10-20 | hscript: Output dest runlevel in 'svcenable' log | A. Wilcox | 1 | -1/+2 | |
2023-10-20 | hscript: Allow svcenable to create new runlevels | A. Wilcox | 1 | -2/+10 | |
This is going to be useful in general for some advanced use cases, but most importantly, it will allow us to define runlevels for live media. Ref: #346 | |||||
2023-03-25 | meta: Tidy code | A. Wilcox | 1 | -3/+4 | |
* Use <cassert> instead of <assert.h>. * Include <cstring> for ::strerror in install env. * Consistently use ::strerror. * Remove superfluous duplicate semicolon. Fixes: #334 | |||||
2020-10-15 | hscript: bootloader: Hopefully fix EFI once and for all | A. Wilcox | 1 | -6/+7 | |
2020-10-15 | Add many more various test cases | A. Wilcox | 1 | -0/+12 | |
2020-09-30 | meta: Run update-boot when bootloader requested | A. Wilcox | 1 | -6/+20 | |
If the user chooses no-boot or isn't installing Adélie, this will fail quietly. But if the user is installing Adélie, this is necessary to generate bootloader configuration. | |||||
2020-09-20 | hscript: Remount EFI vars correctly | A. Wilcox | 1 | -4/+4 | |
The manpage suggests that MS_BIND must be set to change R/O flag on bindmounts. | |||||
2020-08-30 | Rearchitect how 'bootloader' key works | A. Wilcox | 1 | -53/+62 | |
2020-08-29 | hscript: Allow multiple svcenables to not break | A. Wilcox | 1 | -1/+1 | |
2020-08-22 | Improve test coverage of metadata keys | A. Wilcox | 1 | -17/+25 | |
2020-07-22 | Add initial MIPS port, sans automatic partitioner | A. Wilcox | 1 | -0/+16 | |
Help with the automatic partitioner by parties interested in the MIPS ports of Adélie (and/or Alpine and/or postmarketOS) would be very desirable. I'm only currently aware myself of how to partition SGI MIPS64 machines. My gut tells me we probably need the `subarch` system like for PPC64, but I am not sure how non-SGI MIPS64 machines need to be partitioned. | |||||
2020-07-06 | hscript: Use target efivarfs path for r/w mount | A. Wilcox | 1 | -2/+4 | |
2020-06-23 | hscript: Implement runlevel support in svcenable key | A. Wilcox | 1 | -7/+20 | |
2020-06-23 | Change Runner.Validate.hostname.Begin to allow numeric characters | A. Wilcox | 1 | -2/+2 | |
2020-06-23 | hscript: meta: desperate attempt to fix EFI installs | A. Wilcox | 1 | -0/+12 | |
2020-06-13 | hscript: maybe implement bootloader key | A. Wilcox | 1 | -0/+77 | |
2020-06-13 | hscript: bootloader: build in runtime env | A. Wilcox | 1 | -2/+6 | |
2020-06-13 | hscript: Stub unfinished implementation of 'bootloader' key | A. Wilcox | 1 | -0/+96 | |
2020-06-06 | hscript: Update for console-setup -> kbd change | A. Wilcox | 1 | -12/+7 | |
2020-05-29 | hscript: Timezone: Always remove existing localtime | A. Wilcox | 1 | -2/+2 | |
Otherwise, if the target doesn't have tzdata installed, an existing /etc/localtime file won't be removed and we can hit an error. | |||||
2020-05-29 | hscript: Hostname: Create /etc if it doesn't exist | A. Wilcox | 1 | -0/+8 | |
Without this, errors are seen generating Alpine images. | |||||
2020-05-26 | hscript: Implement (undocumented, untested) 'version' key | A. Wilcox | 1 | -0/+18 | |
2020-05-26 | hscript: Convert 'int line' to a ScriptLocation object | A. Wilcox | 1 | -128/+83 | |
2020-05-24 | hscript: Implement 'svcenable' key and tests | A. Wilcox | 1 | -0/+44 | |
2020-04-02 | hscript: Handle existing /etc/localtime in target | A. Wilcox | 1 | -0/+2 | |
This can occur if you re-use an intermediate directory for images. | |||||
2020-04-01 | hscript: Rename Image flag to ImageOnly | A. Wilcox | 1 | -1/+1 | |
Otherwise, this conflicts with the Horizon::Image namespace. | |||||
2020-03-24 | hscript: Implement 'Image' script option | A. Wilcox | 1 | -1/+3 | |
This option is for generating images using Horizon. It skips most disk-related operations, except for preparing /etc/fstab. It also skips setting the running system's hostname. | |||||
2020-03-15 | meta: Handle underscores in architecture names | A. Wilcox | 1 | -1/+1 | |
Otherwise, x86_64 and aarch64_be fail instantly: installfile:6: error: arch: expected CPU architecture name: 'x86_64' is not a valid CPU architecture name | |||||
2020-03-11 | hscript: Make target directory configurable | A. Wilcox | 1 | -34/+47 | |
This is the first step towards creating images using Horizon. | |||||
2020-02-26 | hscript: Refactor Keys to be owned by a Script* | A. Wilcox | 1 | -42/+43 | |
This means that a Key can introspect its Script. | |||||
2019-12-19 | hscript: Add 'arch' key implementation and related tests | A. Wilcox | 1 | -2/+56 | |
2019-12-05 | Actually refactor valid_keymaps into a reusable component | A. Wilcox | 1 | -10/+1 | |
2019-11-04 | hscript: It's LCOV_EXCL_STOP, not LCOV_EXCL_END | A. Wilcox | 1 | -1/+1 | |
2019-11-04 | hscript: Mark code correctly for LCOV | A. Wilcox | 1 | -5/+7 | |
2019-11-04 | hscript: Language::execute: space between string and value | A. Wilcox | 1 | -1/+1 | |
2019-11-04 | hscript: Implement Keymap::execute | A. Wilcox | 1 | -1/+35 | |
2019-11-02 | hscript: Hostname::execute: dns_domain_lo is a variable | A. Wilcox | 1 | -1/+1 | |
2019-11-02 | hscript: Add download_file helper and implement SigningKey::execute0.1.0 | A. Wilcox | 1 | -2/+45 | |
2019-11-02 | hscript: Repository: append to /e/a/r, don't replace it | A. Wilcox | 1 | -1/+1 | |
2019-11-02 | hscript: More logging and dir creation | A. Wilcox | 1 | -0/+1 | |
2019-11-02 | hscript: Handle creation of directories when needed | A. Wilcox | 1 | -0/+9 | |
2019-11-01 | hscript: Implement Runner.Validate.keymap.Valid | A. Wilcox | 1 | -3/+20 | |
2019-10-31 | hscript: Implement SigningKey, add tests | A. Wilcox | 1 | -0/+21 | |