mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
update Arch ISO script
This commit is contained in:
parent
1385a00a2c
commit
34150db58f
1
.gitignore
vendored
1
.gitignore
vendored
@ -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/
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user