flatcar-scripts/mod_for_test_scripts
Joseph Hwang ca63e041e5 Install uinput module in test image only
This CL adds uinput module in INSTALL_MASK so that the module
is not installed to non-test image. A mod_image_for_test script
is implemented to install the module in the test image if the
uinput module exists.

BUG=chromium-os:26707
TEST=Build a base image and a test image. Check the directory
  /lib/modules/<version>/kernel/drivers/input/misc
where current <version> is 3.2.7.
In the base image, there should be no uinput.ko,
while in the test image, there should be uinput.ko.
CQ-DEPEND=Ie96242c4d56403866a2298db2ba3bd6459248c1b

Change-Id: I0ca6599f80b9bb72cdc044fc97cdf990ce550edc
Reviewed-on: https://gerrit.chromium.org/gerrit/19032
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Mandeep Singh Baines <msb@chromium.org>
Tested-by: Joseph Shyh-In Hwang <josephsih@chromium.org>
Commit-Ready: Joseph Shyh-In Hwang <josephsih@chromium.org>
2012-03-27 06:46:50 -07:00
..
ssh_keys Cleanup and merge autotest wrappers. 2010-01-27 12:11:08 -08:00
000recordRootFsSize Fix rootfs size writing 2010-05-07 11:31:52 -07:00
001changeBuildName Modifies image so that devs can tell immediately whether their build is a test build 2010-03-23 13:51:19 -07:00
002changeUpdateChannel Add a new script to change the update channel for test images. 2011-10-10 14:19:27 -07:00
100setupTestingInterface scripts: adjust to change in flimflam.conf 2011-06-01 11:57:57 -07:00
150setupVirtualWiFi crosutils: add new mod_for_test script, to keep flimflam away from 2011-08-29 11:46:09 -07:00
200disableIdleSuspend Moved disable_idle_suspend to rootfs from stateful partition for test images. 2010-09-07 09:34:12 -07:00
300changePassword mod_image_for_test: add --{no,}standard_backdoor option. 2011-06-30 11:38:34 -07:00
350addTestAuthKeys mod_image_for_test: add --{no,}standard_backdoor option. 2011-06-30 11:38:34 -07:00
400modifyUpstart Look at all upstart configuation scripts for the #for_test hack. 2011-11-07 15:55:52 -08:00
700enableAutoxLogin Change mod_for_test_script to make it work with arm os image. 2010-03-15 20:35:59 -07:00
710enableAuthTesting Fix mod_for_test scripts to recognize amd64 as a valid architecture 2011-11-23 16:17:54 -08:00
750enableExternalExtensions Fix path for upcoming Autotest relocation. 2011-01-10 11:50:01 -08:00
900mountHomeExec Revert "This change removes the autotest mount-specific change from the mod_for_test scripts as we no longer need executable /tmp or /home for autotest." 2011-01-12 14:36:51 -08:00
920addUinput Install uinput module in test image only 2012-03-27 06:46:50 -07:00
test_setup.sh Fail 'build_image test' if a mod-for-test script fails. 2011-11-28 14:10:46 -08:00