aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArsalan H. Awan <Arsalan_Awan@mentor.com>2019-10-06 18:25:49 +0500
committerArsalan H. Awan <Arsalan_Awan@mentor.com>2019-10-06 18:25:49 +0500
commit11b29db7e857dff899c0f37a75d6d0fe20e7310d (patch)
tree74307e9dbf58b529bb854ecf64185ccfa04309cc
parent89554eda4fc4f933858fdc7015574127669f050c (diff)
downloadmeta-amd-11b29db7e857dff899c0f37a75d6d0fe20e7310d.tar.gz
meta-amd-11b29db7e857dff899c0f37a75d6d0fe20e7310d.tar.bz2
meta-amd-11b29db7e857dff899c0f37a75d6d0fe20e7310d.zip
bsp/machine.confs: change SERIAL_CONSOLES ?= to = to make it effective
This changes the loose assignment of SERIAL_CONSOLES ?= "115200;ttyS4 115200;ttyS5" to SERIAL_CONSOLES = "115200;ttyS4 115200;ttyS5" otherwise these definitions don't end up in /etc/securetty and as a result the root user is unable to login via serial console. INTAMDDET-2758 Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
-rw-r--r--meta-amd-bsp/conf/machine/e3000.conf2
-rw-r--r--meta-amd-bsp/conf/machine/r1000.conf2
-rw-r--r--meta-amd-bsp/conf/machine/v1000.conf2
3 files changed, 3 insertions, 3 deletions
diff --git a/meta-amd-bsp/conf/machine/e3000.conf b/meta-amd-bsp/conf/machine/e3000.conf
index e37cd9b8..7ef6462b 100644
--- a/meta-amd-bsp/conf/machine/e3000.conf
+++ b/meta-amd-bsp/conf/machine/e3000.conf
@@ -20,7 +20,7 @@ MACHINE_FEATURES_remove = "alsa"
MACHINE_EXTRA_RRECOMMENDS_remove = " rtc-test alsa-utils"
# Setup a getty on all serial ports
-SERIAL_CONSOLES ?= "115200;ttyS4 115200;ttyS5"
+SERIAL_CONSOLES = "115200;ttyS4 115200;ttyS5"
# Enable the kernel console on ttyS4/COM0
KERNEL_SERIAL_CONSOLE ?= "console=ttyS4,115200n8"
diff --git a/meta-amd-bsp/conf/machine/r1000.conf b/meta-amd-bsp/conf/machine/r1000.conf
index f8bdf214..c06ef728 100644
--- a/meta-amd-bsp/conf/machine/r1000.conf
+++ b/meta-amd-bsp/conf/machine/r1000.conf
@@ -36,7 +36,7 @@ MACHINE_EXTRA_RRECOMMENDS += "amdgpu-firmware grub-efi"
MACHINE_EXTRA_RRECOMMENDS_remove = "rtc-test smbus-test grub"
# Setup a getty on all serial ports
-SERIAL_CONSOLES ?= "115200;ttyS4 115200;ttyS5"
+SERIAL_CONSOLES = "115200;ttyS4 115200;ttyS5"
# Enable the kernel console on ttyS4/USB0 as well
KERNEL_SERIAL_CONSOLE ?= "console=ttyS4,115200n8"
diff --git a/meta-amd-bsp/conf/machine/v1000.conf b/meta-amd-bsp/conf/machine/v1000.conf
index 811d885f..8b323063 100644
--- a/meta-amd-bsp/conf/machine/v1000.conf
+++ b/meta-amd-bsp/conf/machine/v1000.conf
@@ -35,7 +35,7 @@ MACHINE_EXTRA_RRECOMMENDS += "amdgpu-firmware grub-efi"
MACHINE_EXTRA_RRECOMMENDS_remove = "rtc-test smbus-test grub"
# Setup a getty on all serial ports
-SERIAL_CONSOLES ?= "115200;ttyS4 115200;ttyS5"
+SERIAL_CONSOLES = "115200;ttyS4 115200;ttyS5"
# Enable the kernel console on ttyS4/USB0 as well
KERNEL_SERIAL_CONSOLE ?= "console=ttyS4,115200n8"