Details
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
release/tools/oci-image-static.conf | ||
---|---|---|
18–19 | Do we need to use a cross tool for this? I don't recall whether the password database format is portable. |
release/tools/oci-image-static.conf | ||
---|---|---|
18–19 | There is a cross tool for pwd_mkdb but as far as I can tell, it should be fine to use the host's (or chroot's) version. The password database is a simple Berkeley DB file and a glance at the sources (src/lib/libc/db) show that the on-disk format is host-indepenent. I have tested cross building arm64 images with no problems (which doesn't mean much since arm64 is little-endian). I'm not sure the best way to make this script use the cross tool from OBJDIR - possibly some Makefile magic to change PATH? How does this work for 'make distributeworld'? |
Override PATH for make-oci-image.sh so that we get pwd_mkdb from the cross tools rather than the host.
Are there any other concerms for this one - I would like to land it and move onto the shell-based container image build.