diff --git a/base/sysvinit/pkg_fhs_post.conf b/base/sysvinit/pkg_fhs_post.conf index 285a7ad4d..b27a7837b 100644 --- a/base/sysvinit/pkg_fhs_post.conf +++ b/base/sysvinit/pkg_fhs_post.conf @@ -16,9 +16,9 @@ fhs_sysvinit_create() { local x= 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 - 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'