From 78d096b2b1f286e15ed12a2789da102fe5849184 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 14 Sep 2015 11:26:36 +0200 Subject: Change boot to execute only one scripts Boot is now executing only lcpinit script. /init scripts is not used during measurements. Booting without boot script, only using novaboot scripts, results in using /init script. This helps to access cli in booted machine without editing any files. --- tests/cyclictest/root/.config | 16 +++++++++++++++- tests/cyclictest/root/overlay/etc/init.d/S90lcp | 3 --- tests/cyclictest/root/overlay/sbin/lcpinit | 2 ++ 3 files changed, 17 insertions(+), 4 deletions(-) delete mode 100755 tests/cyclictest/root/overlay/etc/init.d/S90lcp (limited to 'tests/cyclictest/root') diff --git a/tests/cyclictest/root/.config b/tests/cyclictest/root/.config index 0b86ab6..fca1941 100644 --- a/tests/cyclictest/root/.config +++ b/tests/cyclictest/root/.config @@ -238,7 +238,21 @@ BR2_SYSTEM_BIN_SH_BUSYBOX=y # # BR2_SYSTEM_BIN_SH_NONE is not set BR2_SYSTEM_BIN_SH="/bin/busybox" -# BR2_TARGET_GENERIC_GETTY is not set +BR2_TARGET_GENERIC_GETTY=y + +# +# getty options +# +BR2_TARGET_GENERIC_GETTY_PORT="console" +BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP=y +# BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600 is not set +# BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200 is not set +# BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400 is not set +# BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600 is not set +# BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200 is not set +BR2_TARGET_GENERIC_GETTY_BAUDRATE="0" +BR2_TARGET_GENERIC_GETTY_TERM="vt100" +BR2_TARGET_GENERIC_GETTY_OPTIONS="" BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW=y BR2_SYSTEM_DHCP="" # BR2_TARGET_TZ_INFO is not set diff --git a/tests/cyclictest/root/overlay/etc/init.d/S90lcp b/tests/cyclictest/root/overlay/etc/init.d/S90lcp deleted file mode 100755 index b5a9076..0000000 --- a/tests/cyclictest/root/overlay/etc/init.d/S90lcp +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -/sbin/lcpinit diff --git a/tests/cyclictest/root/overlay/sbin/lcpinit b/tests/cyclictest/root/overlay/sbin/lcpinit index 02c39af..15cc11c 100755 --- a/tests/cyclictest/root/overlay/sbin/lcpinit +++ b/tests/cyclictest/root/overlay/sbin/lcpinit @@ -1,5 +1,7 @@ #!/bin/sh +/bin/mount -t devtmpfs devtmpfs /dev + echo Command: cyclictest -n -p99 -t3 -l10000 -q echo Version: `cyclictest --help | head -1` echo -- cgit v1.2.3