mirror of
https://gitlab.archlinux.org/archlinux/archlinux-docker.git
synced 2025-08-06 14:17:18 +02:00
Use the in-tree mirrorlist
Currently we use the system mirrorlist for the pacman invocation. The system config may or may not be identical to the in-tree one - as one of my dev machines was kind enough to remind me. The tooling should be self-contained and leak as few builder specific as possible. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
parent
9c32b05bfa
commit
ffd47f737e
4
Makefile
4
Makefile
@ -10,9 +10,11 @@ define rootfs
|
||||
install -Dm644 /usr/share/devtools/pacman.conf.d/extra.conf $(BUILDDIR)/etc/pacman.conf
|
||||
cat pacman-conf.d-noextract.conf >> $(BUILDDIR)/etc/pacman.conf
|
||||
|
||||
sed 's/Include = /&rootfs/g' < $(BUILDDIR)/etc/pacman.conf > pacman.conf
|
||||
|
||||
fakechroot -- fakeroot -- pacman -Sy -r $(BUILDDIR) \
|
||||
--noconfirm --dbpath $(BUILDDIR)/var/lib/pacman \
|
||||
--config $(BUILDDIR)/etc/pacman.conf \
|
||||
--config pacman.conf \
|
||||
--noscriptlet \
|
||||
--hookdir $(BUILDDIR)/alpm-hooks/usr/share/libalpm/hooks/ $(2)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user