diff options
author | Tuan Hoang <tmhoang@linux.vnet.ibm.com> | 2019-01-23 13:20:52 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-01-23 20:46:00 +0000 |
commit | 91ff3b7dc0d7045f2e0fb43a22b8bc7d135c5ba7 (patch) | |
tree | e908e2de2dd488c2a1af15f5544c37f7a0226517 | |
parent | 87c443db8dd4907c90a4b6077c6d61946fc30816 (diff) | |
download | alpine_aports-91ff3b7dc0d7045f2e0fb43a22b8bc7d135c5ba7.tar.bz2 alpine_aports-91ff3b7dc0d7045f2e0fb43a22b8bc7d135c5ba7.tar.xz alpine_aports-91ff3b7dc0d7045f2e0fb43a22b8bc7d135c5ba7.zip |
main/alpine-baselayout: use /dev/ttysclp* on s390x
ttysclp became default in newer kernel, no need for /dev/console
-rw-r--r-- | main/alpine-baselayout/APKBUILD | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/main/alpine-baselayout/APKBUILD b/main/alpine-baselayout/APKBUILD index ed92c35c10..044eb25333 100644 --- a/main/alpine-baselayout/APKBUILD +++ b/main/alpine-baselayout/APKBUILD | |||
@@ -2,7 +2,7 @@ | |||
2 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | 2 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> |
3 | pkgname=alpine-baselayout | 3 | pkgname=alpine-baselayout |
4 | pkgver=3.1.0 | 4 | pkgver=3.1.0 |
5 | pkgrel=2 | 5 | pkgrel=3 |
6 | pkgdesc="Alpine base dir structure and init scripts" | 6 | pkgdesc="Alpine base dir structure and init scripts" |
7 | url="https://git.alpinelinux.org/cgit/aports/tree/main/alpine-baselayout" | 7 | url="https://git.alpinelinux.org/cgit/aports/tree/main/alpine-baselayout" |
8 | arch="all" | 8 | arch="all" |
@@ -191,13 +191,6 @@ package() { | |||
191 | /dev/usbdisk /media/usb vfat noauto,ro 0 0 | 191 | /dev/usbdisk /media/usb vfat noauto,ro 0 0 |
192 | EOF | 192 | EOF |
193 | 193 | ||
194 | if [ "$CARCH" = "s390x" ]; then | ||
195 | local i; for i in $(seq 1 6); do | ||
196 | sed -i "s/tty$i::/\#tty$i::/g" "$srcdir"/inittab | ||
197 | done | ||
198 | echo "console::respawn:/sbin/getty 38400 /dev/console" >> "$srcdir"/inittab | ||
199 | fi | ||
200 | |||
201 | install -m644 \ | 194 | install -m644 \ |
202 | "$srcdir"/group \ | 195 | "$srcdir"/group \ |
203 | "$srcdir"/passwd \ | 196 | "$srcdir"/passwd \ |