Discussion:
[PATCH] rpm/kernel-obs-build.spec.in: add support for aarch64
(too old to reply)
Andreas Schwab
2014-06-30 07:56:55 UTC
Permalink
Raw Message
Use Image for kernel_name on aarch64 and add virtio_mmio to KERNEL_MODULES.
---
rpm/kernel-obs-build.spec.in | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/rpm/kernel-obs-build.spec.in b/rpm/kernel-obs-build.spec.in
index 9448e50..49a1d62 100644
--- a/rpm/kernel-obs-build.spec.in
+++ b/rpm/kernel-obs-build.spec.in
@@ -93,7 +93,7 @@ chmod a+rx /usr/lib/dracut/modules.d/80obs/setup_obs.sh

# a longer list to have them also available for qemu cross builds where x86_64 kernel runs in eg. arm env.
# this list of modules where available on build workers of build.opensuse.org, so we stay compatible.
-export KERNEL_MODULES="loop dm-mod dm-snapshot binfmt-misc fuse kqemu squashfs ext2 ext3 ext4 reiserfs nf_conntrack_ipv6 binfmt_misc virtio_pci virtio_blk fat vfat nls_cp437 nls_iso8859-1 ibmvscsi ibmvscsic"
+export KERNEL_MODULES="loop dm-mod dm-snapshot binfmt-misc fuse kqemu squashfs ext2 ext3 ext4 reiserfs nf_conntrack_ipv6 binfmt_misc virtio_pci virtio_mmio virtio_blk fat vfat nls_cp437 nls_iso8859-1 ibmvscsi ibmvscsic"
ROOT=""
[ -e "/dev/vda" ] && ROOT="-d /dev/vda"
[ -e /dev/hda1 ] && ROOT="-d /dev/hda1" # for xen builds
@@ -101,6 +101,9 @@ ROOT=""
%ifarch s390 s390x
%define kernel_name image
%endif
+%ifarch aarch64
+%define kernel_name Image
+%endif

%if 0%{?suse_version} < 1320
# For SLE 11
--
2.0.1
--
Andreas Schwab, SUSE Labs, schwab-***@public.gmane.org
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
Michal Marek
2014-06-30 14:40:10 UTC
Permalink
Raw Message
Post by Andreas Schwab
Use Image for kernel_name on aarch64 and add virtio_mmio to KERNEL_MODULES.
---
rpm/kernel-obs-build.spec.in | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Applied, thanks.

Michal

Loading...