mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 11:36:07 +01:00
Fix stat invocation in /etc/passwd generation
This commit is contained in:
parent
49e6351a87
commit
8b0ddb9c91
1 changed files with 1 additions and 1 deletions
2
script
2
script
|
|
@ -95,7 +95,7 @@ export PROOT_TMP_DIR=$INST/tmp
|
|||
|
||||
if [ ! -e $INST/etc/passwd ]; then
|
||||
echo "Creating an entry in /etc/passwd..."
|
||||
echo "nix-on-droid:x:\$(/system/bin/stat -c '%u:%g'):nix-on-droid:/bin/sh" > $INST/etc/passwd
|
||||
echo "nix-on-droid:x:\$(/system/bin/stat -c '%u:%g' $INST):nix-on-droid:/bin/sh" > $INST/etc/passwd
|
||||
fi
|
||||
|
||||
exec $INST/bin/proot \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue