Remove USER parameter in login-inner

This commit is contained in:
Tobias Happ 2019-10-05 01:55:47 +02:00 committed by Alexander Sosedkin
parent edd0e170be
commit 25c1d265ad
2 changed files with 2 additions and 3 deletions

View file

@ -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

View file

@ -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 "$@"
''