This commit is contained in:
Valeria Fadeeva 2023-11-05 22:52:07 +05:00
parent 60949c1bd9
commit dea9616e3e
16 changed files with 27 additions and 68 deletions

11
01_rank_mirrorlist.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
sudo sed -i -e "s/#Server/Server/g" /etc/pacman.d/mirrorlist.pacnew
sudo cp /etc/pacman.d/mirrorlist.pacnew /etc/pacman.d/mirrorlist
sudo reflector --save /etc/pacman.d/mirrorlist -c "CA,FI,FR,DE,IS,IE,IT,JP,KZ,LV,LU,NZ,NO,PL,PT,RU,SG,ES,SE,CH,TW,TH, " --protocol https,http,rsync --latest 50 --fastest 50 --sort rate
cp -vf "/etc/pacman.d/mirrorlist" "./airootfs/etc/pacman.d/"
notify-send -a "$(basename $(pwd)): Prepare" -t 999999999 "finished" "$(date '+%Y.%m.%d %H:%M:%S')"
echo "Ready"

View File

@ -1,9 +1,5 @@
#!/bin/bash
# sudo sed -i -e "s/#Server/Server/g" /etc/pacman.d/mirrorlist.pacnew
# sudo cp /etc/pacman.d/mirrorlist.pacnew /etc/pacman.d/mirrorlist
# sudo reflector --save /etc/pacman.d/mirrorlist -c "CA,FI,FR,DE,IS,IE,IT,JP,KZ,LV,LU,NZ,NO,PL,PT,RU,SG,ES,SE,CH,TW,TH, " --protocol https,http,rsync --latest 50 --fastest 50 --sort rate
cp -vf "/etc/pacman.d/mirrorlist" "./airootfs/etc/pacman.d/"
sudo pacman -Sy

View File

@ -1,54 +0,0 @@
# GRUB boot loader configuration
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"
GRUB_CMDLINE_LINUX=""
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable booting from LUKS encrypted devices
GRUB_ENABLE_CRYPTODISK=y
# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=menu
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above.
#GRUB_SAVEDEFAULT="true"

Binary file not shown.

View File

@ -14,15 +14,18 @@ do
usermod -a -G $i liveuser
done
tar -xJvf /root/archives/skel.tar.xz -C /etc/skel --strip=1 --overwrite
chown -R 0:0 /etc/skel
# tar -xJvf /root/archives/skel.tar.xz -C /etc/skel --strip=1 --overwrite
# chown -R 0:0 /etc/skel
tar -xJvf /root/archives/liveuser.tar.xz -C /home/liveuser --strip=1 --overwrite
chown -R 1000:1000 /home/liveuser
# tar -xJvf /root/archives/liveuser.tar.xz -C /home/liveuser --strip=1 --overwrite
# chown -R 1000:1000 /home/liveuser
tar -xJvf /root/archives/skel.tar.xz -C /root --strip=1 --overwrite
chown -R 0:0 /root
# tar -xJvf /root/archives/skel.tar.xz -C /root --strip=1 --overwrite
# chown -R 0:0 /root
# echo -e "[Daemon]\nTheme=melawy-lera-sugar\nDeviceScale=1\nDeviceTimeout=8\nShowDelay=0" > "/usr/share/plymouth/plymouthd.defaults"
# cp -rT --no-preserve=ownership "/etc/skel/" "/root/"
true

View File

@ -31,9 +31,9 @@ EOF
fi
if [ -n "$platform" ] && [ "$platform" == "wayland" ]; then
sudo -E dbus-launch calamares -D6 -d -platform $platform >> $log
sudo -E dbus-launch calamares -D8 -d -platform $platform >> $log
else
sudo -E dbus-launch calamares -D6 >> $log
sudo -E dbus-launch calamares -D8 >> $log
fi
}

View File

@ -106,9 +106,9 @@ EOF
fi
if [ -n "$platform" ] && [ "$platform" == "wayland" ]; then
sudo -E dbus-launch calamares -D6 -d -platform $platform >> $log
sudo -E dbus-launch calamares -D8 -d -platform $platform >> $log
else
sudo -E dbus-launch calamares -D6 >> $log
sudo -E dbus-launch calamares -D8 >> $log
fi
# &

View File

@ -5,6 +5,7 @@ _clean_packages() {
_packages_to_remove+=(
$(pacman -Qq | grep calamares)
$(pacman -Qq | grep skel-liveuser)
arch-install-scripts
archiso
ckbcomp

View File

@ -27,6 +27,7 @@
- melawy-dracut-initramfs
- melawy-dracut-ukify
- melawy-etc-skel-std-powerman-kvantum
- melawy-skel-root
- melawy-linux-keyring
- melawy-linux-mirrorlist
- melawy-refind-menu-generator

View File

@ -26,6 +26,7 @@ melawy-etc-skel-std-powerman-kvantum
melawy-linux-keyring
melawy-linux-mirrorlist
melawy-refind-menu-generator
melawy-skel-root
melawy-welcome
pacman
pacman-contrib