update Arch ISO script

This commit is contained in:
Daniel Langbein 2021-04-28 17:37:04 +02:00
parent 1385a00a2c
commit 34150db58f
2 changed files with 7 additions and 2 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
/pkg/*/arch-pkg/ /pkg/*/arch-pkg/
/pkg/*/*-any.pkg.tar.zst /pkg/*/*-any.pkg.tar.zst
/pkg/*/*-package.log /pkg/*/*-package.log
/archlive/

View File

@ -2,10 +2,14 @@
# #
# https://wiki.archlinux.org/index.php/Archiso#Prepare_a_custom_profile # https://wiki.archlinux.org/index.php/Archiso#Prepare_a_custom_profile
# #
# Arch installer with some additional packages. # Arch installer with some additional packages:
# -> de-p1st mirror in pacman.conf
# -> german keyboard
# -> git
# #
BUILD_DIR=./archlive BUILD_DIR=./archlive
PKGS=('git' 'de-p1st-keyboard' 'de-p1st-pacman') PKGS=('git' 'de-p1st-keyboard' 'de-p1st-pacman')
PACMAN_CFG_ADDITION='pkg/de-p1st-pacman/pacman.d/de-p1st' # will be used to extend the builder's pacman.conf
################################ ################################
@ -27,7 +31,7 @@ fi
cp -r "$PROFILE" "$BUILD_DIR"/profile || exit cp -r "$PROFILE" "$BUILD_DIR"/profile || exit
# https://wiki.archlinux.org/index.php/Archiso#Custom_local_repository # https://wiki.archlinux.org/index.php/Archiso#Custom_local_repository
cat pkg/de-p1st-pacman/pacman.d/de-p1st >> "$BUILD_DIR"/profile/pacman.conf || exit cat "${PACMAN_CFG_ADDITION}" >> "$BUILD_DIR"/profile/pacman.conf || exit
for PKG in "${PKGS[@]}"; do for PKG in "${PKGS[@]}"; do
echo "${PKG}" >> "${BUILD_DIR}"/profile/packages.x86_64 echo "${PKG}" >> "${BUILD_DIR}"/profile/packages.x86_64