summaryrefslogtreecommitdiff
path: root/hscript
AgeCommit message (Collapse)AuthorFilesLines
2020-03-19hscript: Support creation of MBR disklabelsA. Wilcox1-1/+1
2020-03-18hscript: Support creation of /etc/network/interfacesA. Wilcox3-47/+157
2020-03-17hscript: Add new netconfigtype key and associated testsA. Wilcox4-0/+71
Not wired up to netaddress et al, but does parse properly.
2020-03-15hscript: Mount /dev, /proc, /sys under /targetA. Wilcox1-0/+25
2020-03-15script: More efficiently call apkA. Wilcox1-2/+5
2020-03-15meta: Handle underscores in architecture namesA. Wilcox1-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-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-15disk: Remove ability to undo e2fsA. Wilcox1-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-11hscript: Make target directory configurableA. Wilcox8-107/+165
This is the first step towards creating images using Horizon.
2020-02-26hscript: Refactor Keys to be owned by a Script*A. Wilcox14-336/+382
This means that a Key can introspect its Script.
2020-02-26hscript: Add introspection support for Script classA. Wilcox2-0/+98
2020-02-23Update a few TODOsA. Wilcox1-1/+0
2020-02-23hscript: Handle Partition type codesA. Wilcox2-2/+28
2020-02-22hscript: Add HFS+ support to Filesystem keyA. Wilcox2-1/+8
2020-02-11hscript: Turn on network interfaces in Install Env when network is trueA. Wilcox1-1/+13
2020-02-09hscript: Factor subnet -> CIDR conversion to util functionA. Wilcox1-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).
2019-12-19hscript: Add 'arch' key implementation and related testsA. Wilcox6-2/+88
2019-12-07hscript: UserPassphrase: Ensure simulated runs don't actually set passwordsA. Wilcox1-0/+1
2019-12-05Actually refactor valid_keymaps into a reusable componentA. Wilcox1-10/+1
2019-11-19hscript: Fix repo key default when firmware support is enabledA. Wilcox1-2/+7
2019-11-08hscript: Implement UserIcon::execute, add testsA. Wilcox2-2/+85
2019-11-07hscript: nevermind, that causes obj sizes to bloatA. Wilcox2-1/+5
2019-11-07hscript: Key dtor doesn't need out-of-line definitionA. Wilcox2-4/+1
2019-11-07hscript: Implement Runner.Execute.UserAccounts, add testsA. Wilcox2-11/+101
2019-11-06hscript: Drastically simplify validation tooA. Wilcox1-36/+17
2019-11-06hscript: Drastically simplify script executionA. Wilcox1-67/+25
2019-11-06hscript: Use assertions since this should never ever happenA. Wilcox1-4/+3
2019-11-06hscript: Disable coverage test for default case handler in store_keyA. Wilcox1-1/+1
2019-11-06tests: Add more nameserver behavioural testsA. Wilcox1-3/+12
2019-11-06hscript: Implement Runner.Execute.signingkey.FirmwareA. Wilcox1-1/+24
2019-11-06hscript: Implement Runner.Execute.netaddress.OpenRCA. Wilcox1-0/+36
2019-11-04hscript: It's LCOV_EXCL_STOP, not LCOV_EXCL_ENDA. Wilcox1-1/+1
2019-11-04hscript: Mark code correctly for LCOVA. Wilcox4-15/+21
2019-11-04hscript: Language::execute: space between string and valueA. Wilcox1-1/+1
2019-11-04hscript: Conditionalise more code under HAS_INSTALL_ENVA. Wilcox2-5/+22
2019-11-04hscript: Implement Keymap::executeA. Wilcox2-2/+39
2019-11-04hscript: Implement Runner.Execute.nameserver.*A. Wilcox3-2/+96
2019-11-04hscript: Refactor script.cc and disk.cc for maintainabilityA. Wilcox7-1566/+1661
2019-11-04hscript: Implement LVMVolume::executeA. Wilcox1-3/+33
2019-11-02hscript: Implement LVMPhysical::execute and LVMGroup::executeA. Wilcox1-6/+96
2019-11-02util: run_command: Don't return false if status != 0A. Wilcox1-1/+0
2019-11-02hscript: Factor out FS exec stuff to run_command functionA. Wilcox3-47/+73
2019-11-02hscript: Hostname::execute: dns_domain_lo is a variableA. Wilcox1-1/+1
2019-11-02hscript: Add download_file helper and implement SigningKey::execute0.1.0A. Wilcox5-2/+168
2019-11-02hscript: Repository: append to /e/a/r, don't replace itA. Wilcox1-1/+1
2019-11-02hscript: More logging and dir creationA. Wilcox3-0/+34
2019-11-02hscript: Handle creation of directories when neededA. Wilcox2-0/+19
2019-11-02hscript: Filesystem::execute: null-terminate argv, pass environA. Wilcox1-6/+14
2019-11-02hscript: More error checking in DiskLabel and PartitionA. Wilcox1-3/+26
2019-11-02hscript: disk: libparted returns 1 on success, not 0A. Wilcox1-1/+1