Mercurial > hg > Members > shivanidubey > xv6
changeset 21:3bb5057b7534
fix for singularity
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 07 Jul 2022 16:10:50 +0900 |
parents | b0bc36a1de20 |
children | 10b8e2feb1e9 |
files | docker-setup.md xv6-arm.def |
diffstat | 2 files changed, 29 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/docker-setup.md Thu Jul 07 16:08:21 2022 +0900 +++ b/docker-setup.md Thu Jul 07 16:10:50 2022 +0900 @@ -7,3 +7,10 @@ ## run gdb(up another process) - ``$ docker exec -it xv6 ./debug.sh`` + +## singularity + + singularity build --sandbox --fakeroot xv6-arm.sif xv6-arm.def + + +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xv6-arm.def Thu Jul 07 16:10:50 2022 +0900 @@ -0,0 +1,22 @@ +BootStrap: docker +From: debian:10.10 + +%post + apt update + apt install -y \ + git \ + mercurial \ + vim \ + perl \ + zsh \ + build-essential \ + gdb-multiarch \ + qemu-system-arm \ + gcc-arm-none-eabi \ + clang \ + binutils-aarch64-linux-gnu + cd / + hg clone http://www.cr.ie.u-ryukyu.ac.jp/hg/Members/shivanidubey/xv6 + cd /xv6/src/ + make kernel.elf +