Skip to content

Conversation

@adeebshihadeh
Copy link
Contributor

@adeebshihadeh adeebshihadeh commented Oct 25, 2025

This just unpacks the three debs in userspace/debs/ into a single, merged rootfs. This should be a no-op, and in followups, we can rearrange a few things so /usr/comma/ is also here and cleanup a bunch of unused files from the debs.


Ok some changes had to be made:

  • /lib on the 24.04 base image is a symlink to /usr/lib/, but the debs overwrite it with its own dir. I adjusted the new rootfs to follow the Ubuntu convention 4dfb779
  • same with /sbin and /usr/sbin 97c8ee8

# https://wiki.debian.org/UsrMerge
# https://www.freedesktop.org/wiki/Software/systemd/TheCaseForTheUsrMerge/
sudo mkdir /usr/lib64
sudo ln -s usr/lib64 /lib64
Copy link
Collaborator

@andiradulescu andiradulescu Oct 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

most likely something will complain because /lib64 is not symlinked, should look like this:

lrwxrwxrwx    1 root  root      9 Oct 23 20:59 lib64 -> usr/lib64
drwxr-xr-x    2 comma comma  4096 Jul  8  2023 lib64.usr-is-merged

(lib64.usr-is-merged is created by the system)

and now looks like this:

0.231 drwxr-xr-x   1 root  root   42 Oct 25 21:22 lib64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants