mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
busybox:
- cosmetics and documentation
This commit is contained in:
parent
a8aa4c548d
commit
85284526ea
@ -28,25 +28,28 @@ USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw $USER_PASSWORD`"
|
||||
|
||||
mkdir -p $INSTALL/etc
|
||||
cp $PKG_DIR/config/profile $INSTALL/etc
|
||||
|
||||
# /etc/fstab is needed by...
|
||||
touch $INSTALL/etc/fstab
|
||||
|
||||
# /etc/resolve.conf must be writeable
|
||||
ln -sf /var/run/resolv.conf $INSTALL/etc/resolv.conf
|
||||
|
||||
# /etc/mtab is needed by udisks etc...
|
||||
ln -sf /proc/mounts $INSTALL/etc/mtab
|
||||
|
||||
# create /etc/hostname
|
||||
echo $HOSTNAME > $INSTALL/etc/hostname
|
||||
# create /etc/hostname
|
||||
echo $HOSTNAME > $INSTALL/etc/hostname
|
||||
|
||||
# create /etc/hosts file, useful for gethostbyname(localhost)
|
||||
echo -e "127.0.0.1\tlocalhost $HOSTNAME" > $INSTALL/etc/hosts
|
||||
# create /etc/hosts file, useful for gethostbyname(localhost)
|
||||
echo -e "127.0.0.1\tlocalhost $HOSTNAME" > $INSTALL/etc/hosts
|
||||
|
||||
# create /etc/issue
|
||||
echo $GREATING0 > $INSTALL/etc/issue
|
||||
echo $GREATING1 >> $INSTALL/etc/issue
|
||||
echo $GREATING2 >> $INSTALL/etc/issue
|
||||
echo $GREATING3 >> $INSTALL/etc/issue
|
||||
echo $GREATING4 >> $INSTALL/etc/issue
|
||||
|
||||
mkdir -p $INSTALL/usr/share/udhcpc
|
||||
cp $PKG_DIR/scripts/udhcp.script $INSTALL/usr/share/udhcpc/default.script
|
||||
# create /etc/issue
|
||||
echo $GREATING0 > $INSTALL/etc/issue
|
||||
echo $GREATING1 >> $INSTALL/etc/issue
|
||||
echo $GREATING2 >> $INSTALL/etc/issue
|
||||
echo $GREATING3 >> $INSTALL/etc/issue
|
||||
echo $GREATING4 >> $INSTALL/etc/issue
|
||||
|
||||
# acpid specific
|
||||
mkdir -p $INSTALL/etc/acpi/PWRF
|
||||
@ -55,6 +58,9 @@ USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw $USER_PASSWORD`"
|
||||
mkdir -p $INSTALL/etc/network
|
||||
cp $PKG_DIR/config/interfaces $INSTALL/etc/network
|
||||
|
||||
mkdir -p $INSTALL/usr/share/udhcpc
|
||||
cp $PKG_DIR/scripts/udhcp.script $INSTALL/usr/share/udhcpc/default.script
|
||||
|
||||
# we need an full-featured grep and bash for pm-utils, so we install this :-(
|
||||
$SCRIPTS/install grep
|
||||
$SCRIPTS/install bash
|
||||
|
Loading…
x
Reference in New Issue
Block a user