Commit Graph

27 Commits

Author SHA1 Message Date
Harald Sitter
4af563ce0f setup apparmor by default
needed for snapd confinement
2024-03-15 02:10:23 +01:00
Harald Sitter
3c586ffe60 specify the apparmor service by its full name 2024-03-15 01:51:06 +01:00
Harald Sitter
b0113597eb comments++ 2024-03-15 01:50:46 +01:00
Harald Sitter
c5739f43d3 write environment to a text file instead
apparently we need to either pass all variables on the cmdline or none,
so, opt for none
2024-03-14 15:12:05 +01:00
Harald Sitter
1e331d8142 remove packagekit
gets installed for discover but we don't actually have native packages
to speak of. will need a sysupdate discover backend
2024-03-14 14:56:22 +01:00
Harald Sitter
f920e2af13 correctly forward env
env vars aren't automatically forwarded, we still need to define them on
the commandline
2024-03-14 14:55:55 +01:00
Harald Sitter
90998bb889 write our own mkinitcpio.conf
gives us more control over its content than using the default and only
adding hooks
2024-03-14 10:16:57 +01:00
Harald Sitter
14558c0c7f clean out pacman keys
we don't actually want a working pacman ootb
2024-03-14 10:16:26 +01:00
Harald Sitter
7c43c7baea kill user processes
lest they dangle on logout
2024-03-14 08:52:56 +01:00
Harald Sitter
2b48cb9ae5 set debuginfod 2024-03-14 08:52:44 +01:00
Harald Sitter
36054ef902 add network manager connectivity setting 2024-03-14 08:52:38 +01:00
Harald Sitter
ab0b8ab18c fix cursor theme inheritance
seems this is the directory name rather than the index.theme name,
at least it wasn't working before
2024-03-14 08:47:50 +01:00
Harald Sitter
0b83bb44cb install phonon-vlc for startplasma sound playback 2024-03-14 01:02:34 +01:00
Harald Sitter
4dd7c48d16 debug env when invoking mkosi
the CI_ variables somehow don't make it into the build
2024-03-14 00:56:31 +01:00
Harald Sitter
66532191ee install flatpak-builder as part of the development packages 2024-03-13 23:46:35 +01:00
Harald Sitter
b0440d5484 install spectacle so I can take screenshots 2024-03-13 22:51:56 +01:00
Harald Sitter
a2d8b12cd3 force remove efi dir
practically it never exists, but let's force remove it anyway in case it
makes an appearance in the future again
2024-03-13 21:43:52 +01:00
Harald Sitter
d08424e8fc add more os-release metadata & set version_id
we'll use the short sha as version_id for now so builds are easily
identified
2024-03-13 20:13:13 +01:00
Harald Sitter
269b88c0ee use builtin IMAGE_VERSION variable
instead of leaking files into the tree
2024-03-13 20:12:29 +01:00
Harald Sitter
42ed5696a9 grand refactor
- add ci builds
- add some scripting surrounding spinning up local containers
- use btrfs send-receive to populate the image for both speed, precision
and reliablity (won't miss ENSPC or something)
- no longer generate bootable images through mkosi, we generate two UKIs
anyway, mkosis extra work is entirely pointless and as it turns out
produces vastly larger UKIs for some reason. probably worth inspecting
at some point why that is
- the entire build has been moved from relying on arch packages to using
kde-builder. this effectively turns the way we build in development also
in the way we build for deployment, giving greater familiarity and
exercise of code paths
- move initrd from dracut to mkinitcpio as it is better integrating with
the arch base
- the initrd system is still driven by systemd rather than busybox (the
initcpio default)
- calamares tech still doesn't work entirely but got a bit of polish
- basic session blessing support (tracking whether an image is good or
not)
- boot failure tracking via the UKI filename (foo_1+3-1.efi etc)
- pam files imported from arch
- font files imported from neon
- aggressive debugging via systemd is on for the time being to aid with
development
- snapd support
- general AUR support (really cruddy because we are inside a bwrap that
runs with no-new-priviledges which means we can't sudo but arch tools
don't want to run as root - so everything is awkwardly detangled with
dependency installation happening manually in root scope, then the build
as a temporary user, then the installation in root scope again)
-
2024-03-13 19:48:30 +01:00
Harald Sitter
de0f545e3f build.sh: apply some shell improvements 2024-02-29 02:25:22 +01:00
Harald Sitter
779cdabbb1 rejigger outputs with image-id and image-version
this changes output paths and names a tad but should be more reliable in
the long run
2023-11-12 01:29:02 +01:00
Harald Sitter
3e9b1f68f9 use a more reliable mirror 2023-11-12 01:28:25 +01:00
Harald Sitter
f38176eb3d update to hopefully work with newer mkosi
the behavior got a bit switched around with only .chroot scripts now
getting run inside the chroot. strangely that doesn't work for postinst
so manually try to force that into chroot
2023-10-30 22:40:59 +01:00
Harald Sitter
38a859a621 use datetime as version 2023-10-30 22:40:00 +01:00
Harald Sitter
8a60513995 typo-- 2023-10-30 22:39:46 +01:00
Harald Sitter
fdc96857b5 import 2023-05-15 14:25:50 +02:00