Browse Source

sysvinit: fix fhs integration

so the directories are not created in tools.cross

Signed-off-by: Alejandro Mery <amery@jpi.io>
master
Alejandro Mery 4 years ago
committed by Alejandro Mery
parent
commit
7766caa313
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      base/sysvinit/pkg_fhs_post.conf

+ 2
- 2
base/sysvinit/pkg_fhs_post.conf

@ -16,9 +16,9 @@ fhs_sysvinit_create() {
local x= local x=
for x in X $(seq 0 6); do for x in X $(seq 0 6); do
mkdir -pv "$root/etc/rc.d/rc${x}.d"
mkdir -pv "$sysroot/etc/rc.d/rc${x}.d"
done done
ln -snfv ../init.d "$root/etc/rc.d/init.d"
ln -snfv ../../sbin/init.d "$sysroot/etc/rc.d/init.d"
} }
hook_add postmake 7 'fhs_sysvinit_create' hook_add postmake 7 'fhs_sysvinit_create'

Loading…
Cancel
Save