mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-04 20:11:04 +02:00
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 test image. 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. Change-Id: I02b557466a56e11c5dcc1649a9275d0c2a896f09 Reviewed-on: https://gerrit.chromium.org/gerrit/17209 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>