Hi Scott and all,
I have an issue when I did parallel build and need your help
It seems b1/b2/b3 could not mount to tmpfs. Only b0 which not mount to tmpfs can work.
00:09:08 ERROR: Command failed:
00:09:08 # mount -n -t tmpfs -o mode=0755 -o nr_inodes=0 -o size=5g mock_chroot_tmpfs /localdisk/loadbuild/zhipengl/starlingx/std/mock/b1/root
Root cause seems to be nr_inode=0, as I saw dmesg log as below.
However, I could not find where or how I can change this nr_inode.
[22719.688732] tmpfs: Bad value '0' for mount option 'nr_inodes'
[22719.710907] tmpfs: Bad value '0' for mount option 'nr_inodes'
[22726.037303] tmpfs: Bad value '0' for mount option 'nr_inodes'
[22740.384578] tmpfs: Bad value '0' for mount option 'nr_inodes'
[22740.385174] tmpfs: Bad value '0' for mount option 'nr_inodes'
Thanks!
Zhipeng
I had a successful parallel build (aka build-pkgs --parallel) inside the docker container. ~1h45m on 24 core, 64G ram
The prerequisite was a populated $MY_REPO/cgcs-tis-repo/dependancy-cache.
Currently we only generate the cache after the build in the 'generate-cgcs-tis-repo' step.
I'd like to see the cache stored in git and updated regularly by 'official' builds.
Note: The cache doesn't have to be perfect, so a cache that is out of date by a day or a week is still very useful. build-pkgs/mockchain just needs a rough guide on build dependencies and potential dependency loops.
Scott