summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-02-28 19:35:54 +0100
committerChristian Breunig <christian@breunig.cc>2026-02-28 19:35:54 +0100
commit6caf20d5471523362093b09b214f3020eaa804fd (patch)
tree3f2901aa0aef116bea6ef2de1b803c639a653540 /scripts
parent16733f4e39c042a7a6e870cb881785bb55d51723 (diff)
downloadvyos-build-6caf20d5471523362093b09b214f3020eaa804fd.tar.gz
vyos-build-6caf20d5471523362093b09b214f3020eaa804fd.zip
T8120: define per architecture serial interface for Linux Kernel
x86_64 and arm64 both use a different serial interface during Linux Kernel boot. Define either ttyS0 or ttyAMA0 per CPU architecture. This could be further overwritten by individual flavors.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/image-build/build-vyos-image4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/image-build/build-vyos-image b/scripts/image-build/build-vyos-image
index 566dac91..f79ce2ee 100755
--- a/scripts/image-build/build-vyos-image
+++ b/scripts/image-build/build-vyos-image
@@ -631,8 +631,8 @@ DOCUMENTATION_URL="{build_config['documentation_url']}"
--archive-areas "{{debian_archive_areas}}" \
--backports true \
--binary-image iso-hybrid \
- --bootappend-live "boot=live components hostname=vyos username=live nopersistence noautologin nonetworking union=overlay console=ttyS0,115200 console=tty0 net.ifnames=0 biosdevname=0" \
- --bootappend-live-failsafe "live components memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal console=ttyS0,115200 console=tty0 net.ifnames=0 biosdevname=0" \
+ --bootappend-live "boot=live components hostname=vyos username=live nopersistence noautologin nonetworking union=overlay console="{{serial_interface}}" console=tty0 net.ifnames=0 biosdevname=0" \
+ --bootappend-live-failsafe "live components memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal console="{{serial_interface}}" console=tty0 net.ifnames=0 biosdevname=0" \
--bootloaders "{{bootloaders}}" \
--checksums "sha256" \
--chroot-squashfs-compression-type "{{squashfs_compression_type}}" \