Skip to content

Commit

Permalink
Update keyring for wslu
Browse files Browse the repository at this point in the history
  • Loading branch information
sileshn committed Jun 15, 2023
1 parent f14ce79 commit 1eff94c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ rootfs: base.tar

base.tar:
@echo -e '\e[1;31mExporting base.tar using docker...\e[m'
docker run --net=host --name endeavouroswsl archlinux:base-devel /bin/bash -c "pacman --noconfirm --needed -Sy archlinux-keyring pacman-contrib reflector rsync; reflector --latest 5 --sort rate --save /etc/pacman.d/mirrorlist; pacman-key --init; pacman-key -r A2861ABFD897DD37 497AF50C92AD2384C56E1ACA003DB8B0CB23504F; pacman-key --lsign-key A2861ABFD897DD37 497AF50C92AD2384C56E1ACA003DB8B0CB23504F; curl -s https://gitlab.com/endeavouros-filemirror/EndeavourOS-ISO/-/raw/main/airootfs/etc/pacman.conf > /etc/pacman.conf; curl -s https://gitlab.com/endeavouros-filemirror/PKGBUILDS/-/raw/master/endeavouros-mirrorlist/endeavouros-mirrorlist > /etc/pacman.d/endeavouros-mirrorlist; sed -ibak -e 's/#Color/Color/g' -e 's/CheckSpace/#CheckSpace/g' /etc/pacman.conf; sed -ibak -e 's/IgnorePkg/#IgnorePkg/g' /etc/pacman.conf; echo '[wslutilities]' | sudo tee -a /etc/pacman.conf >/dev/null 2>&1; echo 'Server = https://pkg.wslutiliti.es/arch/' | sudo tee -a /etc/pacman.conf >/dev/null 2>&1; pacman --noconfirm --needed -Sy endeavouros-keyring; pacman --noconfirm -Syyu; pacman-key --populate; pacman --noconfirm --needed -Sy aria2 aspell autoconf-archive base-devel bc ccache dbus dconf docbook-xsl dos2unix doxygen endeavouros-mirrorlist eos-apps-info eos-hooks eos-log-tool eos-packagelist eos-rankmirrors figlet git grep hspell hunspell inetutils iputils iproute2 keychain libxcrypt-compat libvoikko linux-tools lolcat lsb-release man nano ntp nuspell openssh procps rate-mirrors reflector-simple socat sudo usbutils vi vim wget xdg-utils xmlto yay yelp-tools; mkdir -p /etc/pacman.d/hooks; echo '%wheel ALL=(ALL) ALL' > /etc/sudoers.d/wheel; systemd-machine-id-setup; rm /var/lib/dbus/machine-id; dbus-uuidgen --ensure=/etc/machine-id; dbus-uuidgen --ensure; pacman -Rdd --noconfirm dbus; useradd -m -g users -G wheel builduser; passwd -d builduser; git clone https://aur.archlinux.org/dbus-x11.git && sudo chown -R builduser dbus-x11 && cd dbus-x11 && sudo -u builduser makepkg -sic --noconfirm && libtool --finish /usr/lib && cd .. && rm -rf dbus-x11; userdel -r builduser; sed -i 's/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g' /etc/locale.gen && locale-gen; cp /usr/lib/os-release /etc/os-release; yes | LC_ALL=en_US.UTF-8 pacman -Scc"
docker run --net=host --name endeavouroswsl archlinux:base-devel /bin/bash -c "pacman --noconfirm --needed -Sy archlinux-keyring pacman-contrib reflector rsync; reflector --latest 5 --sort rate --save /etc/pacman.d/mirrorlist; pacman-key --init; pacman-key -r 497AF50C92AD2384C56E1ACA003DB8B0CB23504F; pacman-key --lsign-key 497AF50C92AD2384C56E1ACA003DB8B0CB23504F; curl -s https://gitlab.com/endeavouros-filemirror/EndeavourOS-ISO/-/raw/main/airootfs/etc/pacman.conf > /etc/pacman.conf; curl -s https://gitlab.com/endeavouros-filemirror/PKGBUILDS/-/raw/master/endeavouros-mirrorlist/endeavouros-mirrorlist > /etc/pacman.d/endeavouros-mirrorlist; sed -ibak -e 's/#Color/Color/g' -e 's/CheckSpace/#CheckSpace/g' /etc/pacman.conf; sed -ibak -e 's/IgnorePkg/#IgnorePkg/g' /etc/pacman.conf; pacman --noconfirm --needed -Sy endeavouros-keyring; pacman --noconfirm -Syyu; pacman-key --populate; pacman --noconfirm --needed -Sy aria2 aspell autoconf-archive base-devel bc ccache dconf docbook-xsl dos2unix doxygen endeavouros-mirrorlist eos-apps-info eos-hooks eos-log-tool eos-packagelist eos-rankmirrors figlet git grep hspell hunspell inetutils iputils iproute2 keychain libxcrypt-compat libvoikko linux-tools lolcat lsb-release man nano ntp nuspell openssh procps rate-mirrors reflector-simple socat sudo usbutils vi vim wget xdg-utils xmlto yay yelp-tools; wget https://pkg.wslutiliti.es/public.key && pacman-key --add public.key && rm ./public.key && pacman-key --lsign-key 2D4C887EB08424F157151C493DD50AA7E055D853; echo '[wslutilities]' | sudo tee -a /etc/pacman.conf >/dev/null 2>&1; echo 'Server = https://pkg.wslutiliti.es/arch/' | sudo tee -a /etc/pacman.conf >/dev/null 2>&1; pacman -Sy wslu; pacman --noconfirm -Rdd dbus; mkdir -p /etc/pacman.d/hooks; echo '%wheel ALL=(ALL) ALL' > /etc/sudoers.d/wheel; useradd -m -g users -G wheel builduser; passwd -d builduser; git clone https://aur.archlinux.org/dbus-x11.git && sudo chown -R builduser dbus-x11 && cd dbus-x11 && sudo -u builduser makepkg -sic --noconfirm && libtool --finish /usr/lib && cd .. && rm -rf dbus-x11; userdel -r builduser; sed -i 's/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g' /etc/locale.gen && locale-gen; cp /usr/lib/os-release /etc/os-release; systemd-machine-id-setup; rm /var/lib/dbus/machine-id; dbus-uuidgen --ensure=/etc/machine-id; dbus-uuidgen --ensure; yes | LC_ALL=en_US.UTF-8 pacman -Scc"
docker export --output=base.tar endeavouroswsl
docker rm -f endeavouroswsl

Expand Down

0 comments on commit 1eff94c

Please sign in to comment.