Files
initrd/modd.test.conf
Mikaël Cluseau eabfabf34a introduce rust
2025-06-24 23:24:10 +02:00

10 lines
405 B
Plaintext

modd.test.conf {}
dist/initrd dist/cpiocat test-initrd/**/* {
prep: cp -f dist/initrd test-initrd.cpio
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
prep: kill $(<qemu.pid)
}