diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-09-05 21:59:15 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-09-05 21:59:15 +0200 |
commit | 3e337374f35eaf153f8ced25cc466d896a8a0a4d (patch) | |
tree | 6778dbcc9125156258203b01e27a4ff56d195a58 /target/x86_64/qemu-x86_64 | |
parent | 857e9176a37ec642e007ea33c142ee3fb87bbf85 (diff) |
add some basic genimage support
Diffstat (limited to 'target/x86_64/qemu-x86_64')
-rw-r--r-- | target/x86_64/qemu-x86_64/genimage.cfg | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/target/x86_64/qemu-x86_64/genimage.cfg b/target/x86_64/qemu-x86_64/genimage.cfg new file mode 100644 index 000000000..a958d560d --- /dev/null +++ b/target/x86_64/qemu-x86_64/genimage.cfg @@ -0,0 +1,25 @@ +image disk.img { + + hdimage { + } + + partition boot { + in-partition-table = "no" + image = "boot.img" + offset = 0 + size = 512 + } + + partition grub { + in-partition-table = "no" + image = "grub.img" + offset = 512 + } + + partition root { + partition-type = 0x83 + image = "rootfs.ext2" + } + +} + |