[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#36477] [PATCH v3 45/48] system: vm: Add arm64 support.
From: |
Ludovic Courtès |
Subject: |
[bug#36477] [PATCH v3 45/48] system: vm: Add arm64 support. |
Date: |
Wed, 04 Sep 2019 14:36:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Mathieu Othacehe <address@hidden> skribis:
> * gnu/build/vm.scm (load-in-linux-vm): Add target-arm64? argument and use it
> to pass correct arguments to qemu.
> * gnu/system/vm.scm (expression->derivation-in-linux-vm): Pass the new
> target-arm64? argument added above. Do not add ESP partition on all ARM
> targets. Do not pass grub-efi package to initialize-hard-disk on ARM targets.
[...]
> --- a/gnu/build/vm.scm
> +++ b/gnu/build/vm.scm
> @@ -82,6 +82,7 @@
> make-disk-image?
> single-file-output?
> target-arm32?
> + target-arm64?
Maybe we should just have a #:target parameter instead, WDYT?
[...]
> + (grub-efi #$@(if (target-arm?)
> + '(#f)
> + #~(#$grub-efi))))
Simply: #$(and (not (target-arm?)) grub-efi).
Otherwise LGTM.
Ludo’.
- [bug#36477] [PATCH v3 43/48] utils: Use target-arm64? and target-arm? helpers., (continued)
- [bug#36477] [PATCH v3 27/48] gnu: guile-gcrypt: Fix cross-compilation., Mathieu Othacehe, 2019/09/02
- [bug#36477] [PATCH v3 39/48] linux-initrd: Use native gzip., Mathieu Othacehe, 2019/09/02
- [bug#36477] [PATCH v3 41/48] gexp: Use cross extensions when cross-compiling., Mathieu Othacehe, 2019/09/02
- [bug#36477] [PATCH v3 45/48] system: vm: Add arm64 support., Mathieu Othacehe, 2019/09/02
- [bug#36477] [PATCH v3 45/48] system: vm: Add arm64 support.,
Ludovic Courtès <=
- [bug#36477] [PATCH v3 48/48] wip: tools., Mathieu Othacehe, 2019/09/02
- [bug#36477] [PATCH v3 47/48] scripts: system: Add --target option., Mathieu Othacehe, 2019/09/02