From 33da8e0b7c96a904f699c99720cae3b0078f8140 Mon Sep 17 00:00:00 2001 From: acevest Date: Mon, 15 May 2023 20:50:23 +0800 Subject: [PATCH] =?utf8?q?=E6=B7=BB=E5=8A=A0=E4=BB=8Edocker=E4=B8=AD?= =?utf8?q?=E7=94=9F=E6=88=90iso=E7=9A=84=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- mkiso.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 mkiso.sh 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 -- 2.44.0