]> Zhao Yanbai Git Server - minix.git/commit
x86 hd image creator 32/832/5
authorBen Gras <ben@minix3.org>
Tue, 24 Sep 2013 13:15:55 +0000 (15:15 +0200)
committerGerrit Code Review <gerrit@gerrit>
Wed, 25 Sep 2013 17:30:22 +0000 (19:30 +0200)
commita9db0ea1844000e2d27fca2684bad61f2ab7a515
tree22af8876e2f3d7ddd05960aea0066ce0ef9f85f3
parent9dfbfc9af73ca6903974b9f687c25c3a6a0d445d
x86 hd image creator

A script that creates a HD image ready to be booted by an x86
emulator, ready to work in a crossbuild environment.

It's really just for qemu/kvm as there's no boot code in
the MBR and no bootloader installed so we rely on the in-kvm
multiboot implementation for now. This is very convenient for
passing args too.

To minimize reliance on external tools, we use the Minix
'partition' utility to write the partition table of the HD
image, which therefore has to be compiled natively.

. new script releasetools/x86_hdimage.sh
. natively compile minix 'partition' utility
. make <machine/partition.h> 64-bit safe for it

Change-Id: If645b4691536752271e0b8a8ed59a34f248dace4
commands/Makefile.inc
commands/partition/Makefile
commands/partition/partition.c
include/arch/earm/include/partition.h
include/arch/i386/include/partition.h
releasetools/x86_hdimage.sh [new file with mode: 0755]
tools/Makefile
tools/partition/Makefile [new file with mode: 0644]