summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-10-27image: Tar backend: Enable xz threading supportA. Wilcox1-0/+5
This should enable tarballs to be created significantly faster on systems with more than one processor.
2023-10-21hscript: bootloader: Stop mucking with efivarfsA. Wilcox1-14/+1
The problem was OpenRC which was fixed in packages.git. We should not have any further issues with efivarfs being read-only outside of host systems that are running OpenRC >= 0.28 and < 0.39.
2023-10-21hscript: bootloader: Take 100% control of efivarfsA. Wilcox1-24/+6
We're the executor, we can just commandeer the entire thing, host system included. There is very low likelihood of damage to a host system because we are use umount instead of making the host r/w. The only thing that could break is `systemctl reboot --firmware`, or a host-side upgrade of GRUB that somehow changes the path of the EFI stub. Both of these are almost impossible to encounter on a host that is actually running the executor. However, encountering a broken read-only efivarfs seems to be VERY common in the Installation Environment. Fixes: ab212730bd ("hscript: bootloader: Set rdwr on 'real' efivarfs")
2023-10-21hscript: bootloader: Set rdwr on 'real' efivarfsA. Wilcox2-2/+9
We have to clear the RDONLY flag on the base /sys before we clear it from the target /sys, otherwise it doesn't work. Fixes: 975b506cdd ("hscript: bootloader: Really, truly revamp EFI")
2023-10-21hscript: bootloader: Really, truly revamp EFIA. Wilcox1-10/+41
This should handle every single scenario we could be in regarding efivarfs. It also makes efivarfs errors non-fatal, as grub-install has --no-nvram for such situations. Closes: #370 Fixes: bad8487c53 ("hscript: bootloader: Hopefully fix EFI once and for all")
2023-10-21Qt UI: Use proper URL for firmware keys as wellA. Wilcox2-3/+3
Fixes: 3786744d94 ("Qt UI: Update signing keys")
2023-10-21Qt UI: Use sudo to launch Partition ManagerA. Wilcox4-3/+22
I'm not happy about relying on sudo either, but there's no other good way. Fixes: #368
2023-10-20tests: Update simulation spec for default keysA. Wilcox1-1/+1
We don't use the old style keys by default any more, so we need to update the test to ensure it doesn't fail. Fixes: 85ab4eb730 ("hscript: Use mirror keys by default")
2023-10-20hscript: Use mirror keys by defaultA. Wilcox1-14/+54
Before, we were using the old (pre-beta4) key format. Now we pull from the mirrors. We rely on the user either specifying the 'arch' key or running the script on the same CPU as the target system, as assumed in other parts of the codebase. Fixes: #349
2023-10-20hscript: Output dest runlevel in 'svcenable' logA. Wilcox1-1/+2
2023-10-20Qt UI: Runner: Show xterm errors, if presentA. Wilcox1-3/+8
This prevents the user from being confounded by a lack of response to the Open Terminal button, if something goes catastrophically wrong that even an Xterm won't open. Closes: #362
2023-10-20image: CD backend: Allow choice of graphics / textA. Wilcox5-5/+47
Combined with adelie/image@7df95115f4, this allows a user to choose whether to boot to a graphical environment or drop to a text prompt. Implements: #346
2023-10-20hscript: Allow svcenable to create new runlevelsA. Wilcox3-2/+37
This is going to be useful in general for some advanced use cases, but most importantly, it will allow us to define runlevels for live media. Ref: #346
2023-10-18Documentation updatesA. Wilcox3-37/+112
2023-10-18image: ISO: Fix 64-bit PowerPC GRUB config fileA. Wilcox1-2/+2
We can rely on $root being the default path, and not doing so breaks Petitboot on PS3 and OPAL systems (Power8/9). Fixes: #347
2023-10-18hscript: diskid: Refactor how we check disk IDsA. Wilcox1-15/+18
Now we use ID_MODEL_ENC in addition to ID_SERIAL, because sometimes users might want to actually use spaces in addition to just serial numbers. Fixes: #348
2023-10-18Qt UI: Fix Netsurf invocationA. Wilcox1-1/+1
netsurf-gtk was renamed netsurf-gtk3 as part of the switch from GTK 2, so we need to launch that binary. See-Also: adelie/packages@635178f5ca Fixes: #365
2023-10-16boot: Remove extraneous buttons from title barsA. Wilcox1-0/+4
We don't have a taskbar or other obvious ways to switch between running applications nor the ability to discover minimised windows (other than Alt + Tab). Remove them from the window decorations. Fixes: #363
2023-10-10hscript: Allow multiple inheritanceA. Wilcox10-42/+129
This allows a HorizonScript to inherit from multiple files. Files are parsed in a system-defined, unspecified order, but all scripts of a given depth are guaranteed to be parsed before the next depth.
2023-10-10Qt UI: Runner: Allow setuid and high-DPI scalingA. Wilcox1-0/+2
Omission of the high-DPI scaling flag was making the runner look significantly worse than the wizard on high-DPI screens. Allowing setuid means we can finally run as the live user and complete an installation. Ref: #353, #321
2023-10-05Qt UI: Don't update date/time inputs while focusedA. Wilcox1-2/+2
This makes for poor UX. If the user can't type fast, it will keep updating underneath them, which is very frustrating. Saw in IRL test. Fixes: #358
2023-10-05image: ISO backend: Probe GRUB version as wellA. Wilcox1-0/+6
Fixes: #335
2023-10-05Qt UI: Remove LibreOffice from custom package listA. Wilcox1-1/+0
Fixes: #356 Ref: adelie/packages#859
2023-10-05Qt UI: Respawn DHCP page from NetworkingPage, tooA. Wilcox2-0/+17
We are already recreating the DHCP page every time the interface chooser is shown. However, if we don't do this from the main network page, then systems with a single interface will never recreate the DHCP page. This means failures are "sticky" / "forever". Fixes: #354
2023-10-05Qt UI: QoI improvements to launching toolsA. Wilcox5-6/+34
* Terminal now uses dark background with light text, which makes root prompt readable when started from Install CD. * Tools are now spawned instead of run modally. This means you can interact with the Horizon wizard while using the Terminal or Web browser. If a tool is still running at the end, Horizon will prompt the user before allowing them to commit to disk.
2023-10-01ISO: Simplify aarch64 creationA. Wilcox2-5/+2
2023-09-05image: ISO backend: Add Arm64 filesA. Wilcox2-0/+71
These seem to work, but our GRUB kernel isn't being built properly yet, so this isn't quite release-ready.
2023-09-05image: ISO backend: Probe xorriso before startingA. Wilcox1-0/+6
Ensures that the user's time isn't wasted if xorriso is missing.
2023-09-05image: Tar backend: Fix upsA. Wilcox1-10/+26
* Use <filesystem> portably. * Create the target directory if it doesn't exist. * Fix symlink detection bug that could cause target mtab to halt image creation.
2023-09-05Qt UI: Add MIPS lines back to keygenA. Wilcox1-0/+13
Otherwise, we error out building from missing those cases.
2023-06-15Qt UI: Update signing keysZach van Rijn1-25/+12
We rotated our keys in 2022 and need to use them.
2023-03-26CMake: Disable use of std::filesystemA. Wilcox1-5/+5
Causes Valgrind to report memory errors on GCC 8.5.0.
2023-03-26CMake: Set CWD for Valgrind testsA. Wilcox2-2/+4
This ensures that our .valgrindrc is picked up.
2023-03-25Qt UI: Use Plasma as the defaultA. Wilcox1-0/+1
Prevents us from falling off the end of the function.
2023-03-25Qt UI: Support DE choice, current as defaultA. Wilcox4-24/+94
In the Runtime Environment, we default to Plasma. In the Install Environment, we use the current desktop. Closes: #340
2023-03-25image: C++2x and Boost.Filesystem fixesA. Wilcox3-10/+11
* Ensure that Boost.Filesystem is still usable. * Don't use a reference to a temporary in loops. Fixes: #333
2023-03-25meta: Tidy codeA. Wilcox1-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-09-04Release version 0.9.70.9.7Zach van Rijn1-1/+56
2022-09-04Remove Dockerized documentation generator.Zach van Rijn2-17/+0
2022-07-05tests: Fix, once and for allA. Wilcox1-1/+1
2022-07-05tests: Add an stdout check to the simulator checkA. Wilcox1-0/+1
There's a weird failure that is hard to debug, and this will help. Additionally, this shouldn't cause any issues on passing builds.
2022-07-05tests: Ensure Ruby is always in UTF-8 modeA. Wilcox3-0/+7
This ensures that tests pass even when run in other locales.
2022-07-05CI: Make test environment more predictibleA. Wilcox1-2/+2
Set LANG to C.UTF-8 to ensure that UTF-8 tests don't fail (such as the username example that has 'Adélie User').
2022-07-05hscript: Better, more portable net conf readingA. Wilcox1-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-05Qt UI: Handle salt material correctlyA. Wilcox1-3/+3
Found by Clang 13. We should have been doing it this way all along.
2022-07-05hscript: Portability fixes for libc++A. Wilcox2-2/+3
2022-07-04Qt UI: Use correct SkipEmptyParts based on Qt SDKA. Wilcox1-1/+5
2022-07-04Qt UI: Refactor mount dialog partition displayA. Wilcox1-5/+9
*once again*, do things the more complex way instead of the simple way. (Sensing a pattern yet?!)
2022-07-04Qt UI: Port to using heavier buttonClicked signalA. Wilcox5-21/+21
Once again, Qt has taken our simple API away and left us only with the more complex one. At least this one isn't too hard to work around. Move to using QOverload instead of static_cast for all of them as well.
2022-07-04Qt UI: Use newer QPalette nameA. Wilcox1-1/+1
QPalette::background was deprecated a long time ago, and QPalette::window has existed since at least 5.7.