diff options
-rwxr-xr-x | bin/debvm-create | 12 | ||||
-rwxr-xr-x | bin/debvm-run | 10 |
2 files changed, 22 insertions, 0 deletions
diff --git a/bin/debvm-create b/bin/debvm-create index 95305a9..2e838f2 100755 --- a/bin/debvm-create +++ b/bin/debvm-create @@ -101,6 +101,12 @@ Any positional arguments passed here will be treated as mirror specifications by =back +=head1 EXAMPLES + +In order to create images for Debian ports architectures, you can pass two options to mmdebstrap: + + debvm-create ... -- http://deb.debian.org/debian-ports --keyring=/usr/share/keyrings/debian-ports-archive-keyring.gpg + =head1 SEE ALSO debvm-run(1) mmdebstrap(1) @@ -216,6 +222,9 @@ case "$ARCHITECTURE" in armhf) KERNEL_ARCH=armmp ;; + hppa) + KERNEL_ARCH=parisc + ;; i386) KERNEL_ARCH=686-pae ;; @@ -225,6 +234,9 @@ case "$ARCHITECTURE" in mipsel) KERNEL_ARCH=4kc-malta ;; + ppc64) + KERNEL_ARCH=powerpc64 + ;; ppc64el) KERNEL_ARCH=powerpc64le ;; diff --git a/bin/debvm-run b/bin/debvm-run index e36ea60..3c3e528 100755 --- a/bin/debvm-run +++ b/bin/debvm-run @@ -241,9 +241,16 @@ else QEMU=qemu-system-arm set -- -machine virt -cpu max "$@" ;; + powerpc) + QEMU=qemu-system-ppc + MAX_SMP=1 + ;; ppc64el) QEMU=qemu-system-ppc64 ;; + m68k) + MAX_SMP=1 + ;; mips64el) MAX_SMP=1 set -- -cpu 5KEc "$@" @@ -254,6 +261,9 @@ else riscv64) set -- -machine virt "$@" ;; + sparc64) + MAX_SMP=1 + ;; esac fi if test -z "$MAX_SMP" || test "$MAX_SMP" -gt 1; then |