代码拉取完成,页面将自动刷新
31
bug fix: cat /proc/mounts, workdir, update kernel conflict, download openEuler-release.rpm fail
已合并
-
trap 'UMOUNT_ALL' EXIT
前定义变量rootfs_dir
,否则过早退出造成grep -q xxx /proc/mounts
失败,造成服务器系统异常。 -
workdir
为./
、/home
、/
等形式时,rootfs_dir
、root_mnt
和boot_mnt
路径不规范,造成UMOUNT_ALL
以及LOSETUP_D_IMG
卸载以挂载的路径失败。 -
device
未定义就调用LOSETUP_D_IMG
在 openEuler obs 服务器报错:error: /home/step/make_raspi_image.sh: line 41: device: unbound variable
。 - 内核源码更新后(commit id 发生变化),拉去最新更新冲突,解决方式:强制更新。
- 下载最新的 openEuler-release 包失败,提示
Interrupted by header callback: Server reports Content-Length: xxx but expected size is: yyy
,解决方式:下载前:dnf clean all
。