summaryrefslogtreecommitdiffstats
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 11:14:02 +0100
commitdd1fb3acf58d9a8d5194941976cad37f88ab2fdf (patch)
treee31470fb9ebf99c98e24b4ea6dbf558291814e81
parent27eb839ee651c2d584db42d23bcf5dd764eb33f1 (diff)
downloadopenembedded-core-contrib-dd1fb3acf58d9a8d5194941976cad37f88ab2fdf.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 Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 @@
THIS_SH=/bin/sh
ln -sf /bin/ed /usr/bin/ed
-/usr/sbin/adduser --disabled-password quilttest
+/usr/sbin/adduser --disabled-password --gecos "" quilttest
su -c "${THIS_SH} ./test.sh" quilttest
/usr/sbin/deluser quilttest
rm -f /usr/bin/ed