From 7766caa3133261e5e90aac2fc7cd9e502b28228b Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sun, 8 Nov 2020 04:38:38 +0000 Subject: [PATCH] sysvinit: fix fhs integration so the directories are not created in tools.cross Signed-off-by: Alejandro Mery --- base/sysvinit/pkg_fhs_post.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'