main/postmarketos-base: change order of baud rate and tty name according to upstream (MR 4889)
[ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
0446f43875
commit
8ab166acc0
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
pkgname=postmarketos-base
|
pkgname=postmarketos-base
|
||||||
pkgver=32
|
pkgver=32
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Meta package for minimal postmarketOS base"
|
pkgdesc="Meta package for minimal postmarketOS base"
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
|
|
|
@ -11,7 +11,7 @@ if [ -n "${deviceinfo_getty}" ]; then
|
||||||
|
|
||||||
if [ -n "${port}" ] && [ -n "${baudrate}" ]; then
|
if [ -n "${port}" ] && [ -n "${baudrate}" ]; then
|
||||||
echo "Configuring a getty on port ${port} with baud rate ${baudrate}"
|
echo "Configuring a getty on port ${port} with baud rate ${baudrate}"
|
||||||
sed -i -e "s/#ttyS0::respawn:\/sbin\/getty -L ttyS0 115200 vt100/${port}::respawn:\/sbin\/getty -L ${port} ${baudrate} vt100/" /etc/inittab
|
sed -i -e "s/#ttyS0::respawn:\/sbin\/getty -L 115200 ttyS0 vt100/${port}::respawn:\/sbin\/getty -L ${baudrate} ${port} vt100/" /etc/inittab
|
||||||
else
|
else
|
||||||
echo "ERROR: Invalid value for deviceinfo_getty: ${deviceinfo_getty}"
|
echo "ERROR: Invalid value for deviceinfo_getty: ${deviceinfo_getty}"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue