mirror of
https://github.com/libretro/Lakka.git
synced 2025-03-03 21:27:35 +00:00
busybox:
- set user account
This commit is contained in:
parent
fee652f481
commit
4651cc3c0d
@ -8,10 +8,14 @@ $SCRIPTS/install Linux-PAM
|
||||
PKG_DIR=`find $PACKAGES -type d -name $1`
|
||||
|
||||
ROOT_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw $ROOT_PASSWORD`"
|
||||
USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw $USER_PASSWORD`"
|
||||
|
||||
add_user root "$ROOT_PWD" 0 0 "Root User" "/storage" "/bin/sh"
|
||||
add_group root 0
|
||||
|
||||
add_user $USER_NAME "$USER_PWD" 1000 1000 "User" "/storage" "/bin/sh"
|
||||
add_group $USER_GROUP 1000
|
||||
|
||||
cp -PR $BUILD/busybox*/_install-system/* $INSTALL
|
||||
echo "chmod 4755 $INSTALL/bin/busybox" >> $FAKEROOT_SCRIPT
|
||||
|
||||
|
@ -11,6 +11,15 @@
|
||||
# Root password to integrate in the target system
|
||||
ROOT_PASSWORD="openelec"
|
||||
|
||||
# User to integrate in the target system
|
||||
USER_NAME="openelec"
|
||||
|
||||
# User group to integrate in the target system
|
||||
USER_GROUP="openelec"
|
||||
|
||||
# User password to integrate in the target system
|
||||
USER_PASSWORD="openelec"
|
||||
|
||||
# The TARGET_CPU variable controls which processor should be targeted for
|
||||
# generated code.
|
||||
case $TARGET_ARCH in
|
||||
|
@ -11,6 +11,15 @@
|
||||
# Root password to integrate in the target system
|
||||
ROOT_PASSWORD="openelec"
|
||||
|
||||
# User to integrate in the target system
|
||||
USER_NAME="openelec"
|
||||
|
||||
# User group to integrate in the target system
|
||||
USER_GROUP="openelec"
|
||||
|
||||
# User password to integrate in the target system
|
||||
USER_PASSWORD="openelec"
|
||||
|
||||
# The TARGET_CPU variable controls which processor should be targeted for
|
||||
# generated code.
|
||||
case $TARGET_ARCH in
|
||||
|
@ -11,6 +11,15 @@
|
||||
# Root password to integrate in the target system
|
||||
ROOT_PASSWORD="openelec"
|
||||
|
||||
# User to integrate in the target system
|
||||
USER_NAME="openelec"
|
||||
|
||||
# User group to integrate in the target system
|
||||
USER_GROUP="openelec"
|
||||
|
||||
# User password to integrate in the target system
|
||||
USER_PASSWORD="openelec"
|
||||
|
||||
# The TARGET_CPU variable controls which processor should be targeted for
|
||||
# generated code.
|
||||
case $TARGET_ARCH in
|
||||
|
Loading…
x
Reference in New Issue
Block a user