Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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. | |||||
2020-04-01 | hscript: Rename Image flag to ImageOnly | A. Wilcox | 5 | -6/+6 | |
Otherwise, this conflicts with the Horizon::Image namespace. | |||||
2020-03-26 | Script: Use --keys-dir during base installation | A. Wilcox | 1 | -8/+15 | |
If the system APK does not trust the keys specified in the HorizonScript, execution of the script would fail. This commit fixes that omission. | |||||
2020-03-24 | hscript: Implement 'Image' script option | A. Wilcox | 5 | -40/+49 | |
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-24 | hscript: Execute +arch+ key before APK pkgdb init | A. Wilcox | 1 | -5/+5 | |
Otherwise, the incorrect architecture's repositories are read during the `apk update` operation. | |||||
2020-03-24 | hscript: Don't overwrite fstab with each mount | A. Wilcox | 1 | -1/+2 | |
2020-03-24 | hscript: De-constify returned Horizon::Script* objects | A. Wilcox | 2 | -8/+6 | |
2020-03-22 | hscript: Ensure partition 1 won't abut first disk sectors | A. Wilcox | 1 | -0/+3 | |
2020-03-19 | hscript: Support creation of MBR disklabels | A. Wilcox | 1 | -1/+1 | |
2020-03-18 | hscript: Support creation of /etc/network/interfaces | A. Wilcox | 3 | -47/+157 | |
2020-03-17 | hscript: Add new netconfigtype key and associated tests | A. Wilcox | 4 | -0/+71 | |
Not wired up to netaddress et al, but does parse properly. | |||||
2020-03-15 | hscript: Mount /dev, /proc, /sys under /target | A. Wilcox | 1 | -0/+25 | |
2020-03-15 | script: More efficiently call apk | A. Wilcox | 1 | -2/+5 | |
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-15 | script: Handle pre-existing network condition better | A. Wilcox | 1 | -3/+3 | |
Previously, if /etc/resolv.conf existed, execution would fail with: internal: error: cannot use DNS configuration during installation: File exists If /etc/conf.d/net.$IFACE existed, execution would log: internal: error: could not use networking on eth0: File exists Fix both of these issues. |