Commit Graph

570 Commits

Author SHA1 Message Date
Harald Sitter
1791c8a5e5 update calamares to support rootfsv1 and erofs 2025-08-06 17:21:05 +02:00
Nate Graham
aaf7eaab85 Set CAP_SYS_NICE on kwin_wayland
Resolves #224
2025-08-06 08:05:54 -06:00
Harald Sitter
64af49d499 port live to new erofs as root
major change is that live data is now in /live (/live continues to not
appear on the final system because we selectively mount /usr only)
2025-08-06 16:00:14 +02:00
Harald Sitter
48a6689f63 drop rootflags from live efi
no longer necessary seeing as we now use the erofs as literal root
2025-08-06 15:55:52 +02:00
Harald Sitter
552bfefb0f use correct path 2025-08-06 15:26:44 +02:00
Harald Sitter
c065cfedef debug-- 2025-08-06 14:56:27 +02:00
Harald Sitter
30fc552dfe use the erofs as root partition
this saves us the entire btrfs dance
2025-08-06 14:45:46 +02:00
Harald Sitter
5f6d0dba73 move efi-template to factory dir 2025-08-06 14:02:18 +02:00
Harald Sitter
5fc8c765bd output stdout/stderr, we don't need to capture it 2025-08-06 14:02:18 +02:00
Harald Sitter
4f6c1e52a0 calamares: make sure presets are applied
this actually points a more general workflow problem: if we don't
overlay etc then how do we make sure presets are applied?
2025-08-06 12:58:20 +02:00
Harald Sitter
7ee73f4a4e add a qrcode to the v2 page 2025-08-06 12:56:51 +02:00
Harald Sitter
693dfc41df try hiding the splash
deactivate did not what was expected
2025-08-06 12:56:36 +02:00
Harald Sitter
e12e1ba914 don't copy into etc if it already exists 2025-08-06 12:56:29 +02:00
Harald Sitter
a02c5c758b disable backup renaming for now 2025-08-06 12:56:21 +02:00
Harald Sitter
b251e3c722 use correct var 2025-08-06 12:56:15 +02:00
Harald Sitter
5f1c5b62f6 add a helper for the btrfs migration
notably this allows us to recursively delete and snapshot things
2025-08-06 12:55:25 +02:00
Harald Sitter
fc8c58c9e2 upload efi as well 2025-08-06 12:55:18 +02:00
Harald Sitter
559cdf2990 put flatpaks into factory
a bit awkward. ideally we'd put a sideload repo into factory and then
install from there. something for further down the line
2025-08-06 12:55:06 +02:00
Harald Sitter
0f5c86c596 version the erofs
it was versionless because of testing, but that doesn't really represent
how it will work in production
2025-08-06 12:54:44 +02:00
Harald Sitter
e8ba61e2ff typos-- 2025-08-06 12:54:10 +02:00
Harald Sitter
a5f7cae7f4 turn erofs into a feature
currently off by default

can be enabled via an /etc fragment
2025-08-06 12:30:24 +02:00
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