You've already forked EndeavourOS-ISO-t2
mirror of
https://github.com/t2linux/EndeavourOS-ISO-t2.git
synced 2026-04-30 13:51:13 -07:00
23 lines
762 B
Bash
Executable File
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
|