summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVyacheslav Yurkov <uvv.mail@gmail.com>2025-09-12 22:29:00 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-09-15 17:57:24 +0100
commit481764525cdd607649e78a36be923b70b034e500 (patch)
tree3a43139acbe9bbf61e98570fb51a86050c972815
parent8221eb24247e449b9f39e43b70ac3e21e7087f7a (diff)
downloadpoky-481764525cdd607649e78a36be923b70b034e500.tar.gz
overlayfs: Disable renaming of network interfaces
Current qemurunner implementation expects internal network interface to be eth0, but by default systemd renames network interfaces to have predictable names. This causes a race in the evaluation of results of susequent commands in case when qemurunner tries to setup the network after the interface was already renamed and fails to do that (because there's no eth0 interface present anymore). [YOCTO #15962] (From OE-Core rev: ba3bd832e810bfb96bfa6fcd52710de185dbee22) Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta-selftest/wic/overlayfs_etc.wks.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-selftest/wic/overlayfs_etc.wks.in b/meta-selftest/wic/overlayfs_etc.wks.in
index 8375d73a9c..f45a042c1c 100644
--- a/meta-selftest/wic/overlayfs_etc.wks.in
+++ b/meta-selftest/wic/overlayfs_etc.wks.in
@@ -1,4 +1,4 @@
1part /boot --active --source bootimg_biosplusefi --ondisk sda --sourceparams="loader=grub-efi" --align 1024 1part /boot --active --source bootimg_biosplusefi --ondisk sda --sourceparams="loader=grub-efi" --align 1024
2part / --source rootfs --ondisk sda --fstype=${OVERLAYFS_ROOTFS_TYPE} --use-uuid --align 1024 2part / --source rootfs --ondisk sda --fstype=${OVERLAYFS_ROOTFS_TYPE} --use-uuid --align 1024
3part --ondisk sda --fstype=ext4 --size=5 --align 1024 3part --ondisk sda --fstype=ext4 --size=5 --align 1024
4bootloader --ptable gpt --timeout=1 --append="rootfstype=${OVERLAYFS_ROOTFS_TYPE} console=ttyS0,115200 console=tty0 ${OVERLAYFS_INIT_OPTION}" 4bootloader --ptable gpt --timeout=1 --append="rootfstype=${OVERLAYFS_ROOTFS_TYPE} console=ttyS0,115200 console=tty0 ${OVERLAYFS_INIT_OPTION} net.ifnames=0"