1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 00:59:48 +00:00

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>
This commit is contained in:
Changqing Li
2019-06-24 14:41:09 +08:00
committed by Richard Purdie
parent db98b1ef48
commit 5a1ca9a1ea
+1 -1
View File
@@ -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