2022-02-04 18:59:42 +00:00
|
|
|
modd.test.conf {}
|
|
|
|
|
2023-12-17 12:48:18 +00:00
|
|
|
dist/initrd dist/cpiocat dist/testconf test-initrd/**/* {
|
|
|
|
prep: dist/testconf test-initrd/config.yaml
|
2022-02-04 18:59:42 +00:00
|
|
|
prep: cp -f dist/initrd test-initrd.cpio
|
|
|
|
prep: cd test-initrd && ../dist/cpiocat <../dist/initrd >../test-initrd.cpio *
|
|
|
|
prep: if cpio -t -F test-initrd.cpio 2>&1 |grep bytes.of.junk; then echo "bad cpio archive"; exit 1; fi
|
|
|
|
prep: kill $(<qemu.pid)
|
|
|
|
}
|