[why] run qemu test needs os rootfs, so mount /srv/os and /srv/initrd.
Signed-off-by: Liu Yinsi liuyinsi@163.com --- tests/deploy-cci | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/tests/deploy-cci b/tests/deploy-cci index 8e6acbac4..5e1f5c621 100755 --- a/tests/deploy-cci +++ b/tests/deploy-cci @@ -35,5 +35,13 @@ deploy() ./install-tiny }
+mount_rootfs() +{ + mkdir -p /srv/os /srv/initrd + mount -t cifs //$LKP_SERVER/os /srv/os -o guest,ro,hard,vers=1.0,noacl,nouser_xattr + mount -t cifs //$LKP_SERVER/initrd /srv/initrd -o port=446,guest,ro,hard,vers=1.0,noacl,nouser_xattr +} + export_env deploy +mount_rootfs
On Mon, Jan 18, 2021 at 08:35:36PM +0800, Liu Yinsi wrote:
[why] run qemu test needs os rootfs, so mount /srv/os and /srv/initrd.
Signed-off-by: Liu Yinsi liuyinsi@163.com
tests/deploy-cci | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/tests/deploy-cci b/tests/deploy-cci index 8e6acbac4..5e1f5c621 100755 --- a/tests/deploy-cci +++ b/tests/deploy-cci @@ -35,5 +35,13 @@ deploy() ./install-tiny }
+mount_rootfs() +{
- mkdir -p /srv/os /srv/initrd
it's better use: mkdir -p /srv/{os,initrd}
Thanks, Dewan
- mount -t cifs //$LKP_SERVER/os /srv/os -o guest,ro,hard,vers=1.0,noacl,nouser_xattr
- mount -t cifs //$LKP_SERVER/initrd /srv/initrd -o port=446,guest,ro,hard,vers=1.0,noacl,nouser_xattr
+}
export_env deploy
+mount_rootfs
2.23.0
On Tue, Jan 19, 2021 at 09:30:44AM +0800, Zhang Dewan wrote:
On Mon, Jan 18, 2021 at 08:35:36PM +0800, Liu Yinsi wrote:
+{
- mkdir -p /srv/os /srv/initrd
it's better use: mkdir -p /srv/{os,initrd}
ok
Thanks, Yinsi
Thanks, Dewan
- mount -t cifs //$LKP_SERVER/os /srv/os -o guest,ro,hard,vers=1.0,noacl,nouser_xattr
- mount -t cifs //$LKP_SERVER/initrd /srv/initrd -o port=446,guest,ro,hard,vers=1.0,noacl,nouser_xattr
+}
export_env deploy
+mount_rootfs
2.23.0