mirror of
https://github.com/nchevsky/systemrescue-zfs.git
synced 2025-12-06 07:12:01 +01:00
Support chrooting on older systems without usrmerge
On newer systems /bin is linked to /usr/bin, the same goes for /sbin. This is called usrmerge. Some distributions seem to have introduced usrmerge just very recently, like openSUSE in 2021. So SystemRescue should fully support this for years to come. So we need /bin, /sbin and /usr/sbin in the default $PATH to make it easy to use from within a chroot.
This commit is contained in:
parent
304478b395
commit
0009e91a8f
|
|
@ -1,2 +1,3 @@
|
||||||
# /sbin is not used on ArchLinux but it is often required in chroot
|
# /sbin is not used on ArchLinux but it is often required in chroot
|
||||||
export PATH=${PATH}:/sbin:/usr/share/sysrescue/bin/
|
# also support chrooting on older systems without usrmerge (/usr/sbin and /bin)
|
||||||
|
export PATH=${PATH}:/sbin:/usr/sbin:/bin:/usr/share/sysrescue/bin/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue