From 8de671e4a03a47a7ca7c7431ee7d250f76fb75ab Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Wed, 24 Apr 2013 18:54:58 +0200 Subject: fix rsyslogd for ubuntu (hopefully not broken on suse :/) --- remote/setup_target | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'remote/setup_target') diff --git a/remote/setup_target b/remote/setup_target index 43765ce3..15938558 100755 --- a/remote/setup_target +++ b/remote/setup_target @@ -220,6 +220,8 @@ process_module() { [ -d "${TARGET_BUILD_DIR}" ] && TARGET_BUILD_SIZE=$(du -bc "${TARGET_BUILD_DIR}" | awk 'END {print $1}') || TARGET_BUILD_SIZE=0 pinfo "## Copying files with dependencies" copy_files_with_deps + pinfo "## Copying required system files" + copy_system_files pinfo "## Copying static module files" copy_static_data pinfo "## Post copy" @@ -236,17 +238,17 @@ process_module() { post_process_target() { -local TOOL_STR="$TOOL_STR post_process_target:" + local TOOL_STR="$TOOL_STR post_process_target:" -#move systemd files from /lib to /etc/lib -pinfo "move systemd files from /lib/systemd to /etc/systemd" + #move systemd files from /lib to /etc/lib + pinfo "move systemd files from /lib/systemd to /etc/systemd" -if [ -d "${TARGET_BUILD_DIR}/lib/systemd" ]; then - cd "${TARGET_BUILD_DIR}/lib" - tarcopy "systemd" "${TARGET_BUILD_DIR}/etc" - cd - &> /dev/null - rm -r "${TARGET_BUILD_DIR}/lib/systemd" -fi + if [ -d "${TARGET_BUILD_DIR}/lib/systemd" ]; then + cd "${TARGET_BUILD_DIR}/lib" + tarcopy "systemd" "${TARGET_BUILD_DIR}/etc" + cd - &> /dev/null + rm -r "${TARGET_BUILD_DIR}/lib/systemd" + fi } -- cgit v1.2.3-55-g7522