From 053300e36ba57324fbe956dd1269f3f2d4f8ed98 Mon Sep 17 00:00:00 2001 From: "jiankang.fan" Date: Thu, 4 Feb 2016 17:20:52 +0800 Subject: [PATCH] fix bug for error : run-init: /.build/build: No such file or directory need to change to BUILD_ROOT dir Change-Id: Ia47582cb40ac7d5d9ef36004305ad06a5d40f3e8 Signed-off-by: jiankang.fan --- init_buildsystem | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init_buildsystem b/init_buildsystem index 8907342..4ceffda 100755 --- a/init_buildsystem +++ b/init_buildsystem @@ -255,6 +255,8 @@ preinstall() run_pkg_scripts() { + # need to change to $BUILD_ROOT + cd $BUILD_ROOT chroot $BUILD_ROOT /sbin/ldconfig 2>/dev/null for PKG in $PACKAGES_TO_RUNSCRIPTS ; do if test -e "$BUILD_ROOT/.init_b_cache/scripts/$PKG.pre" ; then -- 2.34.1