Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable usrmerge and disable multilib universally #1151

Closed
dsseng opened this issue Feb 3, 2025 · 0 comments · Fixed by #1152
Closed

Enable usrmerge and disable multilib universally #1151

dsseng opened this issue Feb 3, 2025 · 0 comments · Fixed by #1152
Assignees

Comments

@dsseng
Copy link
Member

dsseng commented Feb 3, 2025

As Talos only uses 64-bit executables, it makes sense for /lib, /lib64, /usr/lib64 to all be symlinks pointing to /usr/lib as the unified directory for libraries. Similarly, /bin points to /usr/bin and /sbin -> /usr/sbin.

During the hermetic build epic I made sure toolchain and tools all follow these filesystem hierarchy standards, but to avoid too many breaking changes this should be done in pkgs only after other refactors (incl. for example deduplication of packages like musl)

@dsseng dsseng self-assigned this Feb 3, 2025
dsseng added a commit to dsseng/talos-pkgs that referenced this issue Feb 5, 2025
Build pkgs using only [Stageˣ]-derived tools image, without relying on Alpine

Fixes: siderolabs/toolchain#129
Fixes: siderolabs#1151

- feat: update bldr
- fix: remove /toolchain prefix
- feat: build what is possible using network: none
- feat: usrmerge and unified /usr/lib
- chore: use StageX bash instead of Alpine bash
- fix: make iptables build
- chore: move kernel modules under /usr/lib/modules
- refactor: remove git requirement
- test: check nvidia nonfree drivers' signatures

Signed-off-by: Dmitry Sharshakov <dmitry.sharshakov@siderolabs.com>
dsseng added a commit to dsseng/talos-pkgs that referenced this issue Feb 5, 2025
Build pkgs using only [Stageˣ]-derived tools image, without relying on Alpine

Fixes: siderolabs/toolchain#129
Fixes: siderolabs#1151

- feat: update bldr
- fix: remove /toolchain prefix
- feat: build what is possible using network: none
- feat: usrmerge and unified /usr/lib
- chore: use StageX bash instead of Alpine bash
- fix: make iptables build
- chore: move kernel modules under /usr/lib/modules
- refactor: remove git requirement
- test: check nvidia nonfree drivers' signatures

Signed-off-by: Dmitry Sharshakov <dmitry.sharshakov@siderolabs.com>
dsseng added a commit to dsseng/talos-pkgs that referenced this issue Feb 6, 2025
Build pkgs using only [Stageˣ]-derived tools image, without relying on Alpine

Fixes: siderolabs/toolchain#129
Fixes: siderolabs#1151

- feat: update bldr
- fix: remove /toolchain prefix
- feat: build what is possible using network: none
- feat: usrmerge and unified /usr/lib
- chore: use StageX bash instead of Alpine bash
- fix: make iptables build
- chore: move kernel modules under /usr/lib/modules
- refactor: remove git requirement
- test: check nvidia nonfree drivers' signatures

Signed-off-by: Dmitry Sharshakov <dmitry.sharshakov@siderolabs.com>
dsseng added a commit to dsseng/talos-pkgs that referenced this issue Feb 6, 2025
Build pkgs using only [Stageˣ]-derived tools image, without relying on Alpine

Fixes: siderolabs/toolchain#129
Fixes: siderolabs#1151

- feat: update bldr
- fix: remove /toolchain prefix
- feat: build what is possible using network: none
- feat: usrmerge and unified /usr/lib
- chore: use StageX bash instead of Alpine bash
- fix: make iptables build
- chore: move kernel modules under /usr/lib/modules
- refactor: remove git requirement
- test: check nvidia nonfree drivers' signatures

Signed-off-by: Dmitry Sharshakov <dmitry.sharshakov@siderolabs.com>
dsseng added a commit to dsseng/talos-pkgs that referenced this issue Feb 6, 2025
Build pkgs using only [Stageˣ]-derived tools image, without relying on Alpine

Fixes: siderolabs/toolchain#129
Fixes: siderolabs#1151

- feat: update bldr
- fix: remove /toolchain prefix
- feat: build what is possible using network: none
- feat: usrmerge and unified /usr/lib
- chore: use StageX bash instead of Alpine bash
- fix: make iptables build
- chore: move kernel modules under /usr/lib/modules
- refactor: remove git requirement
- test: check nvidia nonfree drivers' signatures

Signed-off-by: Dmitry Sharshakov <dmitry.sharshakov@siderolabs.com>
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 a pull request may close this issue.

1 participant