You are not logged in.

#1 2025-11-01 17:01:50

lenhuppe
Member
From: New Hampshire USA
Registered: 2018-12-10
Posts: 302
Website

SOLVED Archiso 87-1 missing file

Tried building an ISO with archiso 87-1 and found that the reflector.service file was missing from the multi-user.target.wants directory.

What led me to this was a ZSH script error when creating the reflector config file. The following code has been working for months:

# reflector config
echo "\
--country US,CA
--protocol https
--latest 18
--sort age
--save /etc/pacman.d/mirrorlist\
" > ${build}/airootfs/etc/xdg/reflector/reflector.conf

The error is as follows:

/archive/archsetup/rescue_iso.zsh:255: no such file or directory: /tmp/archsetup/airootfs/etc/xdg/reflector/reflector.conf

I can get around the error by creating the target directory first, but I still need the reflector service to make use of it.

Tried looking at the changes to 87-1 and I see nothing that can explain this. I am not a developer, and I may be looking in the wrong place.

Has there been a design change?

Last edited by lenhuppe (2025-11-01 17:36:42)

Offline

#2 2025-11-01 17:15:01

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 709

Re: SOLVED Archiso 87-1 missing file

As stated in the changelog, reflector.service is no longer enabled by default, hence the custom reflector.conf and the directory it was in was removed. See https://gitlab.archlinux.org/archlinux/ … 55de863180 for the commit where it was changed.

Creating the directory is the correct action if you want to place a file there.

Offline

#3 2025-11-01 17:36:23

lenhuppe
Member
From: New Hampshire USA
Registered: 2018-12-10
Posts: 302
Website

Re: SOLVED Archiso 87-1 missing file

nl6720 wrote:

As stated in the changelog, reflector.service is no longer enabled by default, hence the custom reflector.conf and the directory it was in was removed. See https://gitlab.archlinux.org/archlinux/ … 55de863180 for the commit where it was changed.

Creating the directory is the correct action if you want to place a file there.

That did it.

I hope this helps others to know where to look for the changelogs.

Offline

Board footer

Powered by FluxBB