Commit Graph

170 Commits

Author SHA1 Message Date
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
Harald Sitter
bb834e277c turn debug tar into a sysext 2024-08-23 13:36:42 +02:00
Harald Sitter
6a66bda518 drop dog
it's fairly unmaintained by the looks of it
2024-08-17 17:22:42 +02:00
Harald Sitter
ca65502f11 create a graphics package list to include vulkan drivers 2024-08-17 17:22:19 +02:00
Harald Sitter
1c413bd5d7 try different branding 2024-08-15 04:26:32 +02:00
Harald Sitter
a2e0ee799e also install system-config-printer for the printer kcm 2024-08-03 11:59:08 +02:00
Harald Sitter
9f87ab207e install llvm toolchains
handy for development and debugging. includes for example the debuginfod
support
2024-07-29 13:36:03 +02:00
Harald Sitter
c413b3a488 try a different approach to get snap path consistency
the arch snapd wants /var/lib/snapd/snap the snap snapd wants /snap.
link the former to the latter and maybe that will get us going.

we cannot not have /snap because then the snap snapd will error out on
uncreatable /snap. symlinking the other way around also didn't work in
testing.
2024-07-20 20:29:18 +02:00
Harald Sitter
6f13a8f474 make sure btrfs is in the initrd 2024-07-20 20:25:24 +02:00
Harald Sitter
68403ffbfa fix overlay
- only create the @root volume if it doesn't exist yet
- mount snaps into the overlay /var
2024-07-20 11:55:40 +02:00
Harald Sitter
2162a453af seems the final snap location exists on disk already
let's remove the mkdir and see what happens
2024-07-20 06:38:49 +02:00
Harald Sitter
bad477d078 use mkosi from git
current release is a bit defective for arch systems
2024-07-18 22:36:16 +02:00
Harald Sitter
3900b8467a disable key refreshing
unclear if it is needed and it is dreadfully slow. let's try with just
--init for now.
2024-07-18 22:36:01 +02:00
Harald Sitter
24975796da move to /var/lib/snapd/snap
as it turns out the AUR build of snapd explicitly builds with a
different path for snaps. to make things work that way and match snapd
expectations we now mount the snap volume into /var/lib/snapd/snap
(which is created during rootfs creation).
we also symlink /snap there so to the user everything seems as though it
was under /snap

if that doesn't work out we might have to reconsider using the AUR
package :\
2024-07-18 00:16:42 +02:00
Harald Sitter
594d9b6c74 make a subvolume for @root and mount it under /root
I am currently having trouble getting snapd to play nice and I think it
may be because /root is not writable
2024-07-17 23:16:37 +02:00
Harald Sitter
d5c8ba6e9b make sure pacman keys are in order 2024-07-10 09:58:01 +02:00
Harald Sitter
003af6db2c make sure the keyring is up to date 2024-07-10 09:55:16 +02:00
Harald Sitter
91ee4c32a2 install accountsservice for users kcm 2024-06-21 12:59:05 +02:00
Harald Sitter
fe6b396fd5 make sure ESP is mounted when updating 2024-06-17 19:47:45 +02:00
Harald Sitter
dfa0922ac1 install glib2-devel
it's newly split from glib2 and required to build (at least) appstream
2024-06-17 02:05:02 +02:00
Harald Sitter
e503803f03 Merge branch 'work/apol/things' into 'master'
Bluetooth, DDC

See merge request sitter/systemdos!1
2024-06-16 23:16:32 +00:00
Aleix Pol
64a8dd8b29 Add ddcutil
It should make Powerdevil pick up DDC support which is required to
control certain monitors.
2024-06-09 00:13:13 +02:00
Aleix Pol
cfd53e12c1 Make sure bluetooth gets enabled
Alternatively Plasma integration won't work.
2024-06-09 00:10:43 +02:00
Harald Sitter
c53a697cc7 add an update script for convenience
we currently need to set TAR_OPTIONS which is a bit annoying
2024-05-24 10:09:39 +02:00