Re: Please enable Debian Live Lomiri weekly builds

2026-03-16 Thread Jonathan Carter

On 2026/03/16 02:13, Jonathan Carter wrote:
Yikes. Ok lets see how much mksquashfs can shave off that with a huge 
dictionary and xz compression:


   4.4G    extracted.squashfs

Woah. That's less than 10% of the total uncompressed data!


I tried to every tip I could find to get that smaller using just 
squashfs. The best I could do was score 80MB by running hardlink -cv on 
the tree to hardlink files in advance. Everything else just either made 
the process slower or the resulting image larger, so I think squashfs 
options are about exhausted.


So I thought I'd check what the biggest files are shared across the 
media, since there might be some sacrifices that are worth while.


The top one already seems like an easy one!

218526876 
extracted/mate-filesystem.squashfs/boot/initrd.img-6.18.12+deb14-amd64
218526876 
extracted/lxqt-filesystem.squashfs/boot/initrd.img-6.18.12+deb14-amd64
218526876 
extracted/lxde-filesystem.squashfs/boot/initrd.img-6.18.12+deb14-amd64
218526876 
extracted/kde-filesystem.squashfs/boot/initrd.img-6.18.12+deb14-amd64
218526876 
extracted/gnome-filesystem.squashfs/boot/initrd.img-6.18.12+deb14-amd64
218526876 
extracted/cinnamon-filesystem.squashfs/boot/initrd.img-6.18.12+deb14-amd64
218515930 
extracted/xfce-filesystem.squashfs/boot/initrd.img-6.18.12+deb14-amd64


That's 218MiB for an initrd.img that we don't use. The one we boot for 
live is on the USB media filesystem, and on the target system, it's 
generated from scratch. Since that is its size already compressed, that 
could make a yummy saving by just deleting it as part of the build 
process. And this would be beneficial even for our existing images.


The second biggest file is libQt6WebEngineCore.so.6.9.2:

201778840 
extracted/xfce-filesystem.squashfs/usr/lib/x86_64-linux-gnu/libQt6WebEngineCore.so.6.9.2
201778840 
extracted/mate-filesystem.squashfs/usr/lib/x86_64-linux-gnu/libQt6WebEngineCore.so.6.9.2
201778840 
extracted/lxqt-filesystem.squashfs/usr/lib/x86_64-linux-gnu/libQt6WebEngineCore.so.6.9.2
201778840 
extracted/lxde-filesystem.squashfs/usr/lib/x86_64-linux-gnu/libQt6WebEngineCore.so.6.9.2
201778840 
extracted/kde-filesystem.squashfs/usr/lib/x86_64-linux-gnu/libQt6WebEngineCore.so.6.9.2
201778840 
extracted/gnome-filesystem.squashfs/usr/lib/x86_64-linux-gnu/libQt6WebEngineCore.so.6.9.2
201778840 
extracted/cinnamon-filesystem.squashfs/usr/lib/x86_64-linux-gnu/libQt6WebEngineCore.so.6.9.2
184513406 
extracted/standard-filesystem.squashfs/boot/initrd.img-6.18.12+deb14-amd64


I believe that's only necessary if you display web pages in Calamares, 
which we don't do. It might be possible to drop this dependency, or have 
a calamares binary with libQt6WebEngineCore support and one without, so 
that derivatives who'd like to use that feature still can.


Thunderbird's libxul is next:

176609760 extracted/lxqt-filesystem.squashfs/usr/lib/thunderbird/libxul.so
176609760 extracted/gnome-filesystem.squashfs/usr/lib/thunderbird/libxul.so
176609760 
extracted/cinnamon-filesystem.squashfs/usr/lib/thunderbird/libxul.so


I think it's better to just remove thunderbird, it doesn't have that 
much use on a live image, and if someone really wants to install it, 
then it's easy enough.


Then there's a bunch of stuff we'd want. Firefox's libxul (pity that 
Firefox and Thunderbird can't share that), libllvm, libwebkit2gtk and 
then another large thunderbird file:


87696513 extracted/lxqt-filesystem.squashfs/usr/share/thunderbird/omni.ja
87696513 extracted/gnome-filesystem.squashfs/usr/share/thunderbird/omni.ja


Then there's some package lists that I was sure was deleted in the past:

58409448 
extracted/xfce-filesystem.squashfs/var/lib/apt/lists/deb.debian.org_debian_dists_forky_main_source_Sources
58409448 
extracted/standard-filesystem.squashfs/var/lib/apt/lists/deb.debian.org_debian_dists_forky_main_source_Sources
58409448 
extracted/mate-filesystem.squashfs/var/lib/apt/lists/deb.debian.org_debian_dists_forky_main_source_Sources
58409448 
extracted/lxqt-filesystem.squashfs/var/lib/apt/lists/deb.debian.org_debian_dists_forky_main_source_Sources
58409448 
extracted/lxde-filesystem.squashfs/var/lib/apt/lists/deb.debian.org_debian_dists_forky_main_source_Sources
58409448 
extracted/kde-filesystem.squashfs/var/lib/apt/lists/deb.debian.org_debian_dists_forky_main_source_Sources
58409448 
extracted/gnome-filesystem.squashfs/var/lib/apt/lists/deb.debian.org_debian_dists_forky_main_source_Sources
58409448 
extracted/cinnamon-filesystem.squashfs/var/lib/apt/lists/deb.debian.org_debian_dists_forky_main_source_Sources
56077914 
extracted/xfce-filesystem.squashfs/var/lib/apt/lists/deb.debian.org_debian_dists_forky_main_binary-amd64_Packages
56077914 
extracted/standard-filesystem.squashfs/var/lib/apt/lists/deb.debian.org_debian_dists_forky_main_binary-amd64_Packages
56077914 
extracted/mate-filesystem.squashfs/var/lib/apt/lists/deb.debian.org_debian_dists_forky_main_binary-amd64_Packages
56077914 

Re: Please enable Debian Live Lomiri weekly builds

2026-03-15 Thread Jonathan Carter

Hi Jeremy

On 2026/03/12 19:44, Jeremy Bícha wrote:

What are the downsides to providing a Debian Live image for Lomiri?


IMHO it would be ok to at least enable it for weekly builds for now to 
see how it goes.



This is the first I've heard of a desire to discontinue some existing
Debian Live images, except for the January discussion here about not
wanting to build live images for oldstable any more.


I'm a strong proponent of radically reducing images, so that there is 
more time/resources/space to add more images.


But, I have very different ideas for getting there.

There's a patch somewhere for live-boot or live-config (I can't find it 
right now) that lets you specify a path within a squashfs for the 
rootfs. This sounds great, because we have lots of duplicated content 
across the ISOs and it might be possible to combine some ISOs... so, 
let's experiment!


I extracted the squashfs filesystems for gnome, kde, lxde, lxqt, mate, 
standard, xfce, and cinnamon.


How big is this directory?

  46G extracted

Yikes. Ok lets see how much mksquashfs can shave off that with a huge 
dictionary and xz compression:


  4.4Gextracted.squashfs

Woah. That's less than 10% of the total uncompressed data!

So, what if we could shave off enough unique parts to get it (along with 
the kernel, initramfs, package pool) to fit on 4GB?


It's my next step to check, but what happens if dropping some big 
packages like libreoffice (and its many translation files) could make up 
for that last bit of space that we need? That means we could have one 
generic live image where you could try or install pretty much all the 
major desktop environments from.


Also, a single image has the benefit of better total seeding via 
bittorrent, which is also something I want to push, because btfs works 
great and you could also have a netinst installation image where you 
boot a small stub from either USB, local network or over https and then 
you could extract the squashfs over bittorrent, but I digress.


Now, reducing the live images to a single image doesn't really reduce 
testing times so much. But, building this one big squashfs happens a lot 
faster than building the 9 images individually. On my E5-2698 CPU, 
building this squashfs took 36m58.627s. casulana, the Debian machine on 
which these images are built, has two E5-2699 CPUs, so it should even 
take just under half that time on there. On release day, we spend quite 
some time waiting for these images, and if we can have an image 
available much faster (and also a lot less downloading to do) then 
perhaps we can make better use of people's time on release day.


Ah yes, the new images. As I've alluded to before, I'd really like to 
take a stab at a netinst/netboot live image, but also I think we need 
more architectures. There's an increasing amount of nice arm64 hardware 
out there, and it looks like things like the new Apple Neo will sell 
quite well, it would be a shame if we didn't have an image for it once 
the hardware is properly supported. Also, more and more arm64 hardware 
have nvme storage where installation works more like a traditional 
installation than just writing an image to mmc. And also, it would be 
nice to have a riscv64 image too, even if it's just for experimental builds.


Also, it's 2am here, so sorry if any of this sounds a bit incoherent, I 
couldn't sleep so thought I would come and write this mail I've been 
meaning to write all weekend :)


-Jonathan



Re: Please enable Debian Live Lomiri weekly builds

2026-03-14 Thread Roland Clobus

Hello all,

On 14/03/2026 16:59, Jeremy Bícha wrote:

On Sat, Mar 14, 2026 at 11:38 AM Steve McIntyre  wrote:

The question is: will it be supported appropriately? We shouldn't be
shipping things that we don't maintain and test.


What about enabling Debian Live Lomiri for Testing and deferring the
decision about publishing stable releases until later? I think that
wouldn't burden those doing releases?

I believe the Debian Lomiri team can commit for the lifetime of the
forky development cycle to working on the Debian Lomiri experience. I
think there is benefit in providing a way for people to try out
current Lomiri without needing to install it first. No one else is
providing that at this time.

Maybe it is unnecessary to publish Debian Live releases for every
desktop for every Debian Stable point release, but I think that should
be a separate thread.


When I was talking to Mike in Brest DebConf25, I proposed to enable automated 
testing before publishing images and using the users as alpha/beta-testers.

For me the ideal order would be:

1) The DE team states that the desktop is ready
2) Live images can be generated manually (in rebuild.sh)
3) The live images are reproducibly built (Jenkins helps here)
4) The live images have suitable tests in openQA (with images triggered by 
Jenkins)
5) Official live images are built by the debian-cd team (and then tested with 
openQA) first for testing/sid
6) Official live images are built by the debian-cd team for stable (when the DE 
migrates to stable)
7) Official live images are built by the debian-cd team for oldstable (when the 
DE migrates to oldstable)

X) The DE is available in tasksel (X somewhere around 4 or 5)

Currently 1), 2) and X) are fulfilled.

I propose to wait with the step to publish a Lomiri live image in weekly builds 
(which have a few high visibility) until there is sufficient automated quality 
assurance.

I can help with setting up 3) and 4)

With kind regards,
Roland Clobus


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: Please enable Debian Live Lomiri weekly builds

2026-03-14 Thread Jeremy Bícha
On Sat, Mar 14, 2026 at 11:38 AM Steve McIntyre  wrote:
> The question is: will it be supported appropriately? We shouldn't be
> shipping things that we don't maintain and test.

What about enabling Debian Live Lomiri for Testing and deferring the
decision about publishing stable releases until later? I think that
wouldn't burden those doing releases?

I believe the Debian Lomiri team can commit for the lifetime of the
forky development cycle to working on the Debian Lomiri experience. I
think there is benefit in providing a way for people to try out
current Lomiri without needing to install it first. No one else is
providing that at this time.

Maybe it is unnecessary to publish Debian Live releases for every
desktop for every Debian Stable point release, but I think that should
be a separate thread.

Thank you,
Jeremy Bícha



Re: Please enable Debian Live Lomiri weekly builds

2026-03-14 Thread Steve McIntyre
On Thu, Mar 12, 2026 at 01:44:08PM -0400, Jeremy Bícha wrote:
>On Thu, Mar 12, 2026 at 12:55 PM Steve McIntyre  wrote:
>> If anything, we're trying to cut down on the number of different
>> desktop live builds. They're mostly unsupported by the relevant
>> desktop teams and we're not convinced they're useful. Is Lomiri
>> different?
>
>What are the downsides to providing a Debian Live image for Lomiri?
>
>This is the first I've heard of a desire to discontinue some existing
>Debian Live images, except for the January discussion here about not
>wanting to build live images for oldstable any more.

We already have problems with bugs and bad config on some of the
existing live desktop images, and it's annoying for the team testing
release images. I shudder to think how bad these things might look for
users who are evaluating Debian based on those live images.

>I think a live image for Lomiri would be interesting. I believe the
>only live images for Lomiri that exists currently are unofficial
>images for Ubuntu 24.04 LTS and 24.10. The 24.04 image did not include
>an installer and Ubuntu 24.10 is End of Life. I'll likely make an
>unofficial Ubuntu 26.04 LTS image, but I feel like there is at least
>as much benefit for providing a Lomiri live image based on Debian
>Testing as there is for any other desktop.

The question is: will it be supported appropriately? We shouldn't be
shipping things that we don't maintain and test.

-- 
Steve McIntyre, Cambridge, [email protected]
Who needs computer imagery when you've got Brian Blessed?



Re: Please enable Debian Live Lomiri weekly builds

2026-03-12 Thread Jeremy Bícha
On Thu, Mar 12, 2026 at 12:55 PM Steve McIntyre  wrote:
> If anything, we're trying to cut down on the number of different
> desktop live builds. They're mostly unsupported by the relevant
> desktop teams and we're not convinced they're useful. Is Lomiri
> different?

What are the downsides to providing a Debian Live image for Lomiri?

This is the first I've heard of a desire to discontinue some existing
Debian Live images, except for the January discussion here about not
wanting to build live images for oldstable any more.

I think a live image for Lomiri would be interesting. I believe the
only live images for Lomiri that exists currently are unofficial
images for Ubuntu 24.04 LTS and 24.10. The 24.04 image did not include
an installer and Ubuntu 24.10 is End of Life. I'll likely make an
unofficial Ubuntu 26.04 LTS image, but I feel like there is at least
as much benefit for providing a Lomiri live image based on Debian
Testing as there is for any other desktop.

https://lomiri.com/#install-lomiri

Thank you,
Jeremy Bícha



Re: Please enable Debian Live Lomiri weekly builds

2026-03-12 Thread Steve McIntyre
Jeremy wrote:
>
>Please enable weekly builds of Debian Live Lomiri, as is done with
>many of the other desktop flavors. Lomiri was added as a desktop task
>after Debian 13.

If anything, we're trying to cut down on the number of different
desktop live builds. They're mostly unsupported by the relevant
desktop teams and we're not convinced they're useful. Is Lomiri
different?

-- 
Steve McIntyre, Cambridge, [email protected]
Can't keep my eyes from the circling sky,
Tongue-tied & twisted, Just an earth-bound misfit, I...