Add local repository of packages to iso
This commit is contained in:
parent
f94ec60470
commit
3c7316ac97
3 changed files with 11 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
/built-isos/
|
/built-isos/
|
||||||
|
/profile/airootfs/var/lib/mkessler-arch/
|
||||||
|
|
|
@ -7,12 +7,17 @@ work="/tmp/archiso-tmp"
|
||||||
|
|
||||||
mkdir -p $build
|
mkdir -p $build
|
||||||
mkdir -p $out
|
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 -r /usr/share/archiso/configs/$profile/ $build
|
||||||
cp install-arch $build/$profile/airootfs/root/
|
cp install-arch $build/$profile/airootfs/root/
|
||||||
|
|
||||||
# replace some files of releng profile wtih custom ones
|
# replace some files of releng profile wtih custom ones
|
||||||
# e.g. a custom pacman.conf
|
# e.g. a custom pacman.conf
|
||||||
|
# and the custom downloaded repo
|
||||||
cp -r profile/. $build/$profile
|
cp -r profile/. $build/$profile
|
||||||
|
|
||||||
# add custom repository to pacman.conf
|
# add custom repository to pacman.conf
|
||||||
|
|
|
@ -72,6 +72,11 @@ LocalFilesSigLevel = Option
|
||||||
#SigLevel = PackageRequired
|
#SigLevel = PackageRequired
|
||||||
#Include = /etc/pacman.d/mirrorlist
|
#Include = /etc/pacman.d/mirrorlist
|
||||||
|
|
||||||
|
|
||||||
|
[local]
|
||||||
|
SigLevel = PackageRequired
|
||||||
|
Server = file:///var/lib/mkessler-arch/
|
||||||
|
|
||||||
[core]
|
[core]
|
||||||
SigLevel = PackageRequired
|
SigLevel = PackageRequired
|
||||||
Include = /etc/pacman.d/mirrorlist
|
Include = /etc/pacman.d/mirrorlist
|
||||||
|
|
Loading…
Reference in a new issue