Commit Graph

92 Commits

Author SHA1 Message Date
Harald Sitter
762dbabb81 let's start a breeze-bgrt theme for plymouth 2024-03-25 14:05:25 +01:00
Harald Sitter
1c7dda5629 pull perf into the development packags 2024-03-25 00:53:27 +01:00
Harald Sitter
393a82caae enable samba support 2024-03-23 21:27:21 +01:00
Harald Sitter
bc9c440497 systemd: also disable debug logging in config
already got disabled in initrd but the config file still causes
verbosity
2024-03-23 01:16:13 +01:00
Harald Sitter
8b9a669737 initrd: make quiet
since booting works more or less reliable now I don't need this level of
verbosity
2024-03-22 04:11:26 +01:00
Harald Sitter
9e2b577fe9 use a nicer oom time
completely arbitrary value anyway
2024-03-22 04:09:54 +01:00
Harald Sitter
2623067756 systemd: configure oom handliing
hope I used the right directories respectively, haven't managed to test
this properly
2024-03-21 17:26:20 +01:00
Harald Sitter
03870ac301 install fwupd for discover 2024-03-20 14:58:28 +01:00
Harald Sitter
fc9946134b next try to get a working ignore going 2024-03-20 14:48:40 +01:00
Harald Sitter
771c501081 try fixing kde-builder syntax 2024-03-20 14:35:55 +01:00
Harald Sitter
de23c3d353 try to ignore packagekit-qt
not sure this is the right syntax but let's give it a go. manual has
some extra keys which I hope we don't need.
2024-03-20 14:18:57 +01:00
Harald Sitter
29478703ad noconfirm the removal 2024-03-20 14:14:47 +01:00
Harald Sitter
25415f781f experiment successful, switch back to regular plasma-workspace 2024-03-20 13:56:28 +01:00
Harald Sitter
6f801db211 experiment with my livestuff branch
it's meant to setup the live system and session correctly, but testing
it is rather difficult so we need to bend the image a bit to try it
2024-03-19 17:13:17 +01:00
Harald Sitter
6cd78ca192 give install page a nice icon too 2024-03-18 15:57:11 +01:00
Harald Sitter
2d72217424 calamares: add pretty navigation bar as well 2024-03-18 15:50:49 +01:00
Harald Sitter
8b0d08ce78 calamares: move all bar anchors to the same place
easier to read
2024-03-18 15:50:32 +01:00
Harald Sitter
db15a402d0 calamares: refine header a bit
brings Jens' design a bit more in line with how we do UIs today
2024-03-18 15:36:46 +01:00
Harald Sitter
60c2047198 calamares: implement nicer sidebar (well, topbar)
design by Jens Reuterberg
https://community.kde.org/KDE_Visual_Design_Group/Calamares_Design_Project
2024-03-18 15:00:28 +01:00
Harald Sitter
abf12ab6a4 packages: pull gammaray into the devel workflow 2024-03-18 13:32:06 +01:00
Harald Sitter
24e49d192d calamares: update branding a tad
probably should visually design the bugger though
2024-03-18 00:22:23 +01:00
Harald Sitter
56b288b324 calamares: remove now unused configs
they are no longer part of the settings as they have been replaced by
our custom scripts
2024-03-17 23:44:29 +01:00
Harald Sitter
7fc5fa11d5 overlay: add support for locale directory
inconveniently locales are in /usr/lib/locale rather than var.
selectively overlay it with a subvolume
2024-03-17 23:43:50 +01:00
Harald Sitter
264a5bee6a preset: disable some stuff we most certainly don't need 2024-03-17 19:08:18 +01:00
Harald Sitter
6fb9c68859 overlay: don't restart
if it falls on the nose it's not getting any better a second time
2024-03-17 16:45:10 +01:00
Harald Sitter
850cf8802e initrd: switch to rw by default
ro for as yet unknown reasons causes the overlay mounts to also be ro
and break because obviously mounting upper and work dir that are ro
makes no sense
2024-03-17 16:44:48 +01:00
Harald Sitter
0475cf3a48 overlay: don't mount twice 2024-03-17 16:44:05 +01:00
Harald Sitter
54f8c97f09 overlay: override rootdisk with $1 instead of seeding it
basically we always go with gpt-auto-root when available unless $1 is
set. this specifically makes it so that we get decrypted device nodes in
encryption scenarios
2024-03-17 13:50:40 +01:00
Harald Sitter
d7b5177613 overlay: mount with rw
otherwise we may end up ro and fall apart
2024-03-17 13:49:34 +01:00
Harald Sitter
dea48249ef calamares: try to resolve luks devices properly 2024-03-17 13:48:42 +01:00
Harald Sitter
9fbb59a09a also set lsm on live image
gives a more coherent experience between images
2024-03-17 13:02:47 +01:00
Harald Sitter
728b818cb4 forward args to calamares 2024-03-17 05:23:24 +01:00
Harald Sitter
cade9c6749 rejigger how calamares works
calamares has real trouble implementing the mount lineup we need, this
resulted in a fairly subpar installation result. we'll now sidestep
calamares for mount and unpacking use.

_calamares@subvol now takes care of both use cases. it first undoes a
bunch of stuff calamares does implicitly, then sends the rootfs subvol
to the target, creates all the necessary subvolumes and folders, mounts
/proc /dev etc and finally invokes the overlay program to overlay
everything like we do in the initrd

as a side effect the overlay program now accepts device and mount target
as input with default values when no input is given (i.e. the initrd
scenario - though now that I think about it we could probably just
invoke it properly from the service file)

the end result of all this is a more correct target partition with
properly populated /etc (overlay)
2024-03-17 05:23:13 +01:00
Harald Sitter
90d10b2431 mount the system root rw
otherwise the overlay may fail to mount on account of not being able
to write. specifically this appears to be a side effect of the new
mkinitcpio hooks for sd-encrypt
2024-03-17 03:24:41 +01:00
Harald Sitter
49246bfebf try to get by without setting a default subvol
I am not sure calamares will be able to deal with this but it'd be
better if we synced the actual btrfs tree onto the target drive, not
just the root. means we don't have to replicate all the directory setup
for overlays and what not in the cala configs
2024-03-17 02:03:43 +01:00
Harald Sitter
9b6650f71e don't hardcode root=
it gets in the way of gpt detection and more specifically
auto-decryption support
2024-03-17 02:01:58 +01:00
Harald Sitter
627c413114 comment++ 2024-03-17 01:52:44 +01:00
Harald Sitter
65fcdafb64 make sure overlay module is available for the overlay script 2024-03-17 01:48:40 +01:00
Harald Sitter
4c8857ac7b make sure the live user is run before the DM starts 2024-03-17 00:47:01 +01:00
Harald Sitter
800e9fea43 move efi rebuilding to a separate file
the hope is that this makes on-the fly rebuilding for development a bit
easier
2024-03-17 00:36:05 +01:00
Harald Sitter
6860cb1d37 unbreak efi generation
lost a line while git staging
2024-03-17 00:27:02 +01:00
Harald Sitter
e92cf49cfe overlay gpt-auto-root when available
more reliable than the label alias
2024-03-16 19:42:56 +01:00
Harald Sitter
17ca21dbe6 update comment to correct url
the line from the wiki seems to work better, let's go with that for now
2024-03-16 19:34:13 +01:00
Harald Sitter
a58eda70bb update partition config to more modern keys 2024-03-16 19:33:22 +01:00
Harald Sitter
57d510e87f use proper name 2024-03-16 19:33:08 +01:00
Harald Sitter
8f9a537d7a enable sd-encrypt hook for initrd
the hope is that this should make encryption work
2024-03-16 19:09:53 +01:00
Harald Sitter
84441855fb try enabling luks support
from some preliminary testing it seems to work somewhat OOTB (the initrd
is failing though right now)
2024-03-16 19:08:19 +01:00
Harald Sitter
8ffe1df5ac bump the minimum partition size
we'll need at least 10G right now (this may need bumping later because
10G is actually not enough to update the system)
2024-03-16 19:07:50 +01:00
Harald Sitter
0355e8750c comment--
we don't want the partition to be RO, only selectively snapshots and
that is managed by systemd-sysupdate
2024-03-16 19:06:31 +01:00
Harald Sitter
9d6c8ae169 seed ESP using the efi-template directory
should give better and more consistent results
2024-03-16 19:05:58 +01:00