
If don't use mount, how to get the rootfs directory? If you want download package by wget from there, just read permission is ok. Thanks, Chenglong On Mon, Jan 18, 2021 at 08:27:24PM +0800, Liu Yinsi wrote:
[error] root@taishan200-2280-2s64p-256g--a9 ~/compass-ci/sparrow/1-storage# ./permission chown: changing ownership of '/srv/initrd': Read-only file system
[why] mount -t cifs //$LKP_SERVER/initrd /srv/initrd -o port=446,guest,ro,hard,vers=1.0,noacl,nouser_xattr
because mount permission for /srv/initrd is read-only, cause set permission failed.
[how] for user install compass-ci at their local server, no need to mount directory, they will download rootfs by wget link, so remove it. mount rootfs can move to selftest own tests deploy-cci.
Signed-off-by: Liu Yinsi <liuyinsi@163.com> --- sparrow/1-storage/tiny | 3 --- 1 file changed, 3 deletions(-)
diff --git a/sparrow/1-storage/tiny b/sparrow/1-storage/tiny index eb7270d..e589937 100755 --- a/sparrow/1-storage/tiny +++ b/sparrow/1-storage/tiny @@ -26,6 +26,3 @@ dirs=( )
mkdir -p "${dirs[@]}" - -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 -- 2.23.0