mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
busybox: create users and groups from now per scripts
This commit is contained in:
parent
e6a74e4809
commit
8901dcba59
@ -1,8 +0,0 @@
|
||||
root:x:0:
|
||||
audio:x:63:
|
||||
avahi:x:495:
|
||||
avahiautoipd:x:496:
|
||||
haldaemon:x:68:
|
||||
dbus:x:81:
|
||||
netdev:x:497:
|
||||
mysqld:x:484:
|
@ -1,6 +0,0 @@
|
||||
root:x:0:0:root:/storage:/bin/sh
|
||||
haldaemon:x:68:68:HAL daemon:/:/bin/sh
|
||||
avahi-autoipd:x:496:496:avahi-autoipd:/var/lib/avahi-autoipd:/bin/sh
|
||||
avahi:x:495:495:avahi-daemon:/var/run/avahi-daemon:/bin/sh
|
||||
dbus:x:81:81:System message bus:/:/bin/sh
|
||||
mysqld:x:27:484:MySQL Server:/var/lib/mysql:/bin/bash
|
@ -13,14 +13,18 @@ if [ "$2" = initramfs ]; then
|
||||
fi
|
||||
|
||||
if [ "$2" = system ]; then
|
||||
|
||||
add_user root passwort 0 0 "Root User" "/storage" "/bin/sh"
|
||||
add_group root 0
|
||||
|
||||
cp -PR $PKG_BUILD/_install-$2/* $INSTALL
|
||||
|
||||
mkdir -p $INSTALL/bin
|
||||
ln -sf /bin/sh $INSTALL/bin/bash
|
||||
|
||||
mkdir -p $INSTALL/etc
|
||||
cp $PKG_DIR/config/passwd $INSTALL/etc
|
||||
cp $PKG_DIR/config/group $INSTALL/etc
|
||||
# cp $PKG_DIR/config/passwd $INSTALL/etc
|
||||
# cp $PKG_DIR/config/group $INSTALL/etc
|
||||
cp $PKG_DIR/config/sysconfig $INSTALL/etc
|
||||
echo $ISSUE > $INSTALL/etc/issue
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user