summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-04-25Qt UI: Fix partition count for APM disklabelHEADcurrentA. Wilcox2-3/+17
The APM disklabel includes a meta partition for the partition map itself. This is always counted by parted as a partition, and is *not* considered to be a metadata partition. We therefore need to start our partitioning at #2 on APM, not #1. Closes: #376
2024-01-17image: PPC ISO: Create /ppc/chrp directoryA. Wilcox2-2/+2
Required to boot in LPAR, otherwise receive message from SMS that no operating system is installed.
2023-12-11tests: Fix bootloader testA. Wilcox2-2/+2
Now that ARMv7 supports EFI, we need to use MIPS for the 'no default' case. Fixes: 39dd5776f7 ("hscript: bootloader: Support EFI boot on ARMv7")
2023-12-11Qt UI: Enable SDDM service when pkg is selectedA. Wilcox1-1/+5
It's very likely that if the user selected "graphical login" in the custom packages screen, they want the service to actually start on boot.
2023-12-11hscript: bootloader: Support EFI boot on ARMv7A. Wilcox1-4/+2
2023-12-10Update CHANGELOG for 0.9.8.10.9.8.1A. Wilcox1-0/+11
2023-12-09Qt UI: Runner: Use specialised QProcess subclassA. Wilcox4-1/+48
This allows us to set the uid/gid in the executor process so that APK inherits full root, which prevents a weird error that causes APK Tools to write out all files as owned by the live user's GID when run under live media.
2023-12-07Update CHANGELOG0.9.8A. Wilcox1-5/+44
2023-12-06Qt UI: Use single line for simple descriptionsA. Wilcox1-2/+2
This makes it fit in the alloted size.
2023-12-06Qt UI: Refactor package selection page, againA. Wilcox2-48/+67
* Allows one to choose Standard, Mobile, or Compact of any DE. * Refactor automatic package selection to better reflect what users are likely to expect from their selection. * Use tabs to separate graphical desktop, text-only / server, and custom options. This will allow us to add more options later, as well. * Fit in given size.
2023-12-05hscript: meta/PkgInstall: Allow negative selectionA. Wilcox3-1/+1
This allows the installation of 'negative selections' or the purposeful exclusion of packages from the installed environment.
2023-12-03Update intro billboard to use polyguin logo.Zach van Rijn2-0/+0
CC0-licensed keyboard image from: https://negativespace.co/white-keyboard/ Cropped, then set to 80% opacity with white bg. Fixes: #338 Ref: packages#1103
2023-12-02hscript: disk: Filesystem: Use full paths for mkfsA. Wilcox1-7/+7
This allows the executor to run when PATH does not contain /sbin nor /usr/sbin.
2023-12-01Image Creation: Add ARMv7 ISO paramsA. Wilcox2-0/+61
2023-12-01Add 'rootshell' key to determine root's shellA. Wilcox13-7/+159
* Key added to code and documentation. * Tests added and pass locally on gwyn (ppc64) and fran (aarch64). * Qt UI automatically sets /bin/zsh as root's shell (ref: packages#206). * ISO image creator backend no longer has root shell hack.
2023-12-01Qt UI: I just can't think of EnglandA. Wilcox1-1/+1
Set default language to en_US.UTF-8 in the installed target environment until we can have a proper language selection page.
2023-11-18Qt UI: Fix build in Installation EnvironmentA. Wilcox1-5/+0
Fixes: 8801c9cca ("Qt UI: Remove "Use available space" option")
2023-11-17Qt UI: Commit all changesA. Wilcox1-4/+0
Fixes: 8801c9cca ("Qt UI: Remove "Use available space" option")
2023-11-17Executor: Only stack runlevels if runlevels existA. Wilcox1-4/+4
If we are doing a mini-rootfs or container installation, we may not have OpenRC at all. This would mean /etc/runlevels doesn't exist in the target. In that case, we crash with: boost::filesystem::directory_iterator::construct: No such file or directory [system:2]: "/tmp/horizon-image/target/etc/runlevels" Closes: #378 Fixes: a9ccd9bc7e ("hscript: Allow svcenable to create new runlevels")
2023-11-17Qt UI: Remove "Use available space" optionA. Wilcox4-27/+2
Way too buggy in its present state, unfortunately. Needs a lot more logic. Closes: #377, #376
2023-11-16devel: Fix rST syntax in style guideA. Wilcox1-6/+3
2023-10-29Qt UI: Add Advanced Options screenA. Wilcox8-12/+242
Allows the user to select arch, repository, signingkey, and version. Closes: #337
2023-10-29Qt UI: Code quality improvementsA. Wilcox2-31/+18
* Implement some clang-tidy and clazy suggestions. * Use the default signingkey options based on the architecture instead of hard-coding it in the wizard *and* hscript/script_v.cc.
2023-10-29Qt UI: Perf improvements, hide date/time in RT EnvA. Wilcox2-25/+26
Dramatic speed up parsing time zone lists by using const refs. Closes: #357
2023-10-28image: Allow custom paths for qemu-static binariesA. Wilcox2-5/+22
This allows one to use i.e. /opt/qemu/bin or /usr/gxemul/bin for the qemu static binaries used to generate foreign-architecture images.
2023-10-28Qt UI: Enlarge wizard and re-layout pkg/net pagesA. Wilcox3-22/+33
This ensures that buttons and labels are not cut off.
2023-10-28Qt UI: Add helper to manipulate Xauthority filesA. Wilcox4-3/+43
This allows us to run software after the hostname changes in the Installation Environment and live desktops. Closes: #372
2023-10-27Merge branch 'add-xz-threading' into 'current'Zach van Rijn1-0/+5
image: Tar backend: Enable xz threading support See merge request adelie/horizon!7
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