Commit Graph

381 Commits

Author SHA1 Message Date
Harald Sitter
33736be041 pull in ninja in the development config
make is crusty and old. ninja is shiny and new. since kde linux is all about
embracing the future, ninja is the build tool of choice
2024-12-02 12:12:20 +01:00
Ryan Brue
b892eeb33e fix: make KDE plymouth logo transparent
This also makes the logo bigger by comparison. I don't know how that'll look in plymouth. If it's wanted, I could keep the effective size the same by having transparent space, just let me know.

CC: @ngraham @justinzobel 

Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
2024-12-02 04:20:57 +00:00
Lasath Fernando
25ff87f3df Replace toolbox with distrobox
The consensus on the matrix chat is that distrobox is better than toolbox as a container and development solution.

I've used them both on Fedora Silverblue (and its derivatives) and found that to be true.
2024-12-01 03:51:50 +00:00
Ryan Brue
233baddcd3 fix: typo in build.sh prevents building
Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
2024-11-29 14:06:15 -06:00
Bruno Pajdek
c27c1e42e0 Move mkosi confs to flags
build.sh unnecessarily generates some temporary configs for mkosi.
Instead, pass flags to mkosi to configure it without polluting.
The distro being arch is already defined in mkosi.conf.
2024-11-29 16:52:04 +00:00
Ryan Brue
7ce950a81d Set Plymouth watermark to kde logo
The watermark I chose comes straight from the KDE press kit at
https://kde.org/stuff/clipart/

Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>

Resolves #101
2024-11-29 16:25:32 +00:00
Lasath Fernando
b9b1c57d8d Prevent Calamares from being installed/visible after installing system
We install all packages in the `kde-linux` repo:
```bash
  # All the KDE we plan to include in the base image
  $(pacman --sync --list --quiet kde-linux)
```

I recently added `calamares-git` (and some other AUR packages) to that
repo so we don't have to build them as part of every image build. This
is causing it to get included in the base image.

This change makes pacman restrict to just the `kde-linux` group instead
of the whole repo.

Resolves #42
2024-11-29 16:22:00 +00:00
Bruno Pajdek
d1425664d9 Remove mkosi.build.chroot
Maybe it was made to be filled up with stuff at a later point, but I'm pretty sure it's useless for now. Mkosi runs fine without it present.
2024-11-28 21:13:23 +00:00
Bruno Pajdek
fa24dbc1eb Improve bootstrap.sh
archlinux-keyring is a part of base already. Good global mirrors are already defined in Arch Docker images, the explicit 23m mirror stuff is unnecessary.
2024-11-28 20:22:40 +00:00
Bruno Pajdek
75ba35fca3 Improve build_docker.sh
CI_PROJECT_DIR isn't explicitly accessed anywhere and doesn't affect the build at all.
2024-11-28 19:02:59 +00:00
Bruno Pajdek
11cc91a6cf remove dracut 2024-11-28 18:34:19 +01:00
Bruno Pajdek
c946aed8a6 Comment in_docker.sh 2024-11-28 17:22:38 +01:00
Ryan Brue
5a5ffd1ca8 Add power-profiles-daemon to 60-packages-hw-enablement
This commit adds power-profiles-daemon to kde-linux. Reportedly this had been added in the past but it may have just been refactored out by accident.

Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
2024-11-26 12:24:14 -06:00
Nate Graham
3e05b39b6f Replace VLC with Haruna
Haruna is a KDE app, it offers a better UX than VLC, and it's what
Plasma expects to be the default player anyway. Let's go with it.
2024-11-23 18:22:42 -07:00
Bruno Pajdek
0ba5da1bff Migrate pacman repo to cdn.kde.org
pipeline ran here already https://invent.kde.org/brupaj/kde-linux/-/jobs/2319849
2024-11-23 23:09:09 +00:00
Justin Zobel
014a4edaff Add Elisa flatpak as we need a music player/library manager 2024-11-20 12:57:16 +10:30
Nate Graham
5152719c7c Document the final package in 60-packages-hw-enablement.conf
Missed in 6662aee876 by accident!
2024-11-19 09:58:10 -07:00
Nate Graham
1f31bf3fee Set default browser to Firefox since it's pre-installed
This way it doesn't get overridden the first time the user installs a
new browser that isn't Firefox.

Fixes #49
2024-11-19 16:22:10 +00:00
Nate Graham
6662aee876 Document contents of 60-packages-hw-enablement.conf inline
This way it's more obvious why these things are in here!
2024-11-19 09:17:25 -07:00
Lasath Fernando
66d9ce1177 Restore pacman db
It's like 12MB (probably much smaller when compressed).

Totally worth being able to investigate why certain files or packages were pulled in.
2024-11-18 22:47:13 +00:00
Ian Monroe
bfd7045674 include file capabilities in the update tarball
for instance podman is broken if newuidmap doesn't have cap_setuid=ep
2024-11-17 19:14:11 -08:00
Justin Zobel
82b17d8e70 Add xorg-xdpyinfo for kinfocenter X11 tab
Fixed #85
2024-11-15 12:45:18 +10:30
Lasath Fernando
8b9731f118 Convert _kde-linux-find-esp to bash
Pulling in ruby into the image to save 2 lines of shell script doesn't seem worth it.
2024-11-15 01:59:56 +00:00
Justin Zobel
dc68605a8e Include libva Mesa/Intel drivers
Part of #35
2024-11-14 15:17:15 +10:30
Justin Zobel
296e4844b6 Add libva for screencasting and remote desktop
Fixes #24
2024-11-14 12:09:49 +10:30
Lasath Fernando
adee68a29e Packages refactor part 4: Remove kde-builder 2024-11-13 00:40:27 -06:00
Gerardo David Gomez Rodriguez
9fa11c282d Rename calamares branding directory to kde-linux
In f090501b44 the kdeos renaming was done, but the calamares directory was missing.
2024-11-13 03:01:47 +00:00
Nate Graham
0bda55fed2 Don't expose the X11 session
We're all-in on Wayland.

Fixes #86
2024-11-13 02:01:58 +00:00
Lasath Fernando
7c86dfb8d7 Add qt multimedia backend
To prevent the imaging script getting stuck in an infinite loop asking which backend to install
2024-11-13 02:01:35 +00:00
Justin Zobel
f849f7c8dc Hide stat output in update script 2024-11-10 11:53:11 +00:00
Justin Zobel
1a97f2162e Add less to mkosi.conf.d/99-packages-development.conf for git diff 2024-11-10 12:25:24 +10:30
Justin Zobel
4c35dcd015 Sort dependencies in mkosi.conf.d/99-packages-development.conf 2024-11-10 12:24:46 +10:30
Harald Sitter
9900c7df18 make updates work reliably
the tombstone is a bit broken in that it doesn't use the correct name.
sort the names correctly (first is preferred) and also bring back the
old names so they eventually get cleaned up
2024-11-07 23:36:46 +01:00
Harald Sitter
f090501b44 rename all files to kde-linux 2024-11-07 18:59:08 +01:00
Harald Sitter
c2c9c66609 change most everything to kde-linux
helpers are still using the old names so we don't have content and name
changes at the same time
2024-11-07 18:47:33 +01:00
Harald Sitter
bdfe363022 vacuum: fill the config object 2024-11-07 18:10:22 +01:00
Harald Sitter
1628433b2a typo-- 2024-11-07 17:27:57 +01:00
Harald Sitter
b864ad0116 start transitioning to new image name
this is a bit complicated...

in this step we make the image able to find the new name. in the next
step we need to actually do the rename
2024-11-07 17:17:51 +01:00
Harald Sitter
cf0d51a93e cleanup++ 2024-11-07 17:17:11 +01:00
Harald Sitter
842867d086 vacuum: add a config system
the remote location must now contain a vacuum.yaml file which encodes
gold images and tombstone images (to keep forever) based on their
version number
2024-11-07 17:17:10 +01:00
Harald Sitter
092bd8107c vacuum: refactor release loading into function
makes main a bit easier on the eyes
2024-11-07 17:17:08 +01:00
Harald Sitter
4dfbf9ad3e clean up the split partitions
otherwise we end up publishing them
2024-11-06 22:57:03 +01:00
Harald Sitter
16d19e57d5 bump the esp size again
something broke in the ESP handling with qemu but I am not sure what it
could be besides the size

documentation on the internet is a bit conflicting but the minimum size
may well need to be 260M. if that also fails we'll have to go back to
512M I fear
2024-11-06 19:19:58 +01:00
Harald Sitter
75bc73d176 create torrent from raw basename
the file on the servers we want is the raw not the output (that's the
name without the .raw suffix)
2024-11-06 16:27:02 +01:00
Harald Sitter
ad734333a6 use smarter logic for shrinking the btrfs
size is only approximate and depending on how big a number it is the
512M buffer may not be enough
2024-11-06 15:48:17 +01:00
Harald Sitter
40b3f76a17 do not balance
it seems entirely superfluous because resizing needs to squeeze the data
anyway (there seems to be no size diff in the outcome if we balance
first or not). meanwhile doing the balance (at least the convert) does
tend to break things resulting in errors inside the kernel
2024-11-06 15:48:17 +01:00
Harald Sitter
e41f5043e9 debug++ 2024-11-06 15:48:17 +01:00
Harald Sitter
b5a1d6e6e4 make sure the first resize works 2024-11-06 15:48:17 +01:00
Harald Sitter
6bec498f17 sync more aggressively
to make sure size data is applied immediately
2024-11-06 15:48:17 +01:00
Harald Sitter
1696b4ff74 write the btrfs.json to the script dir
no sense handing it from one script to the other
2024-11-06 15:48:17 +01:00