Mailinglist Archive: opensuse-buildservice (80 mails)

< Previous Next >
[opensuse-buildservice] New "osc build" features
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Fri, 29 Nov 2019 14:25:16 +0100
  • Message-id: <2299026.VS5zeYGYPR@linux-ywca>
Hi,

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
architectures.

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

osc
build

packages from OBS:Server:Unstable project to test it. But I would definitive
love to have some feedback!

thanks
adrian

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@xxxxxxx>
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-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups