From: Changqing Li Date: Mon, 24 Jun 2019 06:41:09 +0000 (+0800) Subject: quilt: run-ptest remove Interactive Input X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a1ca9a1eabdac6c42b7c3d2a95c9ce4a97cfc61;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/quilt/quilt/run-ptest b/meta/recipes-devtools/quilt/quilt/run-ptest index 4b808aee4fa..d2de5c855a3 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