mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
44 lines
1.7 KiB
Text
44 lines
1.7 KiB
Text
# defaults for archboot
|
|
# packages to install (eg. firmware, kernel packages)
|
|
_PACKAGES="base linux linux-firmware linux-firmware-marvell"
|
|
# grub setup
|
|
_GRUB_CONFIG="/usr/share/archboot/grub/archboot-main-grub.cfg"
|
|
_GRUB_BACKGROUND="/usr/share/archboot/grub/archboot-background.png"
|
|
### zram setup
|
|
_ZRAM_ALGORITHM="zstd"
|
|
_ZRAM_MAX_COMP_STREAMS="4"
|
|
# size for --latest and --latest-install option
|
|
_ZRAM_SIZE="3G"
|
|
# size used for --latest-image option
|
|
_ZRAM_IMAGE_SIZE="5G"
|
|
### server setup
|
|
# release directory
|
|
_DIR="$(date +%Y.%m)"
|
|
# delete old version from server
|
|
_PURGE_DATE="3 month"
|
|
# custom pacman.conf on x86_64
|
|
_CUSTOM_PACMAN_CONF="/etc/archboot/pacman.conf.archboot"
|
|
# custom mirrorlist on x86_64
|
|
_CUSTOM_MIRRORLIST="/etc/archboot/mirrorlist.archboot"
|
|
# local paths
|
|
_ISO_HOME="/home/tobias/Arch/iso"
|
|
_ISO_HOME_ARCH="${_ISO_HOME}/${_ARCH}"
|
|
_ISO_HOME_SOURCE="${_ISO_HOME}/${_ARCH}/sources"
|
|
# external paths
|
|
_SERVER="pkgbuild.com"
|
|
_SERVER_HOME="/home/tpowa"
|
|
_SERVER_PUBLIC="${_SERVER_HOME}/public_html"
|
|
_SERVER_IMAGE_DIR="${_SERVER_PUBLIC}/archboot-images"
|
|
_SERVER_SOURCE_DIR="${_SERVER_PUBLIC}/archboot-sources"
|
|
_PACMAN_AARCH64="pacman-aarch64-chroot"
|
|
_PACMAN_AARCH64_CHROOT="${_PACMAN_AARCH64}-latest.tar.zst"
|
|
_SERVER_PACMAN_AARCH64="${_SERVER_PUBLIC}/archboot-helper/${_PACMAN_AARCH64}"
|
|
# public download paths
|
|
_ARCHBOOT_PUBLIC="https://pkgbuild.com/~tpowa"
|
|
_ARCHBOOT_SOURCE="${_ARCHBOOT_PUBLIC}/archboot-sources"
|
|
_ARCHBOOT_AARCH64_CHROOT_PUBLIC="${_ARCHBOOT_PUBLIC}/archboot-helper/${_PACMAN_AARCH64}"
|
|
# local user and group
|
|
_USER="tobias"
|
|
_GROUP="users"
|
|
# gpg setup
|
|
_GPG="--detach-sign --no-armor --batch --passphrase-file /etc/archboot/gpg.passphrase --pinentry-mode loopback -u 7EDF681F"
|