You are not logged in.

#1 2021-11-15 10:57:31

hayao
Member
From: Japanese
Registered: 2020-04-30
Posts: 32
Website

Custom repository for ArchLinux32

I want to build my own repository for Arch Linux 32. How does Arch Linux32 automate the construction and deployment of repositories? Is it possible to complete it with Archweb alone?
I tried to automate with third-pirty build tool for the original Arch Linux, but Arch Linux 32 does not have a command like extra-x86_64-build.

Offline

#2 2021-11-15 12:11:32

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,032
Website

Re: Custom repository for ArchLinux32

If you mean the build tools for Archlinux32, there is an adapted package at https://git.archlinux32.org/devtools32/.
Just build and install them (make, make install).

Adapt the PACKAGER in /etc/makepkg.conf on the host.
You also have to create a PGP signing key and put it into /etc/makepkg.conf (GPGKEY) on the host.

Then you would use the devtools to build packages like so:

asp export core/which (or yay -G xxd-standalone)
cd which (or xxd-standalone)
staging-pentium4-build

Deployment is merely creating a diretctory on a webserver and putting the pkg.tar.zst and the pkg.tar.zst.sig there.
That should be it.

Offline

#3 2021-11-16 06:07:38

deep42thought
Administrator
From: Jena, Germany
Registered: 2017-06-17
Posts: 617

Re: Custom repository for ArchLinux32

to save you the trouble of building the devtools on your own:
We also have a devtools32 package on the mirror in the releng repository (for x86_64 architecture). Additionally, there is the archlinux32 keyring in this repository - which you will also need to bootstrap the build chroots.

Offline

#4 2021-11-17 14:13:52

hayao
Member
From: Japanese
Registered: 2020-04-30
Posts: 32
Website

Re: Custom repository for ArchLinux32

I have found devtools32 but it doesnot have the command like extra-x86_64-build.
And I want to know how to host archlinux32 repos.
I have already known the way to build packages and the way to host repos manually (Use makepkg and repo-add).
However, I cant find how to host repos with git or svn and deploy it automatically after compiling in chroot environment.I'd like to do it with fully automatic.
I seemed that archlinux32 is doing that.

Offline

#5 2021-11-17 14:18:29

hayao
Member
From: Japanese
Registered: 2020-04-30
Posts: 32
Website

Re: Custom repository for ArchLinux32

I found the forum article about Arch Linux 32 Slave.
After trying it , I will post something new.

Offline

#6 2021-11-17 18:34:52

deep42thought
Administrator
From: Jena, Germany
Registered: 2017-06-17
Posts: 617

Re: Custom repository for ArchLinux32

doing it fully automatically is a whole different story. Also it strongly depends on whether you want to host a whole distribution (e.g. build your own toolchain) or whether you "only" want to host a couple (hundred) packages, that can be compiled by the normal toolchain: for the former, take a peek at our build master/slave things, for the latter, just host some git and build packages via cronjob or even via git hooks.

Offline

#7 2021-11-20 05:36:46

hayao
Member
From: Japanese
Registered: 2020-04-30
Posts: 32
Website

Re: Custom repository for ArchLinux32

I want to host some my original packages.

Offline

Board footer

Powered by FluxBB