aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTuan M. Hoang <tmhoang@flatglobe.org>2018-02-23 19:45:54 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-27 20:25:03 +0000
commitbda5751e08a24a6a33f0940c1e7be6d105496c5b (patch)
treebe420365fcd13249c30ae360999df416606893cd
parent085c74b889434c725e60cc8b30b412d0c12eeeb4 (diff)
downloadaports-bda5751e08a24a6a33f0940c1e7be6d105496c5b.tar.bz2
aports-bda5751e08a24a6a33f0940c1e7be6d105496c5b.tar.xz
main/alpine-baselayout: need /dev/console on s390x
for some reasons tty are not recognized at the moment
-rw-r--r--main/alpine-baselayout/APKBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/alpine-baselayout/APKBUILD b/main/alpine-baselayout/APKBUILD
index 183d69aa03..d043cf3e18 100644
--- a/main/alpine-baselayout/APKBUILD
+++ b/main/alpine-baselayout/APKBUILD
@@ -156,6 +156,10 @@ package() {
/dev/usbdisk /media/usb vfat noauto,ro 0 0
EOF
+ if [ "$CARCH" = "s390x" ]; then
+ for i in `seq 1 6`; do sed -i -e "s/tty$i::/\#tty$i::/g" "$srcdir"/inittab; done
+ echo console::respawn:/sbin/getty 38400 /dev/console >> "$srcdir"/inittab
+ fi
install -m644 \
"$srcdir"/group \
"$srcdir"/passwd \