From ccc6982ee0f84b1b63e921d4471ae760d4f7df7e Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Wed, 14 Jun 2023 06:04:17 +0200 Subject: [PATCH] Configure xbps and sudo --- install-stage1.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install-stage1.sh b/install-stage1.sh index 427c1b8..42be269 100644 --- a/install-stage1.sh +++ b/install-stage1.sh @@ -148,3 +148,9 @@ XBPS_ARCH="$TARGET_TYPE" xbps-install -S -r /mnt/target -R "$TARGET_MIRROR" \ diffutils pciutils usbutils tzdata base-files ncurses mdocml procps-ng \ kbd xbps sudo ethtool kmod eudev runit-void removed-packages nano acpid \ squashfs-tools + +echo "repository=$TARGET_MIRROR" > /mnt/target/etc/xbps.d/00-repository-main.conf + +echo "%wheel ALL=(ALL:ALL) ALL" > /mnt/target/etc/sudoers.d/wheel_as_sudo_group.conf + +# TODO: add overlayfs scripts (bootup and shutdown) and (if useful) fstab entries