Add local repository of packages to iso

This commit is contained in:
Maximilian Keßler 2023-10-21 00:06:56 +02:00
parent f94ec60470
commit 3c7316ac97
Signed by: max
GPG key ID: BCC5A619923C0BA5
3 changed files with 11 additions and 0 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
/built-isos/
/profile/airootfs/var/lib/mkessler-arch/

View file

@ -7,12 +7,17 @@ work="/tmp/archiso-tmp"
mkdir -p $build
mkdir -p $out
mkdir -p /tmp/blankdb
sudo pacman -Syw --cachedir profile/airootfs/var/lib/mkessler-arch/ --dbpath /tmp/blankdb mkessler-desktop
repo-add profile/airootfs/var/lib/mkessler-arch/local.db.tar.gz profile/airootfs/var/lib/mkessler-arch/*.tar.zst
cp -r /usr/share/archiso/configs/$profile/ $build
cp install-arch $build/$profile/airootfs/root/
# replace some files of releng profile wtih custom ones
# e.g. a custom pacman.conf
# and the custom downloaded repo
cp -r profile/. $build/$profile
# add custom repository to pacman.conf

View file

@ -72,6 +72,11 @@ LocalFilesSigLevel = Option
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist
[local]
SigLevel = PackageRequired
Server = file:///var/lib/mkessler-arch/
[core]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist