mirror of
https://codeberg.org/scip/jaildk.git
synced 2025-12-18 13:11:02 +01:00
fix #6:
JAIL environment variable inside build chroot leads to rc misbehavior, since it thinks it runs inside a jail, but isn't.
This commit is contained in:
2
jaildk
2
jaildk
@@ -864,7 +864,7 @@ jaildk_blogin() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
chroot $chroot /etc/rc.d/ldconfig onestart > /dev/null 2>&1
|
chroot $chroot /etc/rc.d/ldconfig onestart > /dev/null 2>&1
|
||||||
env - JAIL=$jail HOME=$home TERM=$term SHELL=$shell PATH=$path chroot $chroot $shell
|
env - HOME=$home TERM=$term SHELL=$shell PATH=$path chroot $chroot $shell
|
||||||
}
|
}
|
||||||
|
|
||||||
jaildk_login() {
|
jaildk_login() {
|
||||||
|
|||||||
Reference in New Issue
Block a user