From: acevest Date: Mon, 15 May 2023 12:50:23 +0000 (+0800) Subject: 添加从docker中生成iso的脚本 X-Git-Url: http://zhaoyanbai.com/repos/pkcs11-keygen.html?a=commitdiff_plain;h=33da8e0b7c96a904f699c99720cae3b0078f8140;p=kernel.git 添加从docker中生成iso的脚本 --- diff --git a/mkiso.sh b/mkiso.sh new file mode 100755 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