This commit is contained in:
Valeria Fadeeva 2023-10-04 13:36:50 +05:00
parent ae780ac84a
commit c3b42ea3e9
5 changed files with 15 additions and 4 deletions

View File

@ -3,6 +3,7 @@
sudo pacman -Sw --noconfirm --cachedir "./airootfs/opt/extra-drivers" r8168
sudo pacman -Sw --noconfirm --cachedir "./airootfs/usr/share/packages" dracut \
eos-dracut \
grub \
kernel-install-for-dracut \
libxvmc \

4
04_boot.sh Normal file → Executable file
View File

@ -9,7 +9,7 @@ cp -av -- '/usr/share/edk2-ovmf/x64/OVMF_VARS.fd' "./out/"
qemu-system-x86_64 \
-boot order=d,menu=on,reboot-timeout=5000 \
-cdrom ./out/$(ls -1 | grep "\.iso" | tail -n 1) \
-cdrom ./out/$(ls -1 ./out/ | grep "\.iso" | tail -n 1) \
-drive file=melawy.img,index=0,media=disk,format=qcow2 \
-smbios type=0,uefi=on \
-smp cpus=$virt_cpu \
@ -35,3 +35,5 @@ qemu-system-x86_64 \
# -display sdl,gl=on,show-cursor=on,window-close=on \
# -full-screen \
# -audiodev pa,id=snd0 \
# -net nic,vlan=0 -net user,vlan=0
# -net nic,vlan=0 -net user,vlan=0 -netdev user,id=user.0 -device e1000,netdev=user.0

View File

@ -30,16 +30,23 @@ echo -e "[Daemon]\nTheme=melawy-lera-sugar\nDeviceScale=1\nDeviceTimeout=8\nShow
# cat "/usr/lib/melawy-linux-release" >> "/etc/motd"
# echo "------------------" >> "/etc/motd"
# Melawy
mkdir -p "/etc/calamares/configs/melawy-linux/files/"
cp "/root/wallpaper.png" "/etc/calamares/configs/melawy-linux/files/melawy-linux-wallpaper.png"
chmod 644 "/etc/calamares/configs/melawy-linux/files/"*".png"
chmod 644 "/usr/share/wallpapers/melawy-linux-wallpapers/"*".png"
cp "/usr/lib/modprobe.d/nvidia-utils.conf" "/etc/calamares/configs/melawy-linux/files/nv-modprobe"
cp "/usr/lib/modules-load.d/nvidia-utils.conf" "/etc/calamares/configs/melawy-linux/files/nv-modules-load"
# EOS
cp "/root/wallpaper.png" "/etc/calamares/files/endeavouros-wallpaper.png"
chmod 644 "/etc/calamares/files/"*".png"
mv "/usr/lib/modprobe.d/nvidia-utils.conf" "/etc/calamares/files/nv-modprobe"
mv "/usr/lib/modules-load.d/nvidia-utils.conf" "/etc/calamares/files/nv-modules-load"
# systemctl enable sddm.service
# systemctl enable ntpd.service
# systemctl enable NetworkManager.service systemd-timesyncd.service bluetooth.service firewalld.service

View File

@ -271,7 +271,7 @@ welcome
yay
## Calamares EndeavourOS
calamares
#calamares
ckbcomp
os-prober
@ -683,3 +683,4 @@ win11-icon-theme-white-git
## Calamares Melawy
#melawy-calamares
#melawy-calamares-configs
melawy-calamares-eos-git