busybox: symlink /run/modprobe.d to /storage/.config/modprobe.d this adds support for our user based modprobe.d dir to package 'kmod' and fixes #128

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-01-21 12:57:53 +01:00
parent a1cfffd0b3
commit 72d3c2830a
2 changed files with 6 additions and 2 deletions

View File

@ -38,6 +38,10 @@ progress "make variable directory structure"
touch /var/run/utmp touch /var/run/utmp
chmod 1777 /var/run/utmp chmod 1777 /var/run/utmp
progress "make runtime directory structure"
ln -sf /storage/.config/modprobe.d /run/modprobe.d
progress "make logging directory structure"
if test "$DEBUG" = "yes"; then if test "$DEBUG" = "yes"; then
mkdir -p $HOME/log mkdir -p $HOME/log
ln -sf $HOME/log /var/log ln -sf $HOME/log /var/log
@ -48,6 +52,7 @@ progress "make variable directory structure"
touch /var/log/wtmp touch /var/log/wtmp
chmod 1777 /var/log/wtmp chmod 1777 /var/log/wtmp
progress "make variable library directory structure"
# others: # others:
mkdir -p /var/lib/polkit-1 mkdir -p /var/lib/polkit-1
chmod 700 /var/lib/polkit-1 chmod 700 /var/lib/polkit-1
@ -60,5 +65,6 @@ progress "make variable directory structure"
mkdir -p /var/lib/udisks mkdir -p /var/lib/udisks
mkdir -p /var/lib/upower mkdir -p /var/lib/upower
progress "make caching directory structure"
mkdir -p $HOME/.cache/bluetooth mkdir -p $HOME/.cache/bluetooth
ln -sf $HOME/.cache/bluetooth /var/lib/bluetooth ln -sf $HOME/.cache/bluetooth /var/lib/bluetooth

View File

@ -33,8 +33,6 @@
mkdir -p /dev/shm mkdir -p /dev/shm
mount -n -t tmpfs none /dev/shm mount -n -t tmpfs none /dev/shm
mount -n -t tmpfs none /run
# showing version # showing version
lsb_release lsb_release