Commit Graph

549 Commits

Author SHA1 Message Date
Harald Sitter
fffff999aa basic-test: more aggressively clean up the qemu instance 2025-08-06 11:00:01 +02:00
Nate Graham
b1361d31f4 Pre-install missing make dependencies for KDE projects
We want for at least the pre-installed KDE software to be buildable on
the OS image with no hassle. Add some packages to the
packages-development.conf file.

Fixes #220
2025-08-05 19:36:29 -06:00
Nate Graham
5f3e6c0305 Move less, tree, and vim to 10-packages-cli.conf
These aren't strictly speaking development tools. We don't want them to
disappear should we ever make the developer packages an optional overlay
or something.
2025-08-03 17:20:34 -06:00
Nate Graham
1fa9582b3f Remove non-existent steam-devices-git package
This is in AUR and already installed from there in the
kde-linux-packages repo. Remove it from here where it doesn't exist
anyway.
2025-08-03 17:16:58 -06:00
Nate Graham
3bdb479f66 Correct typo in comment
GIT_SILENT
2025-08-03 17:15:12 -06:00
Nate Graham
b26cbbbd03 Uze zram for swap
Right now we don't have any swap, which can cause various memory
management complications, especially on systems with little physical
RAM.

Let's remedy this by using zram. This makes the system much less likely
to OOM in memory pressure situations, while being much faster than
disk-backed swap and avoiding the security issues of having RAM
contents on disk.

I chose some fairly aggressive settings based on research and testing:

- zram value of double the physical RAM, because it gets compressed
  anyway and appears to have internal limits to avoid letting the
  compressed memory completely crowd out the uncompressed memory.
- lz4 as the compression algorithm because it's super fast at the
  expense of worse compression compared to zstd (the second best
  option), but this is mitigated by having a large zram value.
- Tune the kernel parameters to make sense for swap being fast, since
  the defaults assume slow swap which isn't true for us now.

The only thing we don't gain is hibernation support, but that can be
done later; these aren't mutually exclusive.

Resolves #84
2025-08-03 09:00:43 -06:00
Harald Sitter
7e50c46dee ci: try to force the script to exit 2025-07-30 21:28:52 +02:00
Harald Sitter
df25b46e59 debug what happens after upload
so it appears upload actually finishes but the job doesn't. let's see
what's going on
2025-07-30 18:56:11 +02:00
Harald Sitter
15138c4d72 no longer need to clean the subvolumes
not using docker anymore and the VMs are ephemeral
2025-07-30 18:55:25 +02:00
Harald Sitter
ce0649c129 make upload more verbose
it gets stuck on the VM based CI and it's not clear why
2025-07-30 18:02:57 +02:00
Harald Sitter
64841b3ebb files are owned by root because we sudo. take them back 2025-07-30 12:20:03 +02:00
Harald Sitter
d1a627607c try to make sure the uploader has access
not sure why that is being weird after the VM transition. let's see if a chown fixes it
2025-07-30 11:50:04 +02:00
Harald Sitter
b257ef08e1 debug secure files 2025-07-30 11:46:34 +02:00
Harald Sitter
0c4d85d983 ci: try downloading secure files as user
seems the installer at least has some notion of not installing into /usr
when the uid is not 0
2025-07-30 08:40:27 +02:00
Harald Sitter
d205169a16 ci: don't run in docker now that we use VMs 2025-07-29 20:18:33 +02:00
Harald Sitter
f5846c98ce ci: pass the env along
not sure that will work but I'm hopeful
2025-07-29 20:04:51 +02:00
Harald Sitter
5a81470572 use VM also for publishable job 2025-07-29 19:57:13 +02:00
Harald Sitter
f861e85d43 ci: port to VM builders 2025-07-29 19:54:41 +02:00
Nate Graham
e5d9c27128 Compile Calamares from its new home on Codeberg
Looks like it moved over there a few months ago.
2025-07-23 13:52:13 -06:00
Hadi Chokr
3fa2324aaa Add git-lfs
Adding Git extension for versioning large files to base Image.

Resolves #210
2025-07-22 07:35:44 -06:00
Harald Sitter
8d1906ab44 bootstrap: store the pristine pacman.conf
we can't have the packages pipeline use the linux equipped file because
then it'd download the binary packages instead of building them, risking
BIC crashes and the like
2025-07-22 12:03:27 +02:00
Harald Sitter
d7636083d5 bootstrap: fold getbuild_date into bootstrap AND build
unfrotunately we need a code copy for this because bootstrap must be
self contained. not too much to worry about since they are both in the
same repo so I expect people will grep for stuff (hopefully :D)
2025-07-22 10:47:56 +02:00
Harald Sitter
96c7c0d139 bootstrap: refactor how build_date gets applied
with ephemeral VMs the base image is old so we need to update the
mirrorlist during build.sh as well. also turn the copies around. now we
always pull copies out of /etc
2025-07-22 10:10:20 +02:00
Harald Sitter
6a3d390d32 bootstrap: put mkosi into /opt
/tmp would disappear between boots in VM
2025-07-22 10:08:22 +02:00
Harald Sitter
a39c00fa52 bootstrap: make sure to populate the key
VM images don't come populated
2025-07-22 10:08:03 +02:00
Nate Graham
697fbc2955 Remove QtWebEngine workaround
It was fixed in Qt 6.9.1, and we have that now.
2025-07-20 15:21:00 -06:00
Nate Graham
75eb8fcc8b Relax installation requirements
Reduce system requirements to 3.5 GB to account for some of it being
taken up by the GPU and firmware. This should allow installing on
systems with 4 GB of physical RAM.

Fixes #198
2025-07-19 20:40:36 -06:00
Hadi Chokr
5962e614b3 Force Plymouth to use the GPUs DRM 2025-07-18 11:32:13 +00:00
Hadi Chokr
cf6a516a2e Silence the kernel
This will completely silence the boot and help debugging Issue #209.

The options are explained in the Arch Wiki here:
https://wiki.archlinux.org/title/Silent_boot#Kernel_parameters
2025-07-17 08:28:38 -06:00
Hadi Chokr
b89b76d942 Revert "Total Silence..."
This reverts commit 70b87241d6
2025-07-15 14:10:45 +00:00
Hadi Chokr
70b87241d6 Total Silence... 2025-07-15 14:10:17 +00:00
Hadi Chokr
3ed41f86c7 Re-add toolbox to base image
Add Toolbox to the base image. Its the base of distrobox
but is still useful, as its faster and lighter etc. It's
also needed for https://invent.kde.org/system/kontainer
Second Backend. It was replaced by distrobox earlier but
toolbx has been rewritten in an actual programming
language and is useful again.
2025-07-12 08:17:27 -06:00
Hadi Chokr
e356bac4c4 Rebase Move --package-cache-dir flag to mkosi.conf
It isn't dynamic, so we can have it in the config file.

Rebase of https://invent.kde.org/kde-linux/kde-linux/-/merge_requests/125
2025-07-12 07:25:52 -06:00
Nate Graham
fec7abae52 Pre-install geoclue
Otherwise Night Light's automatic location mode won't work.
2025-07-11 13:04:59 -06:00
Hadi Chokr
e9e0128e72 Add vt.global_cursor_default=0 to cmdline 2025-07-11 15:35:58 +00:00
Harald Sitter
ae69572a81 remove update test logic again
it doesn't work on master for reasons I do not understand since it
passed in the MR CI

```
+ /usr/lib/systemd/systemd-sysupdate list
Found container virtualization container-other.
Directory "/boot" is not the root of the file system.
File system "/efi" is not a FAT EFI System Partition (ESP) file system.
File system "/boot" is not a FAT EFI System Partition (ESP) file system.
Failed to check file system type of "/boot/efi": No such file or
directory
Failed to resolve $BOOT: Required key not available
```
2025-07-01 14:13:37 +02:00
Harald Sitter
62850372b0 use new pgp file name
also try to make sure this doesn't break in the future

Fixes #199
2025-06-30 12:05:39 +02:00
l10n daemon script
28e86e1baa GIT_SILENT made messages (after extraction) 2025-06-22 00:41:57 +00:00
l10n daemon script
b6ec4250c9 GIT_SILENT made messages (after extraction) 2025-06-21 00:41:13 +00:00
Hadi Chokr
2bfd415d34 Set a lower User Service Timeout
2 minutes does not make much sense for a desktop OS.

CCBUG: 505563
2025-06-15 11:45:05 -06:00
Hadi Chokr
74419bdeea Revert "Add new file"
This reverts commit f5c728de5d
2025-06-14 17:34:51 +00:00
Hadi Chokr
f5c728de5d Add new file 2025-06-14 17:34:11 +00:00
Hadi Chokr
0565fb65ba No reason to use Version 3 lol 2025-06-12 07:58:31 +00:00
Hadi Chokr
d182cfb6cc Edit LicenseRef-KDE-Accepted-LGPL.txt 2025-06-12 07:54:09 +00:00
Hadi Chokr
f22610ed4d Finish REUSE CI. 2025-06-12 07:49:31 +00:00
Hadi Chokr
86cdf4147f Edit REUSE.toml 2025-06-12 07:49:31 +00:00
Hadi Chokr
d49dd0ab08 Edit REUSE.toml 2025-06-12 07:49:31 +00:00
Hadi Chokr
3b9eff34d9 Add Reuse 2025-06-12 07:49:31 +00:00
Hadi Chokr
faf026e397 Update .gitlab-ci.yml file 2025-06-12 07:49:31 +00:00
l10n daemon script
6077af1b37 GIT_SILENT made messages (after extraction) 2025-06-11 00:41:16 +00:00