Add local repository of packages to iso
This commit is contained in:
parent
f94ec60470
commit
3c7316ac97
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
/built-isos/
|
||||
/profile/airootfs/var/lib/mkessler-arch/
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user