mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
busybox:
- various cleanups - add /etc/fstab
This commit is contained in:
parent
96e495d82d
commit
a7f9feac9e
@ -12,12 +12,18 @@ ROOT_PWD="`$ROOT/$TOOLCHAIN/bin/mkpasswd $ROOT_PASSWORD`"
|
||||
add_group root 0
|
||||
|
||||
cp -PR $BUILD/busybox*/_install-system/* $INSTALL
|
||||
chmod 4755 $INSTALL/bin/busybox
|
||||
|
||||
mkdir -p $INSTALL/bin
|
||||
ln -sf /bin/sh $INSTALL/bin/bash
|
||||
ln -sf /bin/sh $INSTALL/bin/bash
|
||||
|
||||
mkdir -p $INSTALL/usr/config
|
||||
touch $INSTALL/usr/config/fstab
|
||||
|
||||
mkdir -p $INSTALL/etc
|
||||
cp $PKG_DIR/config/sysconfig $INSTALL/etc
|
||||
cp $PKG_DIR/config/sysconfig $INSTALL/etc
|
||||
ln -s /storage/.config/fstab $INSTALL/etc/fstab
|
||||
|
||||
echo $GREATING0 > $INSTALL/etc/issue
|
||||
echo $GREATING1 >> $INSTALL/etc/issue
|
||||
echo $GREATING2 >> $INSTALL/etc/issue
|
||||
@ -25,19 +31,19 @@ ROOT_PWD="`$ROOT/$TOOLCHAIN/bin/mkpasswd $ROOT_PASSWORD`"
|
||||
echo $GREATING4 >> $INSTALL/etc/issue
|
||||
|
||||
mkdir -p $INSTALL/usr/share/udhcpc
|
||||
cp $PKG_DIR/scripts/udhcp.script $INSTALL/usr/share/udhcpc/default.script
|
||||
cp $PKG_DIR/scripts/udhcp.script $INSTALL/usr/share/udhcpc/default.script
|
||||
|
||||
mkdir -p $INSTALL/sbin
|
||||
cp $PKG_DIR/scripts/init $INSTALL/sbin/init.system
|
||||
cp $PKG_DIR/scripts/init $INSTALL/sbin/init.system
|
||||
|
||||
# acpid specific
|
||||
mkdir -p $INSTALL/etc/acpi/PWRF
|
||||
cp $PKG_DIR/scripts/acpi_powerbtn $INSTALL/etc/acpi/PWRF/00000080
|
||||
cp $PKG_DIR/scripts/acpi_powerbtn $INSTALL/etc/acpi/PWRF/00000080
|
||||
|
||||
mkdir -p $INSTALL/usr/config
|
||||
cp $PKG_DIR/config/interfaces $INSTALL/usr/config
|
||||
touch $INSTALL/usr/config/resolv.conf
|
||||
# cp $PKG_DIR/config/interfaces $INSTALL/usr/config
|
||||
touch $INSTALL/usr/config/resolv.conf
|
||||
|
||||
mkdir -p $INSTALL/etc/network
|
||||
ln -s /storage/.config/interfaces $INSTALL/etc/network/interfaces
|
||||
ln -s /storage/.config/resolv.conf $INSTALL/etc/resolv.conf
|
||||
# ln -s /storage/.config/interfaces $INSTALL/etc/network/interfaces
|
||||
ln -s /storage/.config/resolv.conf $INSTALL/etc/resolv.conf
|
||||
|
Loading…
x
Reference in New Issue
Block a user