prepare boot v2

This commit is contained in:
Mikaël Cluseau
2022-02-04 19:59:42 +01:00
parent a794bb3887
commit 8e86579004
18 changed files with 383 additions and 158 deletions

8
modd.test.conf Normal file
View File

@ -0,0 +1,8 @@
modd.test.conf {}
dist/initrd test-initrd/* {
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)
}