summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-01-30 17:09:38 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-01-30 17:09:38 +0000
commita30fd2a30493378a42fa96516d1c84f48427d34e (patch)
tree24933c359228bc6cc2d2175e7637a1feb9b1be5a
parent09abc57746664e221b717214d41f7fc13396e60d (diff)
downloadlh-bootstrap-a30fd2a30493378a42fa96516d1c84f48427d34e.tar.xz
The race is still there... adding a sleep -_-
-rw-r--r--layout/rootfs/etc/s6-rc/source-base/init-eth0/dependencies1
-rw-r--r--layout/rootfs/etc/s6-rc/source-base/init-eth0/up1
-rw-r--r--layout/rootfs/etc/s6-rc/source-base/init-sysctl/up2
-rw-r--r--sub/kernel/qemu-system-aarch64-config2
4 files changed, 4 insertions, 2 deletions
diff --git a/layout/rootfs/etc/s6-rc/source-base/init-eth0/dependencies b/layout/rootfs/etc/s6-rc/source-base/init-eth0/dependencies
index f4c707c..97749cc 100644
--- a/layout/rootfs/etc/s6-rc/source-base/init-eth0/dependencies
+++ b/layout/rootfs/etc/s6-rc/source-base/init-eth0/dependencies
@@ -1 +1,2 @@
init-sysctl
+init-coldplug
diff --git a/layout/rootfs/etc/s6-rc/source-base/init-eth0/up b/layout/rootfs/etc/s6-rc/source-base/init-eth0/up
index a89a990..e55ec97 100644
--- a/layout/rootfs/etc/s6-rc/source-base/init-eth0/up
+++ b/layout/rootfs/etc/s6-rc/source-base/init-eth0/up
@@ -1,2 +1,3 @@
+if { sleep 1 }
if { ip addr add 10.0.0.1/24 dev eth0 }
ip link set dev eth0 up
diff --git a/layout/rootfs/etc/s6-rc/source-base/init-sysctl/up b/layout/rootfs/etc/s6-rc/source-base/init-sysctl/up
index 3f3330c..7f1874b 100644
--- a/layout/rootfs/etc/s6-rc/source-base/init-sysctl/up
+++ b/layout/rootfs/etc/s6-rc/source-base/init-sysctl/up
@@ -3,4 +3,4 @@ forstdin -nCd"\n" -- LINE
importas -u LINE LINE
multidefine -C $LINE { CTL VALUE }
redirfd -w 1 /proc/sys/$CTL
-echo -- $VALUE
+echo $VALUE
diff --git a/sub/kernel/qemu-system-aarch64-config b/sub/kernel/qemu-system-aarch64-config
index 0e54cd0..48c896c 100644
--- a/sub/kernel/qemu-system-aarch64-config
+++ b/sub/kernel/qemu-system-aarch64-config
@@ -2238,7 +2238,7 @@ CONFIG_LOCK_DEBUGGING_SUPPORT=y
# end of Lock Debugging (spinlocks, mutexes, etc...)
# CONFIG_STACKTRACE is not set
-CONFIG_WARN_ALL_UNSEEDED_RANDOM=y
+# CONFIG_WARN_ALL_UNSEEDED_RANDOM is not set
# CONFIG_DEBUG_KOBJECT is not set
CONFIG_HAVE_DEBUG_BUGVERBOSE=y