You are not logged in.

#1 2018-02-15 18:01:49

varun21
Member
Registered: 2018-02-15
Posts: 6

Including AUR packages in Archiso

I've enabled the AUR repo in pacman.conf (the one inside the current archiso working directory).

[archlinuxfr]
SigLevel = Never TrustAll
Server = http://repo.archlinux.fr/$arch

However ./build.sh -v throws: error: target not found: ocs-url

https://aur.archlinux.org/packages/ocs-url/

Is there a way I can test what's happening and why it is failing? So far I've just provisiones M$ operating systems. Have been using linux for an year and Arch for a month. TIA.

Offline

#2 2018-02-15 18:06:55

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: Including AUR packages in Archiso

There is no "AUR repo" as you're trying to use it. The archlinuxfr repo is a binary repo that has some random packages in it, nothing more.

Offline

#3 2018-02-15 18:24:10

varun21
Member
Registered: 2018-02-15
Posts: 6

Re: Including AUR packages in Archiso

Cool. How does AUR work eitherways? If yaourt can install those packages and not Archiso then may be I need some sort of custom script to pull them in and bundle them? Is it possible to put them into a localrepo which is just a proxy to AUR?

Last edited by varun21 (2018-02-15 18:30:53)

Offline

#4 2018-02-15 18:31:28

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,441
Website

Re: Including AUR packages in Archiso

https://wiki.archlinux.org/index.php/Ar … Repository

EDIT: also I must disagree with Scimmia, archlinux.fr is not just a repo with binary packages.  It is, in fact, a repo with mostly broken packages maintained by people who advise users to do things that will result in significant breakage of an arch linux system.  Note these are the same people who write and advertise yaourt.  Yaourt is not nearly as broken as the archlinux.fr repo (though that's not saying much), however neither is it part of the proper way to use the AUR.  If you are new to arch and/or the AUR, you should not use yaourt.  And no one should use archlinux.fr regardless of their level of experience.

varun21 wrote:

Is it possible to put them into a localrepo which is just a proxy to AUR?

Ah, now you are asking the right question.  Absolutely, and this is a very good way to acheive your goals.  Use makepkg to make packages, and set up your own repo.  The wiki has steps on how to do all this directly, but there is also a well maintained set of aur helper tools that will assist with this process (I've not used them myself, but they are written by an active, highly competent, and well respected member of this community):
https://github.com/AladW/aurutils

Last edited by Trilby (2018-02-15 18:36:34)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2018-02-15 18:37:13

varun21
Member
Registered: 2018-02-15
Posts: 6

Re: Including AUR packages in Archiso

Not sure what broke. But in the linux world all things break and all things are resurrected and that happens all the time. The point is to create a custom distro with packages of my choice. I'm still looking for options.

Offline

#6 2018-02-15 18:41:19

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,441
Website

Re: Including AUR packages in Archiso

varun21 wrote:

But in the linux world all things break...

That is a fair point.  But some things break despite best intentions and competance of the people that make them.  Archlinux.fr is broken due to the excess of the opposite of each of these traits.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2018-02-15 19:08:03

varun21
Member
Registered: 2018-02-15
Posts: 6

Re: Including AUR packages in Archiso

So looks like https://aur.archlinux.org/packages/archmaker/ is the one that's simpler to begin with. It builds own local repo and uses it too.

Offline

Board footer

Powered by FluxBB