mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-28 21:21:04 +01:00
Remove USER parameter in login-inner
This commit is contained in:
parent
edd0e170be
commit
25c1d265ad
2 changed files with 2 additions and 3 deletions
|
|
@ -11,9 +11,8 @@ writeTextDir "usr/lib/login-inner" ''
|
|||
[ "$#" -gt 1 ] || echo "If nothing works, use the rescue shell and read ${instDir}/usr/lib/login-inner"
|
||||
[ "$#" -gt 1 ] || echo "If it does not help, report bugs at https://github.com/t184256/nix-on-droid-bootstrap/issues"
|
||||
|
||||
export USER="$1"
|
||||
export USER=nix-on-droid
|
||||
export HOME="/data/data/com.termux.nix/files/home"
|
||||
shift
|
||||
|
||||
${
|
||||
if initialBuild
|
||||
|
|
|
|||
|
|
@ -31,5 +31,5 @@ writeScriptBin "login" ''
|
|||
-b ${instDir}/usr:/usr \
|
||||
-b /:/android \
|
||||
--link2symlink \
|
||||
${instDir}/bin/sh ${instDir}/usr/lib/login-inner $USER "$@"
|
||||
${instDir}/bin/sh ${instDir}/usr/lib/login-inner "$@"
|
||||
''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue