镜像git地址: https://github.com/OERV-RVCI/guix-kernel-cross-build
操作方法:

编译镜像时跑下 /entry-point.sh guix time-machine --substitute-urls=https://mirror.sjtu.edu.cn/guix -C /channels-lock.scm -- shell -D linux-libre --search-paths 就行了

entry-point.sh 跑 guix-daemon 需要 --disable-chroot
但是这个方法应该绕过了问题, guix工具应该支持缓存,想把缓存放到镜像中,每次启动guix进行内核构建不用每次构建一次guix工具.
镜像git地址: https://github.com/OERV-RVCI/guix-kernel-cross-build
操作方法:
但是这个方法应该绕过了问题, guix工具应该支持缓存,想把缓存放到镜像中,每次启动guix进行内核构建不用每次构建一次guix工具.