summaryrefslogtreecommitdiff
path: root/hscript/script_e.cc
AgeCommit message (Collapse)AuthorFilesLines
2020-06-13hscript: Validate and execute the bootloader key, if providedA. Wilcox1-0/+4
2020-06-06hscript: Update for console-setup -> kbd changeA. Wilcox1-0/+2
2020-05-26hscript: Make --keys-dir relativeA. Wilcox1-11/+7
2020-05-26hscript: Ensure target mounts aren't hardcoded to /targetA. Wilcox1-9/+13
2020-05-24hscript: Implement 'svcenable' key and testsA. Wilcox1-0/+4
2020-05-15hscript: Don't change networking in image modeA. Wilcox1-1/+4
Network configuration on the host should not be changed if we are only creating an image.
2020-04-02hscript: Overwrite existing /e/n/i file, if presentA. Wilcox1-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-01hscript: Rename Image flag to ImageOnlyA. Wilcox1-1/+1
Otherwise, this conflicts with the Horizon::Image namespace.
2020-03-26Script: Use --keys-dir during base installationA. Wilcox1-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-24hscript: Implement 'Image' script optionA. Wilcox1-37/+39
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-24hscript: Execute +arch+ key before APK pkgdb initA. Wilcox1-5/+5
Otherwise, the incorrect architecture's repositories are read during the `apk update` operation.
2020-03-18hscript: Support creation of /etc/network/interfacesA. Wilcox1-30/+78
2020-03-15hscript: Mount /dev, /proc, /sys under /targetA. Wilcox1-0/+25
2020-03-15script: More efficiently call apkA. Wilcox1-2/+5
2020-03-15script: Handle pre-existing network condition betterA. Wilcox1-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-11hscript: Make target directory configurableA. Wilcox1-54/+68
This is the first step towards creating images using Horizon.
2020-02-26hscript: Refactor Keys to be owned by a Script*A. Wilcox1-3/+3
This means that a Key can introspect its Script.
2020-02-11hscript: Turn on network interfaces in Install Env when network is trueA. Wilcox1-1/+13
2019-12-19hscript: Add 'arch' key implementation and related testsA. Wilcox1-0/+5
2019-11-08hscript: Implement UserIcon::execute, add testsA. Wilcox1-0/+31
2019-11-07hscript: Implement Runner.Execute.UserAccounts, add testsA. Wilcox1-1/+20
2019-11-06hscript: Drastically simplify script executionA. Wilcox1-67/+25
2019-11-06tests: Add more nameserver behavioural testsA. Wilcox1-3/+12
2019-11-06hscript: Implement Runner.Execute.netaddress.OpenRCA. Wilcox1-0/+36
2019-11-04hscript: Conditionalise more code under HAS_INSTALL_ENVA. Wilcox1-5/+20
2019-11-04hscript: Implement Keymap::executeA. Wilcox1-1/+4
2019-11-04hscript: Implement Runner.Execute.nameserver.*A. Wilcox1-0/+70
2019-11-04hscript: Refactor script.cc and disk.cc for maintainabilityA. Wilcox1-0/+400