poky/scripts
Richard Purdie 73aef33dfa scritps/runqemu: Ensure we only have two serial ports
I have a theory that some of the console boot issues we're seeing are due to
starting images with three serial ports yet only starting gettys on two of them.

This means that occasionally, depending on the port numbering we may not get
a login prompt on the console we expect it on.

To fix this, change the runqemu code so that if serial ports are passed in on
the commandline (as is the case in automated testing), we don't add any other
GUI serial consoles.

We do need to make sure we do have at least two serial ports since we don't want
getty timeout warnings.

(From OE-Core rev: 44e1279970d306b0da4fcc11f9e780915f481819)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1b0348535dce3b776efbcf26406b94730a51eb85)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-02-24 07:00:53 -08:00
..
contrib scripts: python 3.12 regex 2024-03-01 05:19:54 -10:00
cross-intercept native/cross: Add ar wrapper for determinism 2021-11-26 17:01:08 +00:00
lib resulttool: Improve repo layout for oeselftest results 2024-12-09 07:54:03 -08:00
native-intercept native/cross: Add ar wrapper for determinism 2021-11-26 17:01:08 +00:00
nativesdk-intercept nativesdk-intercept: Fix bad intercept chgrp/chown logic 2024-11-02 06:32:36 -07:00
postinst-intercepts update_udev_hwdb: fix multilib issue with systemd 2022-04-28 17:07:18 +01:00
pybootchartgui pybootchartgui: fix 2 SyntaxWarnings 2024-01-21 08:50:38 -10:00
tiny scripts/tiny/ksize: Fix for more recent kernels 2020-05-09 18:57:21 +01:00
autobuilder-worker-prereq-tests scripts/autobuilder-worker-prereq-tests: jinja2 check 2021-10-14 22:39:50 +01:00
bitbake-prserv-tool meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
bitbake-whatchanged bitbake-whatchanged: change ending quote to proper period 2021-03-14 16:33:59 +00:00
buildall-qemu buildall-qemu: automate build testing for qemu MACHINEs 2020-04-24 14:10:08 +01:00
buildhistory-collect-srcrevs buildhistory-collect-srcrevs: Adapt to the new variable override syntax 2021-08-26 22:09:44 +01:00
buildhistory-diff scripts/buildhistory-diff: drop use of distutils 2022-01-04 23:14:05 +00:00
buildstats-diff scripts/buildstats-diff: Add option to filter tasks 2019-07-17 09:36:35 +01:00
combo-layer scripts: python 3.12 regex 2024-03-01 05:19:54 -10:00
combo-layer-hook-default.sh meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
combo-layer.conf.example combo-layer: partial import for '--history init' 2015-03-20 11:21:24 +00:00
cp-noerror meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
create-pull-request scripts/create-pull-request: update URLs to git repositories 2023-09-23 05:26:15 -10:00
crosstap scripts: Various typo/grammar/punctuation fixes 2022-03-02 18:43:24 +00:00
devtool devtool: error out when workspace is using old override syntax 2022-08-23 15:22:52 +01:00
gen-lockedsig-cache sstate: Fixes for eSDK generation after zstd switch 2021-10-15 12:58:00 +01:00
gen-site-config meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
git scripts/git: Ensure we don't have circular references 2022-05-12 16:44:06 +01:00
install-buildtools scripts/install-buildtools: Update to 4.0.24 2025-02-24 07:00:53 -08:00
multilib_header_wrapper.h multilib_header_wrapper: Drop using __MHWORDSIZE 2020-05-18 06:33:36 +01:00
oe-build-perf-report oe-build-perf-report: Ensure correct data is shown for multiple branch options 2020-10-10 13:37:56 +01:00
oe-build-perf-test scripts/oe-build-perf-test: Use python3 from the environment 2019-12-15 09:10:46 +00:00
oe-buildenv-internal meta/scripts: Change BB_ENV_EXTRA_WHITE -> BB_ENV_PASSTHROUGH_ADDITIONS 2022-02-21 23:37:26 +00:00
oe-check-sstate scripts: python 3.12 regex 2024-03-01 05:19:54 -10:00
oe-debuginfod Convert to new override syntax 2021-08-02 15:44:10 +01:00
oe-depends-dot oe-depends-dot: Handle new format for task-depends.dot 2023-07-12 05:11:37 -10:00
oe-find-native-sysroot meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oe-git-archive meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oe-git-proxy oe-git-proxy: fix dash "Bad substitution" 2019-09-16 23:02:44 +01:00
oe-gnome-terminal-phonehome meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oe-pkgdata-browser scripts/oe-package-browser: Handle no packages being built 2021-11-11 17:09:17 +00:00
oe-pkgdata-browser.glade oe-pkgdata-browser: Make the window 1200x900 by default 2020-01-10 21:18:22 +00:00
oe-pkgdata-util scripts: python 3.12 regex 2024-03-01 05:19:54 -10:00
oe-publish-sdk scripts/oe-publish-sdk: Disable git gc to avoid build errors 2021-09-23 13:49:11 +01:00
oe-pylint meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oe-run-native scripts: oe-run-native, fix *-native directories 2021-01-15 13:39:25 +00:00
oe-selftest oe-selftest: Implement console 'keepalive' output 2019-09-06 08:15:45 +01:00
oe-setup-builddir scripts/oe-setup-builddir: make it known where configurations come from 2022-08-23 15:22:52 +01:00
oe-test meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oe-time-dd-test.sh scripts/oe-time-dd-test.sh: run "uptime" on each iteration 2021-07-22 09:33:44 +01:00
oe-trim-schemas meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oepydevshell-internal.py devpyshell: rename to pydevshell 2021-10-11 18:41:39 +01:00
opkg-query-helper.py scripts: python 3.12 regex 2024-03-01 05:19:54 -10:00
pythondeps meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
README Further cleanup of various poky references 2011-04-21 12:56:16 +01:00
recipetool meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
relocate_sdk.py relocate_sdk.py: ensure interpreter size error causes relocation to fail 2022-08-23 15:22:52 +01:00
resulttool meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
rootfs_rpm-extract-postinst.awk meta/classes/rootfs_rpm.bbclass: re implement base on rpm5 2010-07-24 00:46:57 +01:00
rpm2cpio.sh rpm2cpio.sh: update to the last 4.x version 2023-08-19 05:56:59 -10:00
runqemu scritps/runqemu: Ensure we only have two serial ports 2025-02-24 07:00:53 -08:00
runqemu-addptable2image meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
runqemu-export-rootfs meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
runqemu-extract-sdk runqemu-extract-sdk: fix install debugfs on rootfs 2020-04-06 16:45:11 +01:00
runqemu-gen-tapdevs meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
runqemu-ifdown scripts/runqemu-ifdown: Don't treat the last iptables command as special 2022-02-05 17:46:05 +00:00
runqemu-ifup meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
runqemu.README scripts/runqemu.README: fix typos and trailing whitespaces 2022-09-12 08:41:48 +01:00
send-error-report meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
send-pull-request meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
sstate-cache-management.sh sstate: Switch to ZStandard compressor support 2021-10-14 22:37:43 +01:00
sstate-diff-machines.sh sstate-diff-machines.sh: support rpm, deb and tar package types in analysis 2021-03-10 10:30:39 +00:00
sstate-sysroot-cruft.sh prelink: Drop support for it 2022-02-05 12:26:36 +00:00
sysroot-relativelinks.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
task-time meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
test-reexec meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
test-remote-image meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
verify-bashisms meta/scripts: Improve internal variable naming 2022-03-10 08:00:28 +00:00
wic wic: fix WicError message 2022-07-08 08:27:16 +01:00
yocto-check-layer yocto-check-layer: Allow OE-Core to be tested 2022-12-23 23:05:50 +00:00
yocto-check-layer-wrapper meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00

This directory contains Various useful scripts for working with OE builds