diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2018-12-28 00:58:58 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-03 12:35:53 +0000 |
commit | c5ffdcbe371014bde25f0ab3955d502fa854c1dc (patch) | |
tree | abc2a7cb8d876f8d526472435dd8248b24375265 /scripts/contrib | |
parent | 154432841fc576da33606b75cc2790a6e9ab9d0a (diff) | |
download | poky-c5ffdcbe371014bde25f0ab3955d502fa854c1dc.tar.gz |
runqemu-gen-tapdevs: Allow run --help without sudo
Then we can get user's UID and GID rather than hardcode to 1000, e.g.:
- Without sudo
$ runqemu-gen-tapdevs --help
[snip]
$ sudo ../poky/scripts/runqemu-gen-tapdevs 15220 100 4 tmp/sysroots-components/x86_64/qemu-helper-native/usr/bin
[snip]
- With sudo
$ sudo ../poky/scripts/runqemu-gen-tapdevs --help
[snip]
$ sudo ../poky/scripts/runqemu-gen-tapdevs 15220 100 4 tmp/sysroots-components/x86_64/qemu-helper-native/usr/bin
[snip]
(From OE-Core rev: 446e7da7e56f9de3602498b5ef40e9e0f8f71837)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib')
0 files changed, 0 insertions, 0 deletions