Commit Graph

325 Commits

Author SHA1 Message Date
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
Harald Sitter
16e7295772 drop unnecessary defrags
they only slow down the build now

we apply compression via the host system
2024-11-05 03:54:49 +01:00
Harald Sitter
ca9e93066c verbosity-- 2024-11-05 03:49:13 +01:00
Harald Sitter
1fdb021f51 print compression diagnostics
something isn't quite right with the compression coverage, technically
we should have force compression, but effectively we have a large chunk
of data that is not compressed
2024-11-05 03:37:38 +01:00
Harald Sitter
867fe8e7df remove lldb
we have gdb through drkonqi
2024-11-05 03:33:22 +01:00
Harald Sitter
e03ea07848 install toolbox as a container solution 2024-11-05 03:33:12 +01:00
Harald Sitter
a0f7202ad5 throw away x11
technically we only need xwayland. we'll see how it goes
2024-11-05 03:32:51 +01:00
Harald Sitter
7270678c63 clean up after install-distro-packages a bit 2024-11-05 02:46:43 +01:00
Harald Sitter
52e3f57631 calamares: bring back localecfg
but remove locale-gen so calamares doesn't try to generate locales
2024-11-05 02:30:18 +01:00
Harald Sitter
e1173612cb more aggressively set a timezone for live
timedatectl doesn't really want to write the file if it thinks the tz is
already UTC
2024-11-05 02:27:51 +01:00
Harald Sitter
b190b8dd16 move calamares script to live directory
not really needed after installation
2024-11-05 02:12:34 +01:00
Harald Sitter
8b3d72c0a1 comment++ 2024-11-05 02:10:25 +01:00
Harald Sitter
6b144bad73 move cleanup to finalize
qt cleanup was already done here
2024-11-05 02:00:22 +01:00
Harald Sitter
c1a8c0592c only unpack en locale for flatpaks
our locale story is a bit undefined right now anyway
2024-11-05 01:59:53 +01:00
Harald Sitter
3b2cb02e82 line wrap the flatpak install
easier on the eyes
2024-11-05 01:59:23 +01:00
Harald Sitter
ed8ff5c416 force mighty compression
not that I think it makes a difference. we already receive the
compressed data
2024-11-05 01:17:37 +01:00
Harald Sitter
836a916d6d check for file rather than directory
the directory gets created here...
2024-11-05 01:17:18 +01:00
Harald Sitter
2236368db9 only load gpg key if it's actually available 2024-11-05 00:36:53 +01:00
Harald Sitter
45d3933a45 fix permissions before build 2024-11-05 00:31:23 +01:00
Harald Sitter
c850a863e9 vacuum: generate sha256sums from server data
that way we don't have extranous entries in there
2024-11-05 00:19:32 +01:00
Harald Sitter
6afc5dde36 vacuum: close connection
not that it matters much since this process doesn't stick around
2024-11-05 00:18:35 +01:00
Harald Sitter
5da433f90b refine comment a tad 2024-11-03 19:30:05 +01:00
Harald Sitter
38ada50675 use correct base dir
SRCDIR is only defined inside the mkosi stage
2024-11-03 19:29:57 +01:00
Harald Sitter
6ebc35b370 remove sysupdate defintions check for now
we have a bad mirror in the mirror set and that trips up the validation
2024-11-03 19:07:12 +01:00
Harald Sitter
3012a6714a more host changes to use the origin host 2024-11-03 19:01:20 +01:00
Harald Sitter
c71fd8aec2 use the correct calamares assets dir 2024-11-03 18:57:34 +01:00
Harald Sitter
54c61907a1 make sure to upload to the right server
files.kde.org geo-redirects, what we need is the actual origin server
2024-11-03 18:51:11 +01:00
Harald Sitter
bc35596bd2 gpg: use more consistent key names 2024-11-03 18:37:34 +01:00
Harald Sitter
077ce58c2e try to get gpg signing going 2024-11-03 18:02:05 +01:00
Harald Sitter
cb03da7b76 debug-- 2024-11-03 18:01:16 +01:00
Harald Sitter
4cf21f5412 remove all restrictions on live extension
we only use the live extension as part of the live subvol and that is
bundled with the correct binaries so it will always match

easier to do it this way than actually create an enforcing extension
file
2024-11-03 17:09:17 +01:00
Harald Sitter
08ccc40d3c remove dangling file
was just a backup of an older version
2024-11-03 16:35:43 +01:00
Harald Sitter
6a9b75ff46 correctly receive the live subvol 2024-11-03 16:33:29 +01:00
Harald Sitter
580ca7dc9e update comment + add context
this wasn't updated when the value was bumped a while ago :/
2024-11-03 16:26:41 +01:00
Harald Sitter
e5be8a023f typo-- 2024-11-03 16:26:07 +01:00
Harald Sitter
666112961d update os-release a bit
using more consistent names
2024-11-03 16:26:01 +01:00