-
Notifications
You must be signed in to change notification settings - Fork 90
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
Merge /usr
(T10615)
#293
Labels
Milestone
Comments
silkeh
added
the
Package: Addition Request
Please consider adding this to the repository
label
Aug 21, 2023
silkeh
removed
the
Package: Addition Request
Please consider adding this to the repository
label
Aug 21, 2023
silkeh
added
Priority: Wishlist
It would be nice to have
and removed
Priority: Normal
Normal priority
labels
Sep 16, 2023
joebonrichie
added a commit
that referenced
this issue
Apr 29, 2024
**Summary** - Symlink {/bin,/sbin} to {/usr/bin,/usr/sbin} - Any existing binaries in /bin or /sbin will be seemlessly moved over. **Packager's Notes** - Note that /lib(64) will be merged to /usr in a follow up PR to complete the /usr merge transition. Part of #293.
joebonrichie
added a commit
that referenced
this issue
May 5, 2024
**Summary** - Symlink {/bin,/sbin} to {/usr/bin,/usr/sbin} - Any existing binaries in /bin or /sbin will be seemlessly moved over. - Drop /bin and /sbin from default $PATH Part of #293. Note: that /lib will be merged to /usr in a follow up PR as `kernel-glue` and CBM will have to be investigated. Note: this is a forward change only as our current baselayout never managed /bin or /sbin paths as they were created ad-hoc by packages. **Test Plan** - Create a new rootfs from scratch from this baselayout - Create a new solbuild image from this baselayout and use it - Build and launch ISOs from this baselayout - Create custom binaries in `/bin` and `/sbin` and verify they get moved over to `/usr/bin` and `/usr/sbin` respectively - `realpath /bin` -> `/usr/bin` - `realpath /sbin` -> `/usr/sbin` - `which touch` -> `/usr/bin/touch` **Checklist** - [x] Package was built and tested against unstable
Merged
nazar-stasiv
pushed a commit
to nazar-stasiv/packages
that referenced
this issue
May 5, 2024
**Summary** - Symlink {/bin,/sbin} to {/usr/bin,/usr/sbin} - Any existing binaries in /bin or /sbin will be seemlessly moved over. **Packager's Notes** - Note that /lib(64) will be merged to /usr in a follow up PR to complete the /usr merge transition. Part of getsolus#293.
joebonrichie
added a commit
that referenced
this issue
May 7, 2024
**Summary** - Removes all `/bin` and `/sbin` symlinks in packages Part of #293
TraceyC77
added
Priority: Normal
Normal priority
and removed
Priority: Wishlist
It would be nice to have
labels
Jul 28, 2024
Closed
silkeh
added
Priority: High
High priority
and removed
Priority: Normal
Normal priority
labels
Sep 8, 2024
@silkeh How many of the checkboxes are done here?! |
8 tasks
Some of the linked tasks contain steps for the epoch transition, and some checkboxes apply to that as well. Closing this in favour of #4119 as I consider the /usr merge to be completed with the release of the latest ISOs! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now systemd will drop support for unmerged-usr setups, it seems we have to switch to a merged
/usr
as well. Also see the Case for the /usr Merge.Related issues and MRs:
Plan:
There are two orders in which we can do this:
Move first:
/bin
,/sbin
,/lib32
and/lib64
. Provide compatibility symlinks where needed (eg:/bin/bash
)./{bin,sbin,lib32,lib64}
to their/usr/
counterparts with ausysconf
trigger.The trigger will be trivial as those directories //should// be empty.
Move later(rejected):/{bin,sbin,lib32,lib64}
to their/usr/
counterparts through ausysconf
trigger.The trigger will be somewhat complicated as it would need to actually merge the directories.
/bin
,/sbin
,/lib32
and/lib64
(leisurely).Support in software:
Packages with files in
/{bin,sbin,lib,lib32,lib64}
(where the file is not a symlink to/usr/
):/bin
and/sbin
):/lib/udev/udevd
)/lib/firmware
):/lib/modules
):/sbin/create-uvm-dev-node
)/sbin/create-uvm-dev-node
)/sbin/create-uvm-dev-node
)/sbin/create-uvm-dev-node
)/sbin/mount.vboxsf
)/lib*/security
):/sbin
)Packages with symlinks to
/usr
in/{bin,sbin,lib,lib32,lib64}
or vice versa:/lib/cpp
->/usr/bin/cpp
)Third party packages with files in
/{bin,sbin,lib,lib32,lib64}
:/lib/ld-lsb-x86-64.so.3
)Usysconf-epoch remaining todos:
The text was updated successfully, but these errors were encountered: