summaryrefslogtreecommitdiffstats
path: root/core/modules/systemd
diff options
context:
space:
mode:
authorSimon Rettberg2018-03-09 09:55:06 +0100
committerSimon Rettberg2018-03-09 09:55:06 +0100
commit5657f165d858cc760721ddb7fe7c8562860376eb (patch)
tree91f59d83add4ceb29df75a4ef63bb61cb54d17d9 /core/modules/systemd
parent[sssd] Remove hack (diff)
downloadmltk-5657f165d858cc760721ddb7fe7c8562860376eb.tar.gz
mltk-5657f165d858cc760721ddb7fe7c8562860376eb.tar.xz
mltk-5657f165d858cc760721ddb7fe7c8562860376eb.zip
[systemd] Remove move ancient hacks
Diffstat (limited to 'core/modules/systemd')
-rw-r--r--core/modules/systemd/module.build9
1 files changed, 1 insertions, 8 deletions
diff --git a/core/modules/systemd/module.build b/core/modules/systemd/module.build
index 4ed9b57e..f433a7bd 100644
--- a/core/modules/systemd/module.build
+++ b/core/modules/systemd/module.build
@@ -125,13 +125,6 @@ build () {
}
post_copy() {
- #old agetty version doesn't support --noclear option in getty service
- 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
+ :
}