From 5657f165d858cc760721ddb7fe7c8562860376eb Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 9 Mar 2018 09:55:06 +0100 Subject: [systemd] Remove move ancient hacks --- core/modules/systemd/module.build | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'core/modules/systemd') 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 + : } -- cgit v1.2.3-55-g7522