The Ur Project

Documenting the craft of stacking things so they remain stacked. For a very long time.

Project Status Update - week 12

No new images this week, but a lot went into the next ones. Two things stand out: disk encryption, and making the desktops usable in more languages than English.

Disk encryption

The installer (live-install) now has an option to turn on whole disk encryption through LUKS. The installer will ask for a passphrase and use it to encrypt your filesystem. During boot, you'll have to enter it at the console. Even without the lowerthird splash program that hides the kernel bootup messages, this will work fine, it will just fall back to the regular text prompt that was already there.

Not everyone speaks English, part 2

Last weekend's post said what was coming, and most of it has now landed in packages:

The next Live USB will carry most of this, and it will be quite a bit bigger because of it.

This week's content releases (packages)

Many of these were security related fixes. One day I'll have the full CVE reporting working and I'll be able to offer a full insight into what CVEs were closed.

I've also made a little inroads into adding LLM tooling, but, as usual there's a huge tail of badly done OSS in those stacks, so, not much to actually write about just yet.

This week's bugs and issues

Reproducibility audit

The reproducibility audit runs 24/7 and continues to rebuild existing packages over and over to validate our reproducible builds promise. Verifying reproducible builds shows how to rebuild a package yourself.

This week's dispatch changes (the builder and pkg)

pkg goes first

There's a notable large change in pkg that it will start with a self-upgrade before continuing with the normal upgrade. This "feature" is needed to make sure that we can incrementally add features and not have it break everyone's system in a bad way. The biggest takeaway is that it should change anything for users - the whole reason for doing it this way is exactly so that users don't need to care about this.

Under the hood a lot of things were changed to make the future changes that will rely on this mechanism will work once we start using them. This means a format change in the repositories, and, a schema table where new features are registered. It also means that when there's an actual repo format change, you'll see it immediately because the minor version number in pkg will increment.

LTO

Recipes can now opt in to link time optimization, with [build] lto = true. Static archives from such a build carry GCC's LTO bytecode next to the code. That bytecode only works with the exact GCC that wrote it, and it's more than half the size of the archive, so the strip pass now removes it. Archives built without LTO are left alone.

For now it's opt-in. Turning it on for everything, with a way to opt out, would be a change of default, not a new mechanism. In the next few weeks I'll do an inventory of where it makes sense and has a positive gain, and only enable it for those packages.

dispatch-web

Dispatch-web has an "action pane" that shows things that require attention, so an operator doesn't need to go search for work - it is clearly displayed on every page, and can be moved out of the way if obscuring things.

Testing

I'm continuing to build out the testing framework and this week I've expanded on per-package functional testing. The per package testing can now grab screenshots and compare them just like how our image testing already does. This will help us to find changes that break programs faster.

The goal is that we can, in the future, couple individual packge changes to dependent programs and automatically test them. For instance, a gtk+ library version change would mean that every gtk+ program is retested to make sure they aren't broken or wildly different for ... reasons.

We're also just writing test cases that perform rudimentary tasks that a program should be able to do. A http client should try some HTTP request and get some valid data, a PDF reader should get a PDF file to parse, etc.. This obviously is a larger task that will take longer but we can just take some bitesize pieces out of it and do smaller chunks of work. It doesn't need to have full coverage on day one.

Documentation and website changes

What's next

New images, with encryption and all the languages in them. That needs a lot of testing, by people who actually read those languages, so if that's you, I'd love the help.

Security advisories and the CISA SBOM fields from last week are still on the list, as is pushing the test runner to Forgejo. The days are short and dark, and there's too much to do!

As always, hop on Discord and tell me what you'd like to see packaged, or what could be done better!

Also, don't forget my upcoming PLUG talk if you're local

Details are here. It's Thursday, December 3, at 7pm, at Portland State University. See the PLUG page or Calagator for more.

--sofar (aka Auke)