initrd/modd.test.conf

11 lines
467 B
Plaintext
Raw Permalink Normal View History

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
2023-12-17 13:28:32 +00:00
prep: cd test-initrd && cat ../dist/initrd | ../dist/cpiocat * |lz4 -l9v >../test-initrd.cpio.new
prep: mv test-initrd.cpio.new test-initrd.cpio
prep: if lz4cat test-initrd.cpio | cpio -t 2>&1 |grep bytes.of.junk; then echo "bad cpio archive"; exit 1; fi
2022-02-04 18:59:42 +00:00
prep: kill $(<qemu.pid)
}