Commit Graph

193 Commits

Author SHA1 Message Date
Harald Sitter
e5042c1c12 try to overlay flatpak in live session
this is a bit complicated unfortunately
2024-09-28 14:07:20 +02:00
Harald Sitter
8d3de329df calamares: delegate mount options to calamares itself
I have a suspision that this wasn't working before because this isn't a
remount ;)

there is a more general problem that we can't tell systemd to mount with
compression so this actually doesn't yet enable global compression
2024-09-28 13:10:43 +02:00
Harald Sitter
83ca59e5dc mkosi: libgapi actually doesn't exit
try without it and see what happens. ultimately the dep management will
be replaced by tech I discussed with Ben at akademy anyway
2024-09-28 13:09:08 +02:00
Harald Sitter
58754d035c Merge branch 'install-xdg-user-dirs' into 'master'
Pre-install xdg-user-dirs

Closes #4

See merge request sitter/kde-linux!4
2024-09-28 11:03:05 +00:00
Harald Sitter
0434e5c9c4 Merge branch 'add-hplip-as-inaugural-hw-enablement-package' into 'master'
Add `hplip` as inaugural package in new HW enablement package list

Closes #23

See merge request sitter/kde-linux!6
2024-09-28 11:01:56 +00:00
Harald Sitter
98983546c7 Merge branch 'build-more-stuff' into 'master'
Pre-install more useful KDE things

Closes #15 and #20

See merge request sitter/kde-linux!7
2024-09-28 11:01:35 +00:00
Nate Graham
0afba56458 Pre-install more useful KDE things
Fixes #15
Fixes #20
2024-09-25 10:14:31 -06:00
Nate Graham
1e78668096 Add hplip as inaugural package in new HW enablement package list
Fixes #23

Related to #35
2024-09-24 21:51:34 -06:00
Nate Graham
859fb3dbdc Pre-install xdg-user-dirs
This'll set up the expected folders in the user's homedir.

Fixes #4
2024-09-24 17:54:27 -06:00
Harald Sitter
55a2f9aa27 Merge branch 'i-like-cups' into 'master'
Enable cups service so printing works

Closes #28

See merge request sitter/kde-linux!3
2024-09-23 12:12:31 +00:00
Nate Graham
57c4f09380 Enable cups service so printing works
Fixes #28
2024-09-22 13:57:36 -06:00
Harald Sitter
16aa124e76 live: make double sure the setup runs before display-manager 2024-09-22 21:41:07 +02:00
Harald Sitter
f03f7750de live: fix requiredness 2024-09-22 21:40:56 +02:00
Harald Sitter
daaf82f3bf install: try to seed flatpaks into the installed system 2024-09-22 20:15:56 +02:00
Harald Sitter
4f822c10bc live: try to mount flatpak before the volatile overlay
what I want to happen is that the flatpak is also overlayed though I am
not convinced that works the way I think it does
2024-09-22 20:06:44 +02:00
Harald Sitter
f4f03e8e5f live: make generator more robust against multi-runs
also implicitly fixes the symlink of var-lib-flatpak. it was bugging out
because the dir already existed
2024-09-22 19:42:02 +02:00
Harald Sitter
8e3ba4c6e4 live: move user creation to the top
if something below fails it will at least have created a user
2024-09-22 17:11:32 +02:00
Harald Sitter
a9280b2838 live: setup system stuff a bit 2024-09-22 17:10:43 +02:00
Harald Sitter
6cfeb8025b live: disable relogin for now
something is broken causing a login loop ad infinitum
2024-09-22 17:10:26 +02:00
Harald Sitter
d122bf9533 run live setup as part of multi-user
otherwise there is no user when I manually mask sddm :D
2024-09-22 16:45:38 +02:00
Harald Sitter
ab602fc64b live: change the way flatpak setup works
instead of seeding the flatpaks manually let's just use the tree from
installation. we'll put that into /@flatpak and then mount it into place
as part of the live generator.

we'll see how it goes.

if this works out we may then btrfs receive the volume into the
installed system and handle it similar to @snap as a special subvol
2024-09-22 16:37:22 +02:00
Harald Sitter
3b2dcb6411 assume yes when installing flatpak! 2024-09-22 14:48:07 +02:00
Harald Sitter
bfeda6a0b4 update file name 2024-09-22 13:09:13 +02:00
Harald Sitter
6e0cf697d4 add a unit to seed flatpaks
this doesn't quite work as intended because we have limited space in the
live session. so, maybe we need to keep them in the base image after all
:(
2024-09-22 01:22:48 +02:00
Harald Sitter
3bdbeebe8a live: mount /system
previously we'd only mount it during calamares run, which is a bit late
since we want to seed flatpaks
2024-09-22 01:13:06 +02:00
Harald Sitter
21530f6a22 live-setup: make calamares executable 2024-09-22 01:00:33 +02:00
Harald Sitter
10922e9969 live-setup: create sddm dir before writing to it 2024-09-22 00:54:14 +02:00
Harald Sitter
2ec3eceb27 flatpak: assume yes 2024-09-21 22:54:43 +02:00
Harald Sitter
03e1d7d4c6 install firefox before create-usb
create-usb requires that the flatpak is installed apparently
2024-09-21 20:55:46 +02:00
Harald Sitter
ad8f671553 work around gpg error when setting up flatpak 2024-09-21 12:23:26 +02:00
Harald Sitter
e720cdc28b install pipewire-libcamera
Fixes #1
2024-09-21 02:39:45 +02:00
Harald Sitter
79cc5f5b68 build a prototype for flatpak deployment
the way this should work conceptually is that the live image contains an
@flatpak subvolume which acts as sideload directory created via flatpak
create-usb during the build.

currently we never install the sideload since I am unsure how to best
get it into the target system without actually moving the subvolume
there and consuming space needlessly
2024-09-21 02:38:23 +02:00
Harald Sitter
0c93a5aaa0 btrfs: compress and simple quota please
should help prevent disk space problems

Fixes #10
2024-09-21 01:55:19 +02:00
Harald Sitter
17b5f438f5 calamares: disable localecfg
so.... technically we don't need this because supposedly glibc can load
defintions on-demand. more importantly though we generate all locales as
part of the image build already, so generating them again seems
pointless.

note: localecfg only generates the locales, the locale module is what
sets it up (supposedly). we still use the latter

Fixes #17
2024-09-21 01:55:19 +02:00
Harald Sitter
4bacd1e72f calamares: be more realistic about space requirements
this is a bare minimum guessmitation. in reality we'll probably want a
ballpark of 10G per image, with up to 3 in flight. going with 40G for
now so there's some space for user stuff as well. plus ESP needs space
too
2024-09-21 01:55:19 +02:00
Harald Sitter
73f46b689e set a swapfile by default
Fixes #19
2024-09-21 01:55:19 +02:00
Harald Sitter
78fe0da4dd expand live setup a bit
Fixes #18
Fixes #2
2024-09-21 01:55:02 +02:00
Harald Sitter
84377c92f1 add readme 2024-09-10 15:53:24 +02:00
Harald Sitter
b21db2afd5 put the data in the debugroot location 2024-08-27 00:33:14 +02:00
Harald Sitter
b911e6e40b extract debug files into real debug location
this should technically make it work as a sysext. and hopefully not
break debuginfod :|
2024-08-26 17:10:32 +02:00
Harald Sitter
17bad6cbd7 add mount support for debug extension
this isn't fully ready yet, but the plan is to have the debug tarball
consumable as part of sysupdate and then have the generator
automatically pick it up when booting
2024-08-26 16:52:32 +02:00
Harald Sitter
baf09d3888 make snap actually work
(I hope)

so the conflict between where snaps are mounted isn't really solvable in
a trivial matter so recursive bind /snap into the /var location expected
by the AUR build. this way things should start working properly
2024-08-26 16:45:33 +02:00
Harald Sitter
c0e3b07361 debug file ownership 2024-08-26 16:44:24 +02:00
Harald Sitter
6dda11a0f8 explicitly set the outputdirectory
to make sure artifacts are where we expect them in the long run
2024-08-25 00:57:36 +02:00
Harald Sitter
a7ab8ba327 clone mkosi into tmp
this way it won't fall over when running the build on the same checkout
multiple times
2024-08-24 16:54:49 +02:00
Harald Sitter
66ec287526 debug++
something is wrong with the working directory handling
2024-08-24 16:54:25 +02:00
Harald Sitter
ad4d0a9531 make sure we run docker builds on btrfs
with overlay2 things can easily explode because mkosi will itself also
overlay through bwrap
2024-08-24 16:54:05 +02:00
Harald Sitter
8667b395ef debug output name
it disappeared and it's unclear where to
2024-08-23 15:06:56 +02:00
Harald Sitter
874c918c13 use correct del command 2024-08-23 15:03:57 +02:00
Harald Sitter
2e7a6642eb sync debug tar name with rootfs name 2024-08-23 13:36:52 +02:00