Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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. | |||||
2020-03-15 | disk: Remove ability to undo e2fs | A. Wilcox | 1 | -2/+0 | |
This can use multiple GBs of RAM in /tmp, and/or fail with mkfs.ext4: No space left on device while trying to create journal /tmp/undo-sda2: while force-closing undo file | |||||
2020-03-11 | hscript: Make target directory configurable | A. Wilcox | 8 | -107/+165 | |
This is the first step towards creating images using Horizon. | |||||
2020-02-26 | hscript: Refactor Keys to be owned by a Script* | A. Wilcox | 14 | -336/+382 | |
This means that a Key can introspect its Script. | |||||
2020-02-26 | hscript: Add introspection support for Script class | A. Wilcox | 2 | -0/+98 | |
2020-02-23 | Update a few TODOs | A. Wilcox | 1 | -1/+0 | |
2020-02-23 | hscript: Handle Partition type codes | A. Wilcox | 2 | -2/+28 | |
2020-02-22 | hscript: Add HFS+ support to Filesystem key | A. Wilcox | 2 | -1/+8 | |
2020-02-11 | hscript: Turn on network interfaces in Install Env when network is true | A. Wilcox | 1 | -1/+13 | |
2020-02-09 | hscript: Factor subnet -> CIDR conversion to util function | A. Wilcox | 1 | -9/+3 | |
* Also ensures that the unused function in util/net (is_url_valid) doesn't break the build of network.cc (and vis versa for user.cc). |