mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
commit
9b0e08771e
@ -23,15 +23,11 @@
|
|||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
ROOT_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw -m sha512 $ROOT_PASSWORD`"
|
ROOT_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw -m sha512 $ROOT_PASSWORD`"
|
||||||
USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw -m sha512 $USER_PASSWORD`"
|
|
||||||
|
|
||||||
add_user root "$ROOT_PWD" 0 0 "Root User" "/storage" "/bin/sh"
|
add_user root "$ROOT_PWD" 0 0 "Root User" "/storage" "/bin/sh"
|
||||||
add_group root 0
|
add_group root 0
|
||||||
add_group users 100
|
add_group users 100
|
||||||
|
|
||||||
add_user $USER_NAME "$USER_PWD" 1000 1000 "User" "/storage" "/bin/sh"
|
|
||||||
add_group $USER_GROUP 1000
|
|
||||||
|
|
||||||
cp -PR $BUILD/busybox*/_install-system/* $INSTALL
|
cp -PR $BUILD/busybox*/_install-system/* $INSTALL
|
||||||
echo "chmod 4755 $INSTALL/bin/busybox" >> $FAKEROOT_SCRIPT
|
echo "chmod 4755 $INSTALL/bin/busybox" >> $FAKEROOT_SCRIPT
|
||||||
|
|
||||||
|
@ -20,15 +20,6 @@
|
|||||||
# Root password to integrate in the target system
|
# Root password to integrate in the target system
|
||||||
ROOT_PASSWORD="openelec"
|
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
|
# The TARGET_CPU variable controls which processor should be targeted for
|
||||||
# generated code.
|
# generated code.
|
||||||
case $TARGET_ARCH in
|
case $TARGET_ARCH in
|
||||||
|
@ -20,15 +20,6 @@
|
|||||||
# Root password to integrate in the target system
|
# Root password to integrate in the target system
|
||||||
ROOT_PASSWORD="openelec"
|
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
|
# The TARGET_CPU variable controls which processor should be targeted for
|
||||||
# generated code.
|
# generated code.
|
||||||
case $TARGET_ARCH in
|
case $TARGET_ARCH in
|
||||||
|
@ -20,15 +20,6 @@
|
|||||||
# Root password to integrate in the target system
|
# Root password to integrate in the target system
|
||||||
ROOT_PASSWORD="openelec"
|
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
|
# The TARGET_CPU variable controls which processor should be targeted for
|
||||||
# generated code.
|
# generated code.
|
||||||
case $TARGET_ARCH in
|
case $TARGET_ARCH in
|
||||||
|
@ -20,15 +20,6 @@
|
|||||||
# Root password to integrate in the target system
|
# Root password to integrate in the target system
|
||||||
ROOT_PASSWORD="openelec"
|
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
|
# The TARGET_CPU variable controls which processor should be targeted for
|
||||||
# generated code.
|
# generated code.
|
||||||
case $TARGET_ARCH in
|
case $TARGET_ARCH in
|
||||||
|
@ -20,15 +20,6 @@
|
|||||||
# Root password to integrate in the target system
|
# Root password to integrate in the target system
|
||||||
ROOT_PASSWORD="openelec"
|
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
|
# The TARGET_CPU variable controls which processor should be targeted for
|
||||||
# generated code.
|
# generated code.
|
||||||
case $TARGET_ARCH in
|
case $TARGET_ARCH in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user