Instead of an ad-hoc list of directories to make install.
Details
Details
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
tools/boot/ci-qemu-test.sh | ||
---|---|---|
37–45 | should probably get objtop from make -V OBJTOP as with srctop, below |
Comment Actions
Need to get pkg to use uncompressed files still, with this change Cirrus-CI failed with:
sh tools/boot/ci-qemu-test.sh pkg: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended Updating local repository catalogue... pkg: file:///usr/obj/tmp/cirrus-ci-build/repo/FreeBSD:13:amd64/latest/meta.txz: No such file or directory repository local has no meta file, using default settings pkg: file:///usr/obj/tmp/cirrus-ci-build/repo/FreeBSD:13:amd64/latest/packagesite.txz: No such file or directory Unable to update repository local Error updating repositories!
Comment Actions
Not familiar with this script but the code looks ok to me.
To test better that we don't break pkg dependencies maybe omit FreeBSD-clibs as it should be installed as FreeBSD-runtime depends on it.
This would test that installing kernel+bootloader+runtime result in a bootable install in single user.
Comment Actions
I held off from committing this originally because pkg did not yet properly support .tar packages. This works now and I plan to commit soon.
tools/boot/ci-qemu-test.sh | ||
---|---|---|
10 | Yes, this comment needs updating. (The preconditions for this script are implicitly specified in .cirrus.yml.) |