From 01b2091783f3d6e387ad85a5c5771dfdfc45453f Mon Sep 17 00:00:00 2001 From: eichehome Date: Wed, 25 Oct 2023 14:25:21 +0200 Subject: [PATCH 1/4] =?UTF-8?q?Fehlerbehandlung=20f=C3=BCr=20cd=20hinzugef?= =?UTF-8?q?=C3=BCgt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/archos-build.uefi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/archos-build.uefi b/build/archos-build.uefi index 2ee425e..3811aae 100644 --- a/build/archos-build.uefi +++ b/build/archos-build.uefi @@ -34,7 +34,7 @@ SizeMaxBytes=3G Format=swap EOF -cd .. +cd .. || exit # Temporär #touch "${DEVICE}" From 7516d6eacafb79a89bac0e8b0e73f53d0b04ce1f Mon Sep 17 00:00:00 2001 From: eichehome Date: Wed, 25 Oct 2023 14:26:00 +0200 Subject: [PATCH 2/4] =?UTF-8?q?Paket-Listen=20ge=C3=A4ndert.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/archos-build.uefi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build/archos-build.uefi b/build/archos-build.uefi index 3811aae..f8e4532 100644 --- a/build/archos-build.uefi +++ b/build/archos-build.uefi @@ -65,11 +65,13 @@ HOSTNAME_NEW="arch-build" KERNEL="linux" BASE=( base ) +BASE_DEVEL=( base-devel) INITRD=( mkinitcpio ) MICROCODE="amd-ucode" -WIFI_BACKEND=( wpa_supplicant ) -NETWORK=( iptables-nft firewalld inetutils avahi networkmanager networkmanager-openconnect networkmanager-openvpn networkmanager-pptp networkmanager-vpnc "${WIFI_BACKEND[@]}" modemmanager ) -OTHER=( vim mkosi git lynx openssh htop bash-completion man-db man-pages reflector "${BASE[@]}" "${INITRD[@]}" plymouth linux-firmware xdg-utils ) +#WIFI_BACKEND=( wpa_supplicant ) +NETWORK=( iptables-nft firewalld inetutils avahi ) +MKOSI=( mkosi cpio gptfdisk ) +OTHER=( vim "${MKOSI[@]}" git lynx openssh htop bash-completion man-db man-pages reflector "${BASE[@]}" "${BASE_DEVEL[@]}" "${INITRD[@]}" plymouth linux-firmware xdg-utils opendoas ) pacstrap /mnt "${KERNEL}" "${MICROCODE}" "${NETWORK[@]}" "${OTHER[@]}" arch-chroot /mnt hwclock --systohc From c964deac997aaedee697d8c26893a46d4d82edf2 Mon Sep 17 00:00:00 2001 From: eichehome Date: Wed, 25 Oct 2023 14:26:30 +0200 Subject: [PATCH 3/4] =?UTF-8?q?Doas-Konfiguration=20hinzugef=C3=BCgt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/archos-build.uefi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/archos-build.uefi b/build/archos-build.uefi index f8e4532..0c229d7 100644 --- a/build/archos-build.uefi +++ b/build/archos-build.uefi @@ -100,7 +100,12 @@ ff02::1 ip6-allnodes ff02::2 ip6-allrouters EOF +cat /mnt/etc/doas.conf << EOF +permit :wheel +EOF + arch-chroot /mnt chpasswd <<< "root:testen" +arch-chroot /mnt useradd -mG wheel build arch-chroot /mnt chpasswd <<< "build:build" sed -i 's/#\(CHARACTER_SET:\).*/\1utf-8/' /mnt/etc/lynx.cfg From d74f79c630344b664926873b8367e0662350d92f Mon Sep 17 00:00:00 2001 From: eichehome Date: Wed, 25 Oct 2023 14:27:41 +0200 Subject: [PATCH 4/4] =?UTF-8?q?Laufende=20Daemons=20f=C3=BCr=20die=20Build?= =?UTF-8?q?-Umgebung=20angepasst.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/archos-build.uefi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build/archos-build.uefi b/build/archos-build.uefi index 0c229d7..719057a 100644 --- a/build/archos-build.uefi +++ b/build/archos-build.uefi @@ -125,13 +125,14 @@ EOF arch-chroot /mnt systemctl enable systemd-resolved arch-chroot /mnt systemctl enable systemd-timesyncd -arch-chroot /mnt systemctl enable NetworkManager +#arch-chroot /mnt systemctl enable NetworkManager +arch-chroot /mnt systemctl enable systemd-networkd arch-chroot /mnt systemctl enable reflector.timer arch-chroot /mnt systemctl enable firewalld arch-chroot /mnt systemctl enable fstrim.timer -arch-chroot /mnt systemctl enable gdm +#arch-chroot /mnt systemctl enable gdm arch-chroot /mnt systemctl enable avahi-daemon -arch-chroot /mnt systemctl enable bluetooth +#arch-chroot /mnt systemctl enable bluetooth sed -i 's/^HOOKS=(.*)/HOOKS=(base systemd keyboard plymouth autodetect sd-vconsole modconf kms block filesystems fsck)/' /mnt/etc/mkinitcpio.conf