diff options
author | Changqing Li <changqing.li@windriver.com> | 2019-06-24 14:41:09 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-27 12:20:35 +0100 |
commit | 5a1ca9a1eabdac6c42b7c3d2a95c9ce4a97cfc61 (patch) | |
tree | f7dee1488966befadb269e279323be4036bd5fdb /meta | |
parent | db98b1ef483c6e0f4a31c752aed1a2c5b2780ced (diff) | |
download | poky-5a1ca9a1eabdac6c42b7c3d2a95c9ce4a97cfc61.tar.gz |
quilt: run-ptest remove Interactive Input
adduser in busybox and adduser under meta-openembeded have different
behavior, adduser under meta-openembeded need Interactive Input like
below if you manually run ptest.
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
...
remove the "Interactive Input" by add --gecos "" to align the behavior
also it is better for automation without interactive input
(From OE-Core rev: dd1fb3acf58d9a8d5194941976cad37f88ab2fdf)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rwxr-xr-x | meta/recipes-devtools/quilt/quilt/run-ptest | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/quilt/quilt/run-ptest b/meta/recipes-devtools/quilt/quilt/run-ptest index 4b808aee4f..d2de5c855a 100755 --- a/meta/recipes-devtools/quilt/quilt/run-ptest +++ b/meta/recipes-devtools/quilt/quilt/run-ptest | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | THIS_SH=/bin/sh | 3 | THIS_SH=/bin/sh |
4 | ln -sf /bin/ed /usr/bin/ed | 4 | ln -sf /bin/ed /usr/bin/ed |
5 | /usr/sbin/adduser --disabled-password quilttest | 5 | /usr/sbin/adduser --disabled-password --gecos "" quilttest |
6 | su -c "${THIS_SH} ./test.sh" quilttest | 6 | su -c "${THIS_SH} ./test.sh" quilttest |
7 | /usr/sbin/deluser quilttest | 7 | /usr/sbin/deluser quilttest |
8 | rm -f /usr/bin/ed | 8 | rm -f /usr/bin/ed |