Commit 91ff3b7d authored by Tuan Hoang's avatar Tuan Hoang Committed by Natanael Copa

main/alpine-baselayout: use /dev/ttysclp* on s390x

ttysclp became default in newer kernel, no need for /dev/console
parent 87c443db
......@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-baselayout
pkgver=3.1.0
pkgrel=2
pkgrel=3
pkgdesc="Alpine base dir structure and init scripts"
url="https://git.alpinelinux.org/cgit/aports/tree/main/alpine-baselayout"
arch="all"
......@@ -191,13 +191,6 @@ package() {
/dev/usbdisk /media/usb vfat noauto,ro 0 0
EOF
if [ "$CARCH" = "s390x" ]; then
local i; for i in $(seq 1 6); do
sed -i "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 \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment