diff options
| author | Simon Rettberg | 2015-05-15 17:36:29 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2015-05-15 17:36:29 +0200 |
| commit | 9fff0a99fa0031c5b70a43b5eea93681ca0f70be (patch) | |
| tree | c9ec0dcd587b003d3be63905245e68f102397465 /remote/modules/systemd | |
| parent | Compatibility improvements with ldadp and windows servers in mount scripts (diff) | |
| parent | [vbox] CAUTION: COMPATIBILITY BREAK to V3! virtualbox runs now, needs further (diff) | |
| download | tm-scripts-9fff0a99fa0031c5b70a43b5eea93681ca0f70be.tar.gz tm-scripts-9fff0a99fa0031c5b70a43b5eea93681ca0f70be.tar.xz tm-scripts-9fff0a99fa0031c5b70a43b5eea93681ca0f70be.zip | |
Merge branch 'master' of dnbd3:openslx-ng/tm-scripts
Diffstat (limited to 'remote/modules/systemd')
| -rw-r--r-- | remote/modules/systemd/module.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/remote/modules/systemd/module.build b/remote/modules/systemd/module.build index 6e1cf4c1..67e019af 100644 --- a/remote/modules/systemd/module.build +++ b/remote/modules/systemd/module.build @@ -99,5 +99,9 @@ post_copy() { if [ "x$(dpkg -s util-linux | grep Version: | cut -d' ' -f2)" == "x2.19.1-2ubuntu3" ]; then sed -i "s/ExecStart=-\/sbin\/agetty --noclear %I 38400 linux/ExecStart=-\/sbin\/agetty %I 38400 linux/g" "${TARGET_BUILD_DIR}/usr/lib/systemd/system/getty@.service" fi + # eg. systemd expects /bin/less: + if [ "$SYS_DISTRIBUTION" == "opensuse" -a "$SYS_VERSION" == "13.2" ]; then + ln -s /usr/bin/less "$TARGET_BUILD_DIR/bin/less" + fi } |
