after-chroot.sh created

This commit is contained in:
git
2024-06-11 15:57:07 +02:00
parent af0be93cb7
commit 2e92f3e547
3 changed files with 83 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ source env.sh
#Parted
pacman -Sy && \
pacman -S parted && \
yes | pacman -S parted && \
parted -s $DISK mklabel gpt && \
parted -s -a optimal $DISK mkpart "primary" "fat32" "0%" "512MiB" && \
parted -s $DISK set 1 esp on && \
@@ -39,4 +39,5 @@ mount $DISK\1 /mnt/boot/efi && \
basestrap /mnt base base-devel openrc elogind-openrc linux-hardened linux-hardened-headers linux-firmware && \
fstabgen -U /mnt >> /mnt/etc/fstab && \
echo "tmpfs /tmp tmpfs rw,nosuid,noatime,nodev,size=4G,mode=1777 0 0" >> /mnt/etc/fstab && \
cp after-chroot.sh env.sh /mnt/root/ && \
artix-chroot /mnt /bin/bash