diff --git a/airootfs/root/Desktop/install b/airootfs/root/Desktop/install index 500d9ef..0049006 100644 --- a/airootfs/root/Desktop/install +++ b/airootfs/root/Desktop/install @@ -69,7 +69,7 @@ pacman-key --init && pacman-key --populate pacman-key --refresh-keys mount /dev/$disk /mnt -pacstrap /mnt base linux linux-firmware +pacstrap /mnt base linux linux-firmware vim nano #copy install data cp -r /to_install/* /mnt/ @@ -98,7 +98,7 @@ echo "127.0.0.1 localhost" > /etc/hosts echo "::1 localhost" >> /etc/hosts echo "127.0.1.1 $hostname.localdomain $hostname" >> /etc/hosts -mkinitcpio -P +#mkinitcpio -P #install from lists gpg --refresh-keys @@ -116,6 +116,10 @@ echo -e "$userpass" | passwd "$username" echo -e "$rootpass" | passwd root +systemctl enable gdm.service +systemctl enable NetworkManager.service +systemctl --user enable pulseaudio.service + #install grub pacman --noconfirm -S grub grub-install /dev/$grubdisk diff --git a/build.sh b/build.sh index 5f2353c..b9e8561 100755 --- a/build.sh +++ b/build.sh @@ -1,9 +1,15 @@ rm -rf airootfs/to_install mkdir airootfs/to_install +mkdir airootfs/to_install/etc +mkdir airootfs/to_install/usr touch airootfs/to_install/do_not_edit cp packages.x86_64 airootfs/to_install -cp -r airootfs/etc airootfs/to_install -cp -r airootfs/usr airootfs/to_install +cp -r airootfs/etc/skel airootfs/to_install/etc +cp airootfs/etc/pacman.conf airootfs/to_install/etc +cp airootfs/etc/os-release airootfs/to_install/etc +cp airootfs/etc/bash.bashrc airootfs/to_install/etc +cp -r airootfs/etc/pacman.d airootfs/to_install/etc +cp -r airootfs/usr/backgrounds airootfs/to_install/usr mkarchiso -v -o ${PWD}/out ${PWD}