From 938841ab65ff8ceb9efb126f3febdfb5e9da2aa5 Mon Sep 17 00:00:00 2001 From: Silesh K Nair Date: Sun, 6 Aug 2023 04:34:16 +0530 Subject: [PATCH] RIP dbus-x11 * https://lists.archlinux.org/archives/list/aur-requests@lists.archlinux.org/message/G2IYGK7UFHTAHRVTBAX4ACXADOJFI3P5/ * https://lists.archlinux.org/archives/list/aur-requests@lists.archlinux.org/message/FSDFVMXTWLWHOQOGEMLXDFHQIAKHARR7/ --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 34cd537..f7b1cca 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ rootfs: base.tar base.tar: @echo -e '\e[1;31mExporting base.tar using docker...\e[m' - docker run --net=host --ulimit nofile=1024:10240 --name archwsl archlinux:base-devel /bin/bash -c "pacman-key --init; pacman-key --populate; 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 | tee -a /etc/pacman.conf >/dev/null 2>&1; echo '#[multilib]' | tee -a /etc/pacman.conf >/dev/null 2>&1 && echo '#Include = /etc/pacman.d/mirrorlist' | tee -a /etc/pacman.conf >/dev/null 2>&1; sed -i '/usr\/share\/man/d' /etc/pacman.conf; pacman --noconfirm -Syyu; pacman --noconfirm --needed -Sy aria2 aspell autoconf-archive bc ccache dconf dnsutils docbook-xsl dos2unix doxygen figlet git grep hspell hunspell inetutils iputils iproute2 keychain libva-mesa-driver libva-utils libvoikko libxcrypt-compat linux-tools lolcat man-db man-pages mesa-vdpau nano ntp nuspell openssh procps socat sudo usbutils vi vim wget xdg-utils xmlto 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 /home/builduser/dbus-x11 && git clone https://aur.archlinux.org/yay-bin.git /home/builduser/yay-bin && git clone https://aur.archlinux.org/rate-mirrors.git /home/builduser/rate-mirrors; sudo chown -R builduser /home/builduser/dbus-x11 /home/builduser/yay-bin /home/builduser/rate-mirrors; cd /home/builduser/dbus-x11 && sudo -u builduser makepkg -si --noconfirm && libtool --finish /usr/lib; cd /home/builduser/yay-bin && sudo -u builduser makepkg -si --noconfirm; cd /home/builduser/rate-mirrors && sudo -u builduser makepkg -si --noconfirm; cd && userdel -r builduser; sed -i 's/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g' /etc/locale.gen && locale-gen; 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 run --net=host --ulimit nofile=1024:10240 --name archwsl archlinux:base-devel /bin/bash -c "pacman-key --init; pacman-key --populate; 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 | tee -a /etc/pacman.conf >/dev/null 2>&1; echo '#[multilib]' | tee -a /etc/pacman.conf >/dev/null 2>&1 && echo '#Include = /etc/pacman.d/mirrorlist' | tee -a /etc/pacman.conf >/dev/null 2>&1; sed -i '/usr\/share\/man/d' /etc/pacman.conf; pacman --noconfirm -Syyu; pacman --noconfirm --needed -Sy aria2 aspell autoconf-archive bc ccache dconf dbus dnsutils docbook-xsl dos2unix doxygen figlet git grep hspell hunspell inetutils iputils iproute2 keychain libva-mesa-driver libva-utils libvoikko libxcrypt-compat linux-tools lolcat man-db man-pages mesa-vdpau nano ntp nuspell openssh procps socat sudo usbutils vi vim wget xdg-utils xmlto 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; 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/yay-bin.git /home/builduser/yay-bin && git clone https://aur.archlinux.org/rate-mirrors.git /home/builduser/rate-mirrors; sudo chown -R builduser /home/builduser/yay-bin /home/builduser/rate-mirrors; cd /home/builduser/yay-bin && sudo -u builduser makepkg -si --noconfirm; cd /home/builduser/rate-mirrors && sudo -u builduser makepkg -si --noconfirm; cd && userdel -r builduser; sed -i 's/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g' /etc/locale.gen && locale-gen; 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 archwsl docker rm -f archwsl