Files
2023-08-22 18:13:34 +02:00

23 lines
762 B
Bash
Executable File

#!/usr/bin/env bash
# Get mirrorlist for offline installs
wget -qN --show-progress -P "airootfs/etc/pacman.d/" "https://raw.githubusercontent.com/endeavouros-team/EndeavourOS-ISO/main/mirrorlist"
# Get wallpaper for installed system
wget -qN --show-progress -P "airootfs/root/" "https://raw.githubusercontent.com/endeavouros-team/endeavouros-theming/master/backgrounds/endeavouros-wallpaper.png"
# Make sure build scripts are executable
chmod +x "./"{"mkarchiso","run_before_squashfs.sh"}
get_pkg() {
sudo pacman -Syw "$1" --noconfirm --cachedir "airootfs/root/packages" \
&& sudo chown $USER:$USER "airootfs/root/packages/"*".pkg.tar"*
}
get_pkg "eos-settings-plasma"
# Build liveuser skel
cd "airootfs/root/endeavouros-skel-liveuser"
makepkg -f