diff --git a/packages/sysutils/busybox/install b/packages/sysutils/busybox/install index 6317204f73..af6a354309 100755 --- a/packages/sysutils/busybox/install +++ b/packages/sysutils/busybox/install @@ -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 diff --git a/projects/ION/options b/projects/ION/options index f2176cde86..76555fab68 100644 --- a/projects/ION/options +++ b/projects/ION/options @@ -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 diff --git a/projects/generic/options b/projects/generic/options index e9bd92ef3a..2f065d0f10 100644 --- a/projects/generic/options +++ b/projects/generic/options @@ -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 diff --git a/projects/intel/options b/projects/intel/options index a7bc803ee3..1b9d193486 100644 --- a/projects/intel/options +++ b/projects/intel/options @@ -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