From: Denys Dmytriyenko <[email protected]>

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 lib/oesdk/bitbake-test-sdk-image       | 1 +
 lib/run-opentest                       | 3 ++-
 test-scripts/S08-fake-weston-calibrate | 6 ++++++
 3 files changed, 9 insertions(+), 1 deletion(-)
 create mode 100755 test-scripts/S08-fake-weston-calibrate

diff --git a/lib/oesdk/bitbake-test-sdk-image b/lib/oesdk/bitbake-test-sdk-image
index 900367f..f6f91fa 100644
--- a/lib/oesdk/bitbake-test-sdk-image
+++ b/lib/oesdk/bitbake-test-sdk-image
@@ -33,6 +33,7 @@ package_tested_rootfs() {
         sudo rm -rf $nfs_dir/$TEST_SCRIPTS_TGT
         sudo rm -rf $nfs_dir/etc/pointercal
         sudo rm -rf $nfs_dir/etc/rc5.d/S90-fake-pointercal
+        sudo rm -rf $nfs_dir/etc/rc5.d/S08-fake-weston-calibrate
         sudo rm -rf $nfs_dir/etc/dropbear/dropbear_rsa_*
         # Don't forget to remove the original file system tarball
         sudo rm -rf $nfs_dir/$filesys
diff --git a/lib/run-opentest b/lib/run-opentest
index a156df8..61bef14 100644
--- a/lib/run-opentest
+++ b/lib/run-opentest
@@ -116,8 +116,9 @@ run_target_side_test() {
 
     sudo cp -rf $TEST_SCRIPTS $TEST_SCRIPTS_TGT
 
-    # Copy in an init script to create a fake pointercal file to allow booting
+    # Copy init scripts to create fake pointercal/calibrate files to allow 
booting
     sudo cp $TEST_SCRIPTS_TGT/S90-fake-pointercal etc/rc5.d/
+    sudo cp $TEST_SCRIPTS_TGT/S08-fake-weston-calibrate etc/rc5.d/
 
     # Modify the nightly-test.sh script with the required values
     sudo sed -i "s=__BASEDIR__=/$TEST_SCRIPTS_TGT=" 
$TEST_SCRIPTS_TGT/nightly-test.sh
diff --git a/test-scripts/S08-fake-weston-calibrate 
b/test-scripts/S08-fake-weston-calibrate
new file mode 100755
index 0000000..cc7944a
--- /dev/null
+++ b/test-scripts/S08-fake-weston-calibrate
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+WS_CALUDEV_FILE=/etc/udev/rules.d/ws-calibrate.rules
+
+echo "Creating a fake calibration rule file in $WS_CALUDEV_FILE"
+touch $WS_CALUDEV_FILE
-- 
2.1.2

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to