Conversation
| arch = stage0_arch_map.get(args.arch, args.arch) | ||
| init = os.path.join(os.sep, 'bootstrap-seeds', 'POSIX', arch, 'kaem-optional-seed') | ||
| target_rel = os.path.relpath(generator.target_dir, os.getcwd()) | ||
| run('env', '-i', 'DOCKER_BUILDKIT=1', |
There was a problem hiding this comment.
Why do we hardcode DOCKER_BUILDKIT=1 here? Won't this cause needless failures on systems without BuildKit installed (e.g. systems with older Docker versions)?
There was a problem hiding this comment.
It was a part of #413. If you don't want it, remove it.
There was a problem hiding this comment.
Are you willing to guide this PR to a mergeable state? This needs addressing from my perspective to be merged.
If you aren't willing to guide this PR to be merged, that's fine - no one owes anyone anything in open source - but I won't keep this PR open indefinitely in that case.
fosslinux
left a comment
There was a problem hiding this comment.
Thanks for the work! Looks good overall, just a few improvements needed.
| ARG GID | ||
| ARG HOME | ||
| ENV PATH=/bin:/usr/sbin:/usr/bin | ||
| RUN set -eu; \ |
There was a problem hiding this comment.
Do you know what the purpose of all this is?
| ENV SOURCE_DATE_EPOCH=1 | ||
| ENV KCONFIG_NOTIMESTAMP=1 |
There was a problem hiding this comment.
It would probably be better for these to be 0 in line with what we use everywhere else.
(I'm not so convinced we should have KCONFIG_NOTIMESTAMP anyways)
| 'docker', 'build', | ||
| '--build-arg=ARCH='+ arch, | ||
| '--build-arg=TARGET=' + target_rel, | ||
| '--build-arg=SOURCE_DATE_EPOCH=1', |
There was a problem hiding this comment.
Similar to above, let's make this 0.
| arch = stage0_arch_map.get(args.arch, args.arch) | ||
| init = os.path.join(os.sep, 'bootstrap-seeds', 'POSIX', arch, 'kaem-optional-seed') | ||
| target_rel = os.path.relpath(generator.target_dir, os.getcwd()) | ||
| run('env', '-i', 'DOCKER_BUILDKIT=1', |
There was a problem hiding this comment.
Are you willing to guide this PR to a mergeable state? This needs addressing from my perspective to be merged.
If you aren't willing to guide this PR to be merged, that's fine - no one owes anyone anything in open source - but I won't keep this PR open indefinitely in that case.
A continuation of PR #413.
Can be run with:
./rootfs.py --docker