Commit Graph

360 Commits

Author SHA1 Message Date
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
Harald Sitter
f08e33623d reduce the esp size
shouldn't really be 512m, in fact even 256 is rather a lot
2024-11-06 15:48:17 +01:00
Harald Sitter
b90e767757 auto determine size when rebuilding image
since we know the size of the input artifacts the automatic size should
be very close to ideal
2024-11-06 15:48:17 +01:00
Harald Sitter
57101a2f14 make sure to sync subvol changes before shrinking
otherwise btrfs might fall over because of the pending data. presents
primarily in it turning read-only
2024-11-06 15:48:17 +01:00
Harald Sitter
bc9fb1fc99 Revert "disable btrfs shrinking for now"
This reverts commit f925969063.
2024-11-06 15:48:17 +01:00
Harald Sitter
c8a7eafdc2 make outputs +r
torrent files are also 600 for some reason. be more liberal in chmodding
in general
2024-11-06 13:40:30 +01:00
Harald Sitter
b0000a5333 torrent: construct web urls completely
the base urls aren't particularly useful on their own, we need to append
our path
2024-11-06 03:27:32 +01:00
Justin Zobel
bc8d4ed64d Sort flatpak list for easier viewing 2024-11-06 12:48:35 +10:30
Harald Sitter
a63ec33d5d throw away useless packages from build env
s3cmd is no longer used because we don't use s3 storage.

vim was never used
2024-11-06 02:01:04 +01:00
Harald Sitter
ce692b289f create torrent file for raw image 2024-11-06 02:01:01 +01:00
Harald Sitter
f925969063 disable btrfs shrinking for now
doesn't quite work as expected. needs more development
2024-11-05 23:23:31 +01:00
Harald Sitter
54226b1ad4 set +x on btrfs-shrink 2024-11-05 22:17:45 +01:00
Harald Sitter
ed8a9f87c1 trun the efi match pattern around
it looks to me like the last argument may be the one that gets created.
possibly explaining why boot counting doesn't work
2024-11-05 21:42:39 +01:00
Harald Sitter
70299f7b5d update hostname 2024-11-05 21:41:16 +01:00
Harald Sitter
3a4572584b call btrfs shrink in correct path
we are inside the dissect, but we need to call the program in our source
dir
2024-11-05 21:41:07 +01:00
Harald Sitter
a005d14005 enable boot counting out of the box 2024-11-05 21:28:24 +01:00
Harald Sitter
ecb14adf55 give btrfs enough space to dedupe and balance 2024-11-05 21:10:45 +01:00
Harald Sitter
5adeefbeec rebuild the image with final sizes
after shrinking the btrfs it will have dangling space at the end. we'll
split the image into its partitions with actual filesystem sizes (i.e.
the new btrfs size) and then re-assmble the image using the partitions
as copyblocks.
this gives us a tightly packed image
2024-11-05 21:10:06 +01:00
Harald Sitter
a133acf128 verbosity-- 2024-11-05 21:00:05 +01:00
Harald Sitter
26f6290687 shrink btrfs to the actually necessary size
this doesn't yet give any gains because partition resizing also needs
figuring out, but it's a start.

specifically we now deduplicate files, balance extents and shrink the
actual filesystem as much as possible.

in a second step we could then chop off the end of the partition table
to actually reduce the image size. except it is more difficult than one
might think. perhaps we should construct a new table entirely instead.
something to figure out
2024-11-05 19:46:58 +01:00
Harald Sitter
b8ff7638b5 enable avahi-daemon.service 2024-11-05 15:54:29 +01:00
Harald Sitter
c816ae1a2e print size for the correct dirs 2024-11-05 14:46:22 +01:00