diff options
author | Aleksander Mistewicz <a.mistewicz@samsung.com> | 2017-03-29 11:22:31 +0200 |
---|---|---|
committer | Pawel Wieczorek <p.wieczorek2@samsung.com> | 2017-04-12 11:55:26 +0200 |
commit | fd5a7a045eb857662da4a2b6bb18966588660fc9 (patch) | |
tree | 5ba98c558c34a985b544c9fd885deb8e896fe403 | |
parent | c234147bdc45121dca439dc490cf5ce66bf9bea1 (diff) | |
download | major-fd5a7a045eb857662da4a2b6bb18966588660fc9.tar.gz major-fd5a7a045eb857662da4a2b6bb18966588660fc9.tar.bz2 major-fd5a7a045eb857662da4a2b6bb18966588660fc9.zip |
Fix set vconf key
Change in buxton required this change in order to work.
Relevant option:
-f, --force Overwrite by force (for compatibility, ignored)
Change-Id: Iae7793fa03b9561a8374f06d9a4e0d1ed011f1a5
-rwxr-xr-x | tct/prepare/prepare.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tct/prepare/prepare.sh b/tct/prepare/prepare.sh index c93d7dd..e4dd728 100755 --- a/tct/prepare/prepare.sh +++ b/tct/prepare/prepare.sh @@ -65,7 +65,7 @@ install_hdmi_force() { set_usb_mode() { IMAGE_MOUNTPOINT="$1" test -n "${IMAGE_MOUNTPOINT}" || die "Missing argument: image_mountpoint!" - sudo sed -i 's|^ExecStart|ExecStartPre=/usr/bin/vconftool set -t int db/usb/sel_mode 4\nExecStart|' \ + sudo sed -i 's|^ExecStart|ExecStartPre=/usr/bin/vconftool set -f -t int db/usb/sel_mode 4\nExecStart|' \ "${IMAGE_MOUNTPOINT}/usr/lib/systemd/system/deviced.service" } |