Commit Graph

260 Commits

Author SHA1 Message Date
Nate Graham
a31fd08d3f Pre-install the final required basic apps
Okular, Ark, and VLC. These should constitute enough to have a basic set
of apps necessary for normal people to use a computer.

Once Dragon Player is on Flathub, we can consider shipping that instead
of VLC.

Fixes #50
2024-10-25 15:09:40 -06:00
Nate Graham
f259e8b8c6 Pre-install some optional build dependencies for KDE software
We try to follow
https://community.kde.org/Distributions/Packaging_Recommendations, which
says to pre-install optional dependencies. This adds the user-facing
ones.
2024-10-25 21:01:36 +00:00
Nate Graham
c8bde702e4 Transition most built-from-source apps to be installed from Flathub
Except for Partition Manager, Spectacle, and XWaylandVideoBridge — which
are not yet on Flathub.
2024-10-25 13:17:02 -06:00
Nate Graham
6d5945829c Pre-install Gwenview Flatpak
Part of #50
2024-10-25 16:50:04 +00:00
Harald Sitter
479471d520 bump the slack space a bit
debugging wasn't very conclusive. the metadata is almost full and the
data itself is also almost full

let's try bumping the space a bit and see what happens
2024-10-25 17:15:08 +02:00
Harald Sitter
f6758bcfdd debug btrfs stats on cleanup
hopefully that will shed some light on ENOSPC issues
2024-10-25 12:14:41 +02:00
Harald Sitter
aa5ee488ab resolved: disable mdns/dnssd
we currently use avahi for it by necessity. applications are generally
using libavahi so they implicitly force the use of avahi-daemon.

I do have a prototype that bridges the avahi-daemon dbus api to systemd
so we don't need the separate daemon, but it is far from finished
2024-10-25 01:41:27 +02:00
Lasath Fernando
55c6168a71 Install packages in parallel to improve performance 2024-10-24 02:07:27 +00:00
Nate Graham
4979f92ab1 Build with asserts
Right now our image is basically the prototype of the Testing edition,
and for this edition, asserts make sense since the goal is to find
issues early. So let's turn 'em on!

Fixes #61
2024-10-23 18:06:35 -06:00
Harald Sitter
e4a552718b kde-builder: disable gpgme
in an attempt to fix the build. their server appears to be down right
now -.-
2024-10-22 01:10:34 +02:00
Harald Sitter
4e14077cef kde-builder: include correct path 2024-10-21 23:36:11 +02:00
Harald Sitter
efa56847ed disable locale generation
last I heared glibc is able to work without the precompiled archive.
let's see if that is really the case
2024-10-21 23:34:20 +02:00
Harald Sitter
60ea3f6d63 kde-builder: fix ignore projects
should be a list and the key name was changed as well
2024-10-21 23:32:37 +02:00
Harald Sitter
81157f8da3 kde-builder: don't evaluate config dir 2024-10-21 21:23:52 +02:00
Harald Sitter
34fc3ff676 avahi: enable the socket not the daemon
the socket activates the daemon
2024-10-21 21:23:42 +02:00
Justin Zobel
cb02a724d6 Fix build script - kdebuilder 2024-10-21 19:13:36 +02:00
Harald Sitter
b122ca9100 make a distinct imaging only job
this should be used everywhere but master on the main repo
2024-10-21 01:33:02 +00:00
Justin Zobel
b7b75f1ade Convert KDE Builder config to yaml 2024-10-21 01:32:45 +00:00
Justin Zobel
1015995a47 Give the live user a nice clean name 2024-10-20 13:01:23 +10:30
Harald Sitter
0d1b87bbd2 strip: hijack meson and debug its invocation
this should help us eventually force meson to strip as well even though
kde-builder currently doesn't support it
2024-10-17 16:47:57 +02:00
Harald Sitter
62deea2488 strip: don't let meson fall over 2024-10-17 16:46:23 +02:00
Harald Sitter
52ed3714fb strip only the kde-builder stage
this is slightly hacky because kde-builder doesn't support running
arbitrary targets.

we first override ninja with a special program that turns install
commands into install/strip commands

we then set -DCMAKE_STRIP to a special strip command that invokes
eu-strip with the right arguments to strip stuff to /tmp/debugroot

from there we then pick it up in the archive generator
2024-10-17 13:48:15 +02:00
Justin Zobel
b6588aaf3d Enable avahi-daemon for browsing network shares in Dolphin 2024-10-17 02:13:05 +00:00
Harald Sitter
ef03b3e06b Revert "Use pre-built AUR binaries instead of rebuilding them on each run"
This reverts commit 5d37d0a89f.

So, while trying to set this up on KDE infra I hit the rather awkward
problem that aurto doesn't really want to be automated. It's very much
meant to be operated by a human. That is really just a source for failure.
If we want to go down this route we'll want to use aurutils directly and
write some higher level tooling on top if necessary.
Undoing this for now so we can ponder it some more.

Realistically I'd rather explore factoring out the rootfs build
into its own job though. That way we can isolate all the binary builds
into a job that produces a tarball which can then be consumed to render
an image without having to build anything. Seems to me that should rock
the boat a bit less while moving in the general direction of splitting
things out.
2024-10-17 04:04:56 +02:00
Lasath Fernando
5d37d0a89f Use pre-built AUR binaries instead of rebuilding them on each run 2024-10-16 23:13:28 +00:00
Lasath Fernando
fc46fce594 Add support for Intel CPU microcode updates 2024-10-16 12:09:54 +00:00
Harald Sitter
7594772af1 drop git permission reset
doesn't work. we'll need to come up with a better idea
2024-10-15 06:56:47 +02:00
Harald Sitter
60c7996362 make sure git is installed
on the base image we have no git so install it first, then try to reset
the git permissions
2024-10-15 06:54:54 +02:00
Harald Sitter
0d85962937 move sambashare setup to tmpfiles and sysusers
tidier set up and hopefully unbreaks the pipeline
2024-10-15 06:51:12 +02:00
Harald Sitter
27055ff0d9 try to restore git permissions
It would appear that invent mangles files permissions so that we end up
with world writable files. Instead try to hold on to git. This may
ultimately cause trouble with docker but we'll have to try to know.

Relates to #27
2024-10-15 06:42:19 +02:00
Nate Graham
54b30f4468 Update image location
These files live at files.kde.org/kde-linux now; stop hammering on the
redirect at kdeos.haraldsitter.eu
2024-10-14 16:31:17 -06:00
Nate Graham
b2078e8e38 Remove cruft with maximum effectiveness
It helps when you type the paths correctly
2024-10-14 15:43:47 -06:00
Justin Zobel
49c6430ee9 Fix sambashare group name 2024-10-14 14:57:05 +10:30
Harald Sitter
50444714ed install sof-firmware
I have high hopes that this will fix sound for Justin
2024-10-14 04:41:06 +02:00
Justin Zobel
367f2f7760 Add samba and kdenetwork-filesharing to build 2024-10-14 02:18:32 +00:00
Lasath Fernando
a3f76e06e7 Allow sudo for live user 2024-10-14 01:30:42 +00:00
Lasath Fernando
b6e67c1336 Sort toKeep in reverse order 2024-10-14 01:28:59 +00:00
Harald Sitter
4e4e3371e1 move most of the readme to the wiki
easier to edit that way
2024-10-12 18:37:27 +02:00
Nate Graham
1a693f8aa9 Remove cruft more effectively
With correct filenames this time, and also removing the .desktop files
for the built-in Qt5 dev tools apps whose binaries we've deleted.
2024-10-11 20:30:36 -06:00
Nate Graham
78f7e4f1f2 Remove more cruft from live and installed image
Specifically this stuff:
- Qt5 dev tools not useful for the target audience (KDE devs)
- HP device management apps which don't work because we didn't include
  PyQt5, and even if we did, no one wants that junk
- Qt V4L2 video capture utility; what even is this?

Fixes #41
2024-10-11 17:26:48 -06:00
Harald Sitter
a9b2fa6851 keep the key secure 2024-10-10 02:07:53 +02:00
Harald Sitter
41b14fcdf7 set known_hosts for scp
in retrospect I probably should have just written all of this in go -.-
2024-10-10 00:29:33 +02:00
Harald Sitter
13e836d523 use correct package for scp 2024-10-09 22:13:20 +02:00
Harald Sitter
7248df97b6 update variables to new names
and -u so it exits when variables are undefined
2024-10-09 20:50:54 +02:00
Harald Sitter
64349757f9 add missing dep on scp
used in the upload script
2024-10-09 19:26:30 +02:00
Harald Sitter
e2529cb000 add missing dependencies for installer 2024-10-09 17:26:51 +02:00
Harald Sitter
2a26e15594 move uploads to files.kde.org
this requires that we vacuum uploads automatically so there's a helper
for that now. hopefully it works :D
2024-10-09 17:22:38 +02:00
Harald Sitter
68e79935d4 clean up image a bit 2024-10-08 20:16:59 +02:00
Harald Sitter
22fb758f04 fixup licensing 2024-10-08 18:56:36 +02:00
Harald Sitter
95f983d58c add an issue file
for tty heading
2024-10-08 18:56:13 +02:00