You are not logged in.

#1 2018-11-03 14:45:47

mipi
Member
From: Germany
Registered: 2018-01-03
Posts: 44

How can I install AUR packages during system installation?

Hi,
I would like to automate the installation of Arch via meta packages. Therefore, I defined a meta package that contains all packages that I want to have in my installation as dependencies. During the system installation I call pacstrap for this meta package. This works quite will unless there are no dependencies to AUR packages. If that's the case pacstrap throws an error message like "could not resolve dependencies" . My question: How can I install AUR packages during the initail system installation.
Thanks, mipi

Offline

#2 2018-11-03 15:56:35

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

Re: How can I install AUR packages during system installation?

The same way you would on a normal system: git clone, then makepkg.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2018-11-03 16:09:24

mipi
Member
From: Germany
Registered: 2018-01-03
Posts: 44

Re: How can I install AUR packages during system installation?

Thanks.

Is there any possibility to do this in a more convenient way? Would be great if AUR dependencies of meta packages could be installed automatically by pacstrap.

Offline

#4 2018-11-03 16:15:37

mpan
Member
Registered: 2012-08-01
Posts: 1,332
Website

Re: How can I install AUR packages during system installation?

Build them yourself, host on your platform of choice, use that platform as a source for all packages. After installation update everything, AUR packages included.


Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#5 2018-11-03 18:45:40

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

Re: How can I install AUR packages during system installation?

To elaborate on the above, set up your own repo and add it to pacman.conf, then pacstrap can install those dependencies.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2018-11-04 08:23:07

mipi
Member
From: Germany
Registered: 2018-01-03
Posts: 44

Re: How can I install AUR packages during system installation?

@Trilby, mpan: Just did what you proposed. Works well. Thanks.

Offline

Board footer

Powered by FluxBB