hexdump0815 / rack-dockerbuild-v2

docker based build based on the rack v2 sources on armv7l and aarch64 on debian bookworm
6 stars 0 forks source link

Problem when creating modules #2

Open djenzyme opened 1 year ago

djenzyme commented 1 year ago

Never mind, user error... I thought 20gb would be enough for the build but its nowhere near.

hexdump0815 commented 1 year ago

@djenzyme - happy to hear that it works for you :) - i think a 32gb sd card would be the minimum, maybe even more is required ... what hardware are you building on?

djenzyme commented 1 year ago

I'm a complete noob at this, I didn't even know I can build on another machine so I used the Pi 4b. Had to give up in the end as building the modules takes up a huge amount of space, approx 18gb just for the modules beginning with letter A! Obviously the end result will be much smaller, but in the meantime I have no way of completing the build.

I'll try again at some point, maybe I can build it on an external HD or something like that. Thanks for the time you put into this!

hexdump0815 commented 1 year ago

i just checked my build and currently a bit below 30g of disk space seem to be required ... oh and this is on a zstd compressed btrfs volume, so on an uncompressed filesystem like the default ext4 it is most probably quite a bit more, so i guess running all this on a 64gb sd card seems to be the minimum ...

djenzyme commented 1 year ago

Thanks for the info, next time I'll try with a bigger SD card.

jpnielsen commented 1 month ago

I just built, here are my dir sizes:

 du -ks rack-dockerbuild-v2/
34296008        rack-dockerbuild-v2/

du -ks  rack-dockerbuild-v2/*
4       rack-dockerbuild-v2/buildenv.sh
8       rack-dockerbuild-v2/build-modules.sh-proto
4       rack-dockerbuild-v2/build.sh-proto
26515632        rack-dockerbuild-v2/compile
1153908 rack-dockerbuild-v2/dist
8       rack-dockerbuild-v2/docker-bookworm
4       rack-dockerbuild-v2/docker-buildenv.sh
4       rack-dockerbuild-v2/make-dist-modulesonly.sh
4       rack-dockerbuild-v2/make-dist-nomodules.sh
4       rack-dockerbuild-v2/make-dist.sh
188     rack-dockerbuild-v2/patches
28      rack-dockerbuild-v2/prepare-modules.sh
4       rack-dockerbuild-v2/prepare.sh
4       rack-dockerbuild-v2/readme-arm-build-on-intel.txt
4       rack-dockerbuild-v2/readme.md
4       rack-dockerbuild-v2/simde-ify.sh
6625900 rack-dockerbuild-v2/source