Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |||||
2022-07-05 | hscript: Better, more portable net conf reading | A. Wilcox | 1 | -2/+2 | |
Checking in_avail doesn't work correctly on Darwin due to the way file caches work there. This method is not only more portable, but also more performant. A win-win! | |||||
2022-07-05 | hscript: Portability fixes for libc++ | A. Wilcox | 2 | -2/+3 | |
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 | 5 | -10/+36 | |
2020-10-15 | hscript: PPPoE: Ensure values are read properly | A. Wilcox | 1 | -1/+1 | |
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-09-20 | hscript: Force extfs creation | A. Wilcox | 1 | -2/+1 | |
This works around the '/dev/xxx already has a filesystem' thing on CLI installs. | |||||
2020-08-30 | Rearchitect how 'bootloader' key works | A. Wilcox | 3 | -56/+72 | |
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-08-21 | hscript: Parted uses 'mac' for APM labels | A. Wilcox | 1 | -1/+1 | |
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-10 | hscript: Use curr_name; work around Alpine bug | A. Wilcox | 1 | -5/+10 | |
On some Alpine systems, '/dev/stdin' cannot be canonicalised. We work around this by hardcoding "<stdin>" as the internal name for scripts read from stdin, similar to Python. This change also ensures messages generated from the parser itself use curr_name (the canonicalised name) instead of the name passed to the Script object. | |||||
2020-07-06 | hscript: Use target efivarfs path for r/w mount | A. Wilcox | 1 | -2/+4 | |
2020-07-04 | hscript: Implement execution of PPPoE for ENI systems | A. Wilcox | 1 | -2/+67 | |
2020-07-04 | hscript: Implement execution of PPPoE for netifrc systems | A. Wilcox | 1 | -16/+63 | |
2020-07-04 | hscipt: Implement parse and validation of 'pppoe' key | A. Wilcox | 6 | -5/+167 | |
2020-06-30 | hscript: Ensure operstate file exists before reading | A. Wilcox | 1 | -4/+9 | |
2020-06-24 | Fix network state issue on live installs, and firmware install | A. Wilcox | 2 | -2/+6 | |
2020-06-23 | hscript: Implement runlevel support in svcenable key | A. Wilcox | 3 | -11/+32 | |
2020-06-23 | hscript: Don't ensure device existence during image creation | A. Wilcox | 1 | -3/+3 | |
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-23 | hscript: Recursively bind-mount /dev and /sys | A. Wilcox | 1 | -2/+4 | |
We need this for /dev/shm to be present in the target. We need to bind-mount /sys recursively for efivarfs to be available for GRUB's use in the target. While we're here, unmount /dev and /sys recursively when creating an image. | |||||
2020-06-21 | hscript: Ensure mount directory exists | A. Wilcox | 1 | -1/+1 | |
2020-06-13 | hscript: Validate and execute the bootloader key, if provided | A. Wilcox | 2 | -0/+6 | |
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 | 4 | -0/+125 | |
2020-06-06 | hscript: Update for console-setup -> kbd change | A. Wilcox | 3 | -12/+10 | |
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-28 | hscript: user: Support cross-arch installs | A. Wilcox | 1 | -11/+9 | |
Using PAM's -R tries to load target system's PAM libraries, which obviously fail if it's not the same CPU arch. | |||||
2020-05-26 | hscript: Close file after download | A. Wilcox | 1 | -0/+2 | |
2020-05-26 | hscript: Flush downloaded file before returning | A. Wilcox | 1 | -0/+1 | |
2020-05-26 | hscript: Make --keys-dir relative | A. Wilcox | 1 | -11/+7 | |
2020-05-26 | hscript: Ensure target mounts aren't hardcoded to /target | A. Wilcox | 1 | -9/+13 | |
2020-05-26 | hscript: Implement (undocumented, untested) 'version' key | A. Wilcox | 5 | -13/+63 | |
2020-05-26 | hscript: Ensure root mounts aren't required for image | A. Wilcox | 1 | -1/+1 | |
2020-05-26 | hscript: Implement (currently undocumented) 'inherit' key and tests | A. Wilcox | 3 | -11/+44 | |
2020-05-26 | hscript: Convert 'int line' to a ScriptLocation object | A. Wilcox | 16 | -739/+619 | |
2020-05-24 | hscript: Implement 'svcenable' key and tests | A. Wilcox | 5 | -0/+80 | |
2020-05-15 | hscript: Ensure user commands are correct in simulator | A. Wilcox | 1 | -4/+9 | |
2020-05-15 | hscript: Ensure user commands are run in the target | A. Wilcox | 1 | -4/+11 | |
2020-05-15 | hscript: Don't change networking in image mode | A. Wilcox | 1 | -1/+4 | |
Network configuration on the host should not be changed if we are only creating an image. | |||||
2020-05-07 | image: Add functional TAR backend | A. Wilcox | 1 | -7/+1 | |
2020-04-02 | hscript: Overwrite existing /e/n/i file, if present | A. Wilcox | 1 | -1/+1 | |
/etc/network/interfaces may already exists if an intermediate directory is being reused for image creation. Overwrite it, instead of appending to it. | |||||
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. |