]> Zhao Yanbai Git Server - kernel.git/commitdiff
添加从docker中生成iso的脚本
authoracevest <zhaoyanbai@126.com>
Mon, 15 May 2023 12:50:23 +0000 (20:50 +0800)
committeracevest <zhaoyanbai@126.com>
Mon, 15 May 2023 12:50:23 +0000 (20:50 +0800)
mkiso.sh [new file with mode: 0755]

diff --git a/mkiso.sh b/mkiso.sh
new file mode 100755 (executable)
index 0000000..5795da3
--- /dev/null
+++ b/mkiso.sh
@@ -0,0 +1,11 @@
+CONTAINER_ID=78a
+docker exec -it $CONTAINER_ID /bin/bash -c "cd /root/workspace/kernel && ./scripts/mkiso.sh"
+
+
+MD5=md5sum
+
+if [[ `uname` == 'Darwin' ]]; then
+    MD5=md5
+fi
+
+$MD5 kernel.iso