Hi,
to add a new architecture (like in the architecture is not yet there)
you first have to create a set of packages that can be used to
bootstrap the new distribution.
Then, you need at least one worker, and a scheduler for that
architecture.
Depending on what you already have, most work has to be done in
providing the bootstrap packages, and maybe a worker that can be used.
After you got that, you want to update the main configuration file of
the backend and add your architecture to the schedulers.
Next, create a project possibly with a linked build to the real obs and
your new architecture (I typically used openSUSE:Factory).
Then you have to place all prebuilt packages to :full in the project
directory (below /srv/obs/build) and run obs_admin --rebuild-full-tree
on that project. If everything has been done right, the scheduler will
start to rebuild the linked distribution for your architecture.
For updating the configuration file and more hints, see
https://openbuildservice.org/files/manuals/obs-admin-guide.pdf
There is no code modification necessary for OBS, just some
configurations must be done.
Am Sat, 08 Jan 2022 03:58:45 -0000
schrieb "senlin xia"
Hi all,
I want to add a new architecture to local obs,but cannot figure out how to do this. After I communicated with an openSUSE employee, his reply was "there is no guidance document, you need to modify the code yourself".