chroot dependencies fixed
This commit is contained in:
parent
c672c594de
commit
5649b95643
5 changed files with 66 additions and 45 deletions
|
@ -3,4 +3,5 @@
|
||||||
mkinitcpio-nfs-utils
|
mkinitcpio-nfs-utils
|
||||||
squashfs-tools
|
squashfs-tools
|
||||||
grub
|
grub
|
||||||
|
vim
|
||||||
artix-live-@initsys@
|
artix-live-@initsys@
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
# connmand or NetworkManager is added to the pkglist dynamicly
|
# connmand or NetworkManager is added to the pkglist dynamicly
|
||||||
# only added if in array, these pkgs have no list entry
|
# only added if in array, these pkgs have no list entry
|
||||||
|
|
||||||
SERVICES=('acpid' 'cronie' 'metalog' 'NetworkManager')
|
SERVICES=('acpid' 'bluetoothd' 'cronie' 'cupsd' 'metalog' 'NetworkManager')
|
||||||
|
|
||||||
################# live-session #################
|
################# live-session #################
|
||||||
|
|
||||||
|
|
29
base/root-overlay/usr/local/bin/final.sh
Executable file
29
base/root-overlay/usr/local/bin/final.sh
Executable file
|
@ -0,0 +1,29 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
rm -rf /mnt/post_install.sh
|
||||||
|
sleep 3s
|
||||||
|
clear
|
||||||
|
echo -ne "
|
||||||
|
__________________________________________________________________________________________________________
|
||||||
|
| Thanks For Choosing Metis Linux! |
|
||||||
|
| |
|
||||||
|
| +-+-+-+-+-+ +-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+ |
|
||||||
|
| |M|a|g|i|c| |M|e|t|i|s| |I|n|s|t|a|l|l|e|r| |
|
||||||
|
| +-+-+-+-+-+ +-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+ |
|
||||||
|
| |
|
||||||
|
|---------------------------------------------------------------------------------------------------------|
|
||||||
|
| INSTALLATION SUCCESSFUL! |
|
||||||
|
|---------------------------------------------------------------------------------------------------------|
|
||||||
|
| Metis Linus Installation Completed. |
|
||||||
|
| Check: https://github.com/metis-os for details or visit https://metislinux.org |
|
||||||
|
|---------------------------------------------------------------------------------------------------------|
|
||||||
|
|_________________________________________________________________________________________________________|
|
||||||
|
|
||||||
|
"
|
||||||
|
echo "Metis Linux Installation Finished!!!"
|
||||||
|
echo "Umounting all the drives"
|
||||||
|
umount -R /mnt
|
||||||
|
echo "And then rebooting in 10 seconds!!!"
|
||||||
|
echo "After Reboot login your your username and password and type startx to start GUI."
|
||||||
|
sleep 10s
|
||||||
|
reboot
|
|
@ -147,54 +147,38 @@ clear
|
||||||
lsblk
|
lsblk
|
||||||
sleep 3s
|
sleep 3s
|
||||||
clear
|
clear
|
||||||
echo "Installing Base system with zen kernel!!!"
|
echo "Installing Base system"
|
||||||
sleep 2s
|
sleep 2s
|
||||||
basestrap /mnt base base-devel runit elogind-runit linux-zen
|
basestrap /mnt base base-devel runit elogind-runit
|
||||||
|
sleep 2s
|
||||||
|
echo "Installing Kernel"
|
||||||
|
basestrap /mnt linux-zen linux-firmware linux-zen-headers
|
||||||
clear
|
clear
|
||||||
echo "generating fstab file"
|
echo "generating fstab file"
|
||||||
fstabgen -U /mnt >> /mnt/etc/fstab
|
fstabgen -U /mnt > /mnt/etc/fstab
|
||||||
sleep 1s
|
sleep 1s
|
||||||
clear
|
clear
|
||||||
echo "Checking Fstab Contents"
|
echo "Checking Fstab Contents"
|
||||||
cat /mnt/etc/fstab
|
cat /mnt/etc/fstab
|
||||||
sleep 2s
|
sleep 2s
|
||||||
echo "Copying config files"
|
echo "Copying config files to new system"
|
||||||
mv /usr/local/bin/os-release /mnt/
|
cp /usr/bin/artix-chroot /usr/bin/metis-chroot
|
||||||
mv /usr/local/bin/grub /mnt/
|
cp /usr/local/bin/post_install.sh /mnt
|
||||||
mv /usr/local/bin/xinitrc /mnt/
|
cp /usr/local/bin/os-release /mnt
|
||||||
cp -r /usr/local/bin/pacman.conf /mnt/
|
cp /usr/local/bin/grub /mnt
|
||||||
cp -r /usr/local/bin/mirrorlist /mnt/
|
cp /usr/local/bin/xinitrc /mnt
|
||||||
# cp -r /usr/local/bin/arch-mirrorlist /mnt/
|
cp /usr/local/bin/pacman.conf /mnt
|
||||||
cp -r /usr/local/bin/metis-mirrorlist /mnt/
|
cp /usr/local/bin/mirrorlist /mnt
|
||||||
cp -r /usr/local/bin/init.vim /mnt/
|
cp /usr/local/bin/metis-mirrorlist /mnt
|
||||||
cp -r /usr/local/bin/zshrc /mnt/
|
cp /usr/local/bin/init.vim /mnt
|
||||||
cp -r /usr/local/bin/picom.conf /mnt/
|
cp /usr/local/bin/zshrc /mnt
|
||||||
sleep 2s
|
cp /usr/local/bin/picom.conf /mnt
|
||||||
echo "Working now in live environment!"
|
echo "Checking configs in system"
|
||||||
cp/usr/local/bin/post_install.sh
|
ls /mnt
|
||||||
artix-chroot /mnt ./post_install.sh
|
sleep 5s
|
||||||
|
|
||||||
# After Installation
|
|
||||||
rm -rf /mnt/post_install.sh
|
|
||||||
clear
|
clear
|
||||||
echo -ne "
|
echo "First Phase Completed!"
|
||||||
__________________________________________________________________________________________________________
|
echo "Entering into Second Phase of Installation..."
|
||||||
| Thanks For Choosing Metis Linux! |
|
echo "run the following command to start second phase"
|
||||||
| |
|
echo "1. metis-chroot /mnt"
|
||||||
| +-+-+-+-+-+ +-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+ |
|
echo "2. ./post_install.sh"
|
||||||
| |M|a|g|i|c| |M|e|t|i|s| |I|n|s|t|a|l|l|e|r| |
|
|
||||||
| +-+-+-+-+-+ +-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+ |
|
|
||||||
| |
|
|
||||||
|---------------------------------------------------------------------------------------------------------|
|
|
||||||
| INSTALLATION SUCCESSFUL! |
|
|
||||||
|---------------------------------------------------------------------------------------------------------|
|
|
||||||
| Metis Linus Installation Completed. |
|
|
||||||
| Check: https://github.com/metis-os for details or visit https://metislinux.org |
|
|
||||||
|---------------------------------------------------------------------------------------------------------|
|
|
||||||
|_________________________________________________________________________________________________________|
|
|
||||||
|
|
||||||
"
|
|
||||||
echo "Metis Linux Installation Finished!!!"
|
|
||||||
echo "Umount all the drives using command: umount -R /mnt"
|
|
||||||
echo "And then reboot using command: reboot"
|
|
||||||
echo "After Reboot login your your username and password and type startx to start GUI."
|
|
11
base/root-overlay/usr/local/bin/post_install.sh
Normal file → Executable file
11
base/root-overlay/usr/local/bin/post_install.sh
Normal file → Executable file
|
@ -51,7 +51,7 @@ clear
|
||||||
echo "Set up your hostname!"
|
echo "Set up your hostname!"
|
||||||
echo "Enter your computer name: "
|
echo "Enter your computer name: "
|
||||||
read -r hostname
|
read -r hostname
|
||||||
echo $hostname > /etc/hostname
|
echo "$hostname" > /etc/hostname
|
||||||
echo "Checking hostname (/etc/hostname)"
|
echo "Checking hostname (/etc/hostname)"
|
||||||
cat /etc/hostname
|
cat /etc/hostname
|
||||||
sleep 1s
|
sleep 1s
|
||||||
|
@ -165,4 +165,11 @@ elif grep -E "Integrated Graphics Controller" <<< ${gpu_type}; then
|
||||||
elif grep -E "Intel Corporation UHD" <<< ${gpu_type}; then
|
elif grep -E "Intel Corporation UHD" <<< ${gpu_type}; then
|
||||||
pacman -S --needed --noconfirm libva-intel-driver libvdpau-va-gl vulkan-intel libva-intel-driver libva-utils
|
pacman -S --needed --noconfirm libva-intel-driver libvdpau-va-gl vulkan-intel libva-intel-driver libva-utils
|
||||||
fi
|
fi
|
||||||
sleep 2
|
sleep 2s
|
||||||
|
clear
|
||||||
|
echo "Second Phase Completed!"
|
||||||
|
echo "Entering into Final Phase of Installation..."
|
||||||
|
echo "run the following commands to start final phase "
|
||||||
|
echo "1. exit"
|
||||||
|
echo "2. final.sh"
|
||||||
|
sleep 5s
|
Loading…
Add table
Reference in a new issue