Configure xbps and sudo

master
BodgeMaster 2023-06-14 06:04:17 +02:00
parent e756bd6561
commit ccc6982ee0
1 changed files with 6 additions and 0 deletions

View File

@ -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 \ diffutils pciutils usbutils tzdata base-files ncurses mdocml procps-ng \
kbd xbps sudo ethtool kmod eudev runit-void removed-packages nano acpid \ kbd xbps sudo ethtool kmod eudev runit-void removed-packages nano acpid \
squashfs-tools 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