0
submitted 1 year ago* (last edited 1 year ago) by promitheas@iusearchlinux.fyi to c/archlinux@lemmy.ml

Hey everyone. So I need to make a custom iso because I don't have access to the router from my apartment and my wifi antenna uses the rtl8192eu driver, which is not included by default. Hence, I decided a custom iso was the way to go. I don't want however to bloat it up, and since I'm making it on my laptop which is running Endeavour OS I can't trust the packages.x86_64 file in the releng directory to be the default plain arch install package list (following the archiso instructions on the wiki).

So what I am actually asking for: Before building my iso, what are the packages that the actual maintainers of Arch Linux would put in the packages.x86_64 file, which we would have access to from the live environment, that I should also include (plus the 5 packages I want to make sure I have, which is the custom part of this iso)?

How I understand it reading the install guide as well as a couple forum posts, the only truly necessary packages for an arch installation are base, linux, and linux-firmware. Correct me if I'm wrong please. After installing archiso on my endeavour os laptop I had around 130 packages in my packages.x86_64 file. Many seemed unnecessary.

Thanks in advance!

Edit: Some screenshots which will hopefully help

top 4 comments
sorted by: hot top controversial new old
[-] mectx02@lemmy.world 1 points 1 year ago

If you look up the package on the ArchWiki repository, there’s a Gitlab page where you can find the file that is used to make the releng ISO: relevant packages.x86_64 file. There’s a similar file in that repository for the minimum number of packages for install if you want to trim down your number of installed packages.

What you can then do is set up a local repository for the setup pacman.conf (the one in your working project directory) and include your driver as a precompiled pacman package. This page on the ArchWiki shows how to set that up, but if you want the gist of it,

  • Navigate to a folder where you want the local repository
  • Execute repo-add [repository name] [list of packages to add, separated by space]
  • Add local repository to setup pacman.conf

You can do something similar such that the drivers will be installable from the iso itself - just place your repository somewhere inside the airootfs/etc/ directory and modify etc/pacman.conf.

[-] promitheas@iusearchlinux.fyi 1 points 1 year ago

There’s a similar file in that repository for the minimum number of packages

I only see the packages.x86_64 file in the releng directory (the link you provided). Is the minimal file you're talking about in there or is it in another directory under the configs one?

Thanks!

[-] mectx02@lemmy.world 2 points 1 year ago

The baseline (minimal iso packages list) is under another directory in configs, but it’s in the same repository.

Relevant link for easier finding.

[-] promitheas@iusearchlinux.fyi 1 points 1 year ago

Thanks, thats perfect

this post was submitted on 02 Jul 2023
0 points (NaN% liked)

Arch Linux

7175 readers
2 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS