our unstable versions of osc and build script have some new options
where I would like to gather some more experiences.
1) osc shell [--vm-type=VM] [REPOSITORY ARCH]
creates or jumps into the build environment. This works independend
of the used VM mode, so using it with image based VMs like KVM
should become WAY more handy now.
The old "osc chroot" is obsoleted by this, but basically doing the
same as "osc shell" for chroot.
2) Building for foreign architectures using qemu system emulator.
osc is offering now to use any hardware architecture. (Thanks a lot Guillaume
for the initial implementation of that code!). For example
osc build --vm-type=qemu openSUSE_Factory_ARM aarch64
will build for aarch64 on your x86_64 workstation for example.
But it should work for any architecture.
The downside (compared to our former qemu user land emulation)
is that it works way slower due to emulation overhead and it
works currently only in projects where a kernel-obs-build is defined.
But it should allow everybody to build at least for openSUSE
and SUSE SLE armv7l, aarch64, ppc*, s390*, riscv64 and so on
3) osc wipe
for easy cleanup of your build environment.
I am still improving documentation and will blog about it after
we released official updates. For now you need to use
packages from OBS:Server:Unstable project to test it. But I would definitive
love to have some feedback!
PS: someone broke the CI version in devel:tools:scm project, so you need to
switch to OBS:Server:Unstable in case you are used to get it from there.
Adrian Schroeter <adrian(a)suse.de>
Build Infrastructure Project Manager
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
(HRB 247165, AG München), Geschäftsführer: Felix Imendörffer
To unsubscribe, e-mail: opensuse-arm+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-arm+owner(a)opensuse.org