Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Artix source code? (Read 1930 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

[SOLVED] Artix source code?

I've looked around and can't find the source code for Artix. If it's public, can someone link me?



Re: [SOLVED] Artix source code?

Reply #3
Thanks! But is there a repo for the distro/OS itself?

Re: [SOLVED] Artix source code?

Reply #4
Sure. The artix-specifc stuff is in the artix team here.

Re: [SOLVED] Artix source code?

Reply #5
Hi team, I'm new to Artix and apologize for my newbie question.

I had a brief look at the linked source code repo: https://gitea.artixlinux.org/artix. I found most of them are scripts (shell, PKG etc).

I know in a shallow way that a linux distro is probably a linux kernel + packages + distro specific tools etc. So I imagined that source code of the iso we used to install the distro would contain those sources? I mean it could be binaries, assembly files or so. But why that linked repo has mostly only scripts, there should be at least some C codes like the linux kernel?

If an Artix developer were to build the distro iso from source (without having the Artix/Arch already installed), which source codes and binaries would he use to do that?

Thank you for your time,
Will

Re: [SOLVED] Artix source code?

Reply #6
Artix, like Arch, doesn't mirror the source code from upstream in its servers. All it has are scripts to fetch (with md5/sha512/whatever digests to ensure some degree of reproducibility) and build it. There are few (if any) distro-specific tools, so you're not likely to find C code here.

The pratical solution to what you're asking is, well, building pacman from source and using it to install a set of packages to a chroot to create a "local" Artix install and go from there as they would on a real install. This would avoid the issues with bootstrapping compilers.

If this Artix dev really wanted to avoid their own distro when building the install ISO for whatever reason, the contents of the PKGBUILD + Linux From Scratch experience would be enough to do so.

Re: [SOLVED] Artix source code?

Reply #7
Thank you, it makes more sense now knowing its fetching and building from an upstream server.


Re: [SOLVED] Artix source code?

Reply #9
Try a quick example pkgbuild to build a small package, using makepkg, it's marvelous how it works  ;D
Code: [Select]
$ git clone https://gitea.artixlinux.org/packagesL/less.git
$ cd less/x86_64/core/
$ makepkg -sr
(failed on some gpg missing key error)
$  gpg --recv-keys F153A7C833235259
$ makepkg -sr
...builds package...
$ ls src/less-590
...see built source dir...
(You can use other flags like makepkg -o to just d/load source, see "$ man makepkg")

Re: [SOLVED] Artix source code?

Reply #10
Guys, is http://gitea.artixlinux.org/ working already? Looks like it fails to open for me. Is it my ISP or the problem with gitea is still here?

Re: [SOLVED] Artix source code?

Reply #11
The problem with gitea was solved over a month ago...

artist


Re: [SOLVED] Artix source code?

Reply #13
UPDATE: I can access it via VPN from France. Wtf...
But I can ping it. Also: NOBODY in my country can access it for some reason. ANY provider doesn't work. What could be the problem?

I mean it doesn't open in my browser at all.