Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
We don't add them by default even when firmware is true now, because
the user/ repository has linux-firmware as of 1.0-BETA6.
|
|
Since linux-firmware moved to user/ in 1.0-BETA6, we don't pull in
the APK Fission repository any more for linux-firmware packages.
|
|
Some typos and thinkos managed to slip through CI. Fix those.
Fixes: d56707af8b9c ("Add friendly names for keymaps")
Fixes: 4e77d86d6fc1 ("Qt UI: Fall back to non-sudo when launching KPM")
|
|
|
|
And with Arctic Fox providing it on PPC, it works everywhere.
|
|
* Move our system_names and system_groups out to a util header.
* Qt UI: Validate that the user's chosen account name is not contained
in either system_names nor system_groups.
Closes: #388
Acked-by: Síle Ekaterin Liszka <sheila@vulpine.house>
|
|
This allows users to choose the "friendly name" for their keyboard layout
instead of the internal XKB name.
Closes: #386
Suggested-by: Jesse Smith <distro@distrowatch.com>
Reviewed-by: Zach van Rijn <me@zv.io>
In-memory-of: Sammie the Cat
|
|
The inst CD doesn't have sudo on it, because everything is run as root
anyway. If we can't start things under sudo, try running them raw.
Closes: #397
|
|
Only if the error is EBUSY - which implies there *is* a filesystem mounted
at the specified path - we treat umount as an error and stop. This should
prevent /dev from being erased host-side.
|
|
This ensures that boost::filesystem uses UTF-8 for filenames.
Closes: #381
|
|
It is more reassuring to know that the process is running, and when it
finishes successfully, rather than just a 'stuck' terminal with no
displayed progress.
|
|
If an image creation run is interrupted (i.e. ^C) and the target FSes
aren't umounted, the ISO backend tries to umount them during creation.
However, it doesn't recursively umount /dev or /sys, which leaves them
mounted (with an EBUSY error). This leads to the fs::remove_all call
clearing out /dev nodes, which has personally irked me many times.
Now we retry with recursion when we hit EBUSY, so that this won't
happen.
|
|
This allows backends to implement their own handling of target umounts.
Notably, the tar backend already umounts the target /dev /proc /sys, so
our hardcoded cleanup in the Creator caused unnecessary and confusing
error output when umount was run a second time.
Closes: #345
|
|
Closes: #395
|
|
See-also: https://github.com/nlohmann/json/pull/2144
|
|
Since XFCE isn't specified in the `switch` statement, it hits `default`.
The default statement assumes Plasma is desired, so the entirety of the
KDE software suite is installed when XFCE is chosen.
This fixes it so only the optional Xorg utilities are installed.
Closes: #384
|
|
In the Install Environment, if only one interface was available, we made
the UI show that there was only one interface, but didn't set it as the
chosen interface in the Wizard object. This caused installation to fail.
In the Runtime Environment, it was possible to choose Continue without
typing an interface name. This would cause installation to fail.
Closes: #380
|
|
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
|
|
Required to boot in LPAR, otherwise receive message from SMS that no
operating system is installed.
|
|
Now that ARMv7 supports EFI, we need to use MIPS for the 'no default'
case.
Fixes: 39dd5776f7 ("hscript: bootloader: Support EFI boot on ARMv7")
|
|
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.
|
|
|
|
|
|
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.
|
|
|
|
This makes it fit in the alloted size.
|
|
* 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.
|
|
This allows the installation of 'negative selections' or the purposeful
exclusion of packages from the installed environment.
|
|
CC0-licensed keyboard image from:
https://negativespace.co/white-keyboard/
Cropped, then set to 80% opacity with white bg.
Fixes: #338
Ref: packages#1103
|
|
This allows the executor to run when PATH does not contain /sbin nor
/usr/sbin.
|
|
|
|
* 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.
|
|
Set default language to en_US.UTF-8 in the installed target environment
until we can have a proper language selection page.
|
|
Fixes: 8801c9cca ("Qt UI: Remove "Use available space" option")
|
|
Fixes: 8801c9cca ("Qt UI: Remove "Use available space" option")
|
|
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")
|
|
Way too buggy in its present state, unfortunately. Needs a lot more logic.
Closes: #377, #376
|
|
|
|
Allows the user to select arch, repository, signingkey, and version.
Closes: #337
|
|
* 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.
|
|
Dramatic speed up parsing time zone lists by using const refs.
Closes: #357
|
|
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.
|
|
This ensures that buttons and labels are not cut off.
|
|
This allows us to run software after the hostname changes in the
Installation Environment and live desktops.
Closes: #372
|
|
image: Tar backend: Enable xz threading support
See merge request adelie/horizon!7
|
|
This should enable tarballs to be created significantly faster on
systems with more than one processor.
|
|
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.
|
|
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")
|
|
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")
|