summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/quilt
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2019-06-24 14:41:09 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-27 12:20:35 +0100
commit5a1ca9a1eabdac6c42b7c3d2a95c9ce4a97cfc61 (patch)
treef7dee1488966befadb269e279323be4036bd5fdb /meta/recipes-devtools/quilt
parentdb98b1ef483c6e0f4a31c752aed1a2c5b2780ced (diff)
downloadpoky-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/recipes-devtools/quilt')
-rwxr-xr-xmeta/recipes-devtools/quilt/quilt/run-ptest2
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
3THIS_SH=/bin/sh 3THIS_SH=/bin/sh
4ln -sf /bin/ed /usr/bin/ed 4ln -sf /bin/ed /usr/bin/ed
5/usr/sbin/adduser --disabled-password quilttest 5/usr/sbin/adduser --disabled-password --gecos "" quilttest
6su -c "${THIS_SH} ./test.sh" quilttest 6su -c "${THIS_SH} ./test.sh" quilttest
7/usr/sbin/deluser quilttest 7/usr/sbin/deluser quilttest
8rm -f /usr/bin/ed 8rm -f /usr/bin/ed