Commit Graph

29 Commits

Author SHA1 Message Date
Jan Schär bee5eb3984 Add reboot with BootNext 2025-03-08 16:56:37 +01:00
Jan Schär 6c8705b8cd Add runcontestant script 2025-03-08 16:54:15 +01:00
Jan Schär 9204d11a7f Fix detect-swap 2025-03-07 22:33:33 +01:00
Jan Schär 6abd103395 Increase installer swap partition size
By default, cap-ram is set to limit the swap partition to 1024 MB. After
removing this limit, the swap partition is then created with the same
size as the RAM. We want to do this to make more swap available to live
systems.
2025-03-07 20:18:06 +01:00
Jan Schär 500ca36444 Fix stuck nftables load
Previously, the ssh connection got stuck when first loading the nftables
ruleset. I now found the reason for this: conntrack was not active
before loading the ruleset, so there was no conntrack entry for the ssh
connection. This means the traffic was not matched by 'ct state
established', and the other output rules did not allow the traffic. To
fix this, we can load a ruleset at boot which uses conntrack; this
ensures that conntrack is already enabled when loading the actual
ruleset over ssh.
2025-03-07 12:41:24 +01:00
Jan Schär 0352ad997f Enable minimize and maximize buttons 2025-03-07 12:37:49 +01:00
Jan Schär 2f296fa0e5 Use zstd for squashfs compression
zstd decompression is a lot faster than xz (default). This is especially
noticeable when starting Firefox, Chromium or VS Code for the first
time; with zstd, the startup time is cut in half. Compression time is
also faster with zstd at the default level. The downside is that the
squashfs is larger by 138 MB. This is a tradeoff, but I think it's worth
it. Increasing the zstd compression level does not significantly reduce
the size and takes much longer to compress, so I left it at the default.
2025-03-01 14:25:29 +01:00
Jan Schär e1fe68ad59 Enable zram on live
This allows Linux to compress RAM, which should help mitigate memory
pressure.
2025-03-01 14:15:02 +01:00
Jan Schär 6b327be311 Detect and enable swap partitions on live
The laptops owned by SOI have 8 GB of RAM, and live systems running on
them sometimes run out of memory. To mitigate this, find and enable the
swap partition of the installed OS on the internal SSD.
2025-03-01 14:08:59 +01:00
Jan Schär 7768d84c56 Set power button also for gdm 2024-06-22 15:46:40 +02:00
Jan Schär 3f14ff63be Create custom boot entries in installer 2024-06-22 15:26:29 +02:00
Jan Schär ecdc506a1a Add a boot menu item for resetting SOI user 2024-06-22 13:21:52 +02:00
Jan Schär 697bbc3618 Add netcat 2024-06-22 13:21:52 +02:00
Jan Schär 6419fa917e Insert distribution into packages sources 2024-06-21 18:16:12 +02:00
Jan Schär af95999762 Set power button to power off 2024-06-21 17:57:27 +02:00
Jan Schär 474785f2d7 Add more text to contestops readme 2024-05-18 18:09:13 +02:00
Jan Schär 530d3b23ca Install video codecs 2024-05-16 13:56:28 +02:00
Jan Schär 69994711ea Disable Gnome Software search provider on live 2024-05-16 12:50:03 +02:00
Jan Schär aab293ac19 Add contest WiFi connection 2024-05-13 22:59:31 +02:00
Jan Schär a60638d63b Disable autostart of Gnome Software on live 2024-05-13 22:49:16 +02:00
Jan Schär d98a45a70b Fix vscode exts binaries 2024-05-13 22:48:35 +02:00
Jan Schär 58fedcfc70 Stop partial contest lock bypass 2024-05-11 23:25:34 +02:00
Jan Schär a2938a3515 Disable automatic apt update on live 2024-05-11 15:18:01 +02:00
Jan Schär a41c1d20b9 Limit cpptools cache size on live 2024-05-11 14:51:10 +02:00
Jan Schär dd3c07efb7 Move common live functionality to a new layer 2024-05-11 14:45:55 +02:00
Jan Schär ad6548f839 Only load the squashfs into RAM
Before this, it loaded everything from the ISO into RAM, now it only 
loads the squashfs. This saves about 110 MB of space in RAM, and reduces 
boot time.
2024-05-11 13:55:44 +02:00
Jan Schär 02f0b6f2cb Only put symlinks to vscode exts in skel 2024-05-11 11:50:52 +02:00
Jan Schär b778340a5f Add mkdir function 2024-05-10 17:37:19 +02:00
Jan Schär 968d09e362 Initial commit 2024-05-09 22:45:53 +02:00