diff options
author | Simon Rettberg | 2020-08-03 18:04:59 +0200 |
---|---|---|
committer | Your Name | 2020-08-03 18:04:59 +0200 |
commit | a069ecafe76710cdc758f5c79a7c000bfe3a7e76 (patch) | |
tree | bc8de78515c7b5d0c24ffc3e7e216e5d846082bb /core/modules/systemd-distro/module.build | |
parent | [rfs-stage31] Fix hostname lookup for newer busybox nslookup (diff) | |
download | mltk-a069ecafe76710cdc758f5c79a7c000bfe3a7e76.tar.gz mltk-a069ecafe76710cdc758f5c79a7c000bfe3a7e76.tar.xz mltk-a069ecafe76710cdc758f5c79a7c000bfe3a7e76.zip |
[systemd-distro] Get this module into working state, switch
Diffstat (limited to 'core/modules/systemd-distro/module.build')
-rw-r--r-- | core/modules/systemd-distro/module.build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/modules/systemd-distro/module.build b/core/modules/systemd-distro/module.build index 0745ad3c..5c2dd958 100644 --- a/core/modules/systemd-distro/module.build +++ b/core/modules/systemd-distro/module.build @@ -15,6 +15,9 @@ build () { } post_copy() { - : + [ -d "${TARGET_BUILD_DIR}/usr/lib/systemd/system" ] \ + && ! [ -L "${TARGET_BUILD_DIR}/usr/lib/systemd/system" ] \ + && perror "/usr/lib/systemd/system must not exist in target build dir" + ln -nfs "../../../lib/systemd/system" "${TARGET_BUILD_DIR}/usr/lib/systemd/system" } |