This commit is contained in:
Valeria Fadeeva 2023-12-01 23:54:37 +05:00
parent 61bd91eea3
commit e3bfa2fe59
43 changed files with 1162 additions and 160 deletions

View File

@ -3,6 +3,10 @@
sudo rm -rfv ../work sudo rm -rfv ../work
mkdir ../work mkdir ../work
notify-send -a "$(basename $(pwd)): Reset" -t 999999999 "finished" "$(date '+%Y.%m.%d %H:%M:%S')" notify-send -a "$(basename $(pwd)): Reset" -t 10000 "finished" "$(date '+%Y.%m.%d %H:%M:%S')"
echo "Ready" echo "Ready"
if [ "$status" == 0 ]; then
sleep 5
kill $(ps x | grep konsole | grep $0 | awk '{print $1}')
fi

View File

@ -5,6 +5,10 @@ rm -v airootfs/root/packages/*.pkg.tar.*
rm -v airootfs/usr/share/packages/*.pkg.tar.* rm -v airootfs/usr/share/packages/*.pkg.tar.*
mkdir ../work mkdir ../work
notify-send -a "$(basename $(pwd)): Reset" -t 999999999 "finished" "$(date '+%Y.%m.%d %H:%M:%S')" notify-send -a "$(basename $(pwd)): Reset" -t 10000 "finished" "$(date '+%Y.%m.%d %H:%M:%S')"
echo "Ready" echo "Ready"
if [ "$status" == 0 ]; then
sleep 5
kill $(ps x | grep konsole | grep $0 | awk '{print $1}')
fi

View File

@ -6,6 +6,10 @@ sudo reflector --save /etc/pacman.d/mirrorlist -c "CA,FI,FR,DE,IS,IE,IT,JP,KZ,LV
cp -vf "/etc/pacman.d/mirrorlist" "./airootfs/etc/pacman.d/" 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')" notify-send -a "$(basename $(pwd)): Prepare" -t 10000 "finished" "$(date '+%Y.%m.%d %H:%M:%S')"
echo "Ready" echo "Ready"
if [ "$status" == 0 ]; then
sleep 5
kill $(ps x | grep konsole | grep $0 | awk '{print $1}')
fi

View File

@ -2,11 +2,12 @@
cp -vf "/etc/pacman.d/mirrorlist" "./airootfs/etc/pacman.d/" cp -vf "/etc/pacman.d/mirrorlist" "./airootfs/etc/pacman.d/"
sudo pacman -Sy sudo pacman -Sy --config pacman_sys.conf
sudo pacman -Sw --config pacman_sys.conf --noconfirm --cachedir "./airootfs/opt/extra-drivers" r8168 sudo pacman -Sw --config pacman_sys.conf --noconfirm --cachedir "./airootfs/opt/extra-drivers" r8168
sudo mv -vf "./airootfs/opt/extra-drivers/linux"* "./airootfs/usr/share/packages/" # sudo mv -vf "./airootfs/opt/extra-drivers/linux"* "./airootfs/usr/share/packages/"
sudo rm -vf "./airootfs/opt/extra-drivers/linux"*
packs=( packs=(
dracut dracut
@ -14,11 +15,10 @@ packs=(
grub grub
systemd-boot-dracut systemd-boot-dracut
libxvmc libxvmc
linux
linux-api-headers linux-api-headers
linux-headers linux-cachyos
linux-xanmod-anbox linux-cachyos-headers
linux-xanmod-anbox-headers linux-cachyos-zfs
melawy-dracut-initramfs melawy-dracut-initramfs
melawy-dracut-ukify melawy-dracut-ukify
melawy-refind-menu-generator melawy-refind-menu-generator
@ -40,6 +40,10 @@ sudo paccache -rvk 1 --cachedir "./airootfs/usr/share/packages"
# sudo rm "./airootfs/opt/extra-drivers/linux"* # sudo rm "./airootfs/opt/extra-drivers/linux"*
notify-send -a "$(basename $(pwd)): Prepare" -t 999999999 "finished" "$(date '+%Y.%m.%d %H:%M:%S')" notify-send -a "$(basename $(pwd)): Prepare" -t 10000 "finished" "$(date '+%Y.%m.%d %H:%M:%S')"
echo "Ready" echo "Ready"
if [ "$status" == 0 ]; then
sleep 5
kill $(ps x | grep konsole | grep $0 | awk '{print $1}')
fi

View File

@ -5,3 +5,7 @@ sudo chown -R 1000:1000 ./airootfs/usr/share/packages/
sudo chown -R 1000:1000 ../boot/iso sudo chown -R 1000:1000 ../boot/iso
echo "Ready" echo "Ready"
if [ "$status" == 0 ]; then
sleep 5
kill $(ps x | grep konsole | grep $0 | awk '{print $1}')
fi

View File

@ -1,12 +1,12 @@
#!/bin/bash #!/bin/bash
date_tag=$(date +%Y.%m.%d) date_tag=$(date +%Y.%m.%d)
iso_name="Melawy-linux-${date_tag}-x86_64.iso" iso_name="Melawy-Linux-${date_tag}-x86_64.iso"
mkdir -p ../sf/${date_tag} mkdir -p ../sf/${date_tag}
sudo ./mkarchiso_last_my -v "." sudo ./mkarchiso_last_my -v "."
cp -vf "../work/iso/arch/pkglist.x86_64.txt" "../sf/${date_tag}/Melawy-linux-${date_tag}-pkglist.txt" cp -vf "../work/iso/arch/pkglist.x86_64.txt" "../sf/${date_tag}/Melawy-Linux-${date_tag}-pkglist.txt"
echo "Sign ../sf/${date_tag}/${iso_name}.sig ../sf/${date_tag}/${iso_name}" echo "Sign ../sf/${date_tag}/${iso_name}.sig ../sf/${date_tag}/${iso_name}"
gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "../sf/${date_tag}/${iso_name}.sig" "../sf/${date_tag}/${iso_name}" gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "../sf/${date_tag}/${iso_name}.sig" "../sf/${date_tag}/${iso_name}"
@ -20,6 +20,6 @@ sha1sum "${iso_name}" >
echo "sha256sum ${iso_name}" echo "sha256sum ${iso_name}"
sha256sum "${iso_name}" > "${iso_name}.sha256" sha256sum "${iso_name}" > "${iso_name}.sha256"
notify-send -a "$(basename $(pwd)): Make" -t 999999999 "finished" "$(date '+%Y.%m.%d %H:%M:%S')" notify-send -a "$(basename $(pwd)): Make" -t 10000 "finished" "$(date '+%Y.%m.%d %H:%M:%S')"
echo "Ready" echo "Ready"

View File

@ -1,12 +1,12 @@
#!/bin/bash #!/bin/bash
date_tag=$(date +%Y.%m.%d) date_tag=$(date +%Y.%m.%d)
iso_name="Melawy-linux-${date_tag}-x86_64.iso" iso_name="Melawy-Linux-${date_tag}-x86_64.iso"
cp -vf "../work/iso/arch/pkglist.x86_64.txt" "../sf/${date_tag}/Melawy-linux-${date_tag}-pkglist.txt" cp -vf "../work/iso/arch/pkglist.x86_64.txt" "../sf/${date_tag}/Melawy-Linux-${date_tag}-pkglist.txt"
echo "Sign ../sf/${date_tag}/${iso_name}.sig ../sf/${date_tag}/${iso_name}" echo "Sign ../sf/${date_tag}/${iso_name}.sig ../sf/${date_tag}/${iso_name}"
gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "../sf/${date_tag}/${iso_name}.sig" "../sf/${date_tag}/${iso_name}" gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "../sf/${date_tag}/${iso_name}.sig" "../sf/${date_tag}/${iso_name}"
@ -20,6 +20,10 @@ sha1sum "${iso_name}" >
echo "sha256sum ${iso_name}" echo "sha256sum ${iso_name}"
sha256sum "${iso_name}" > "${iso_name}.sha256" sha256sum "${iso_name}" > "${iso_name}.sha256"
notify-send -a "$(basename $(pwd)): Sign" -t 999999999 "finished" "$(date '+%Y.%m.%d %H:%M:%S')" notify-send -a "$(basename $(pwd)): Sign" -t 10000 "finished" "$(date '+%Y.%m.%d %H:%M:%S')"
echo "Ready" echo "Ready"
if [ "$status" == 0 ]; then
sleep 5
kill $(ps x | grep konsole | grep $0 | awk '{print $1}')
fi

View File

@ -3,3 +3,7 @@
sudo chown -R 1000:1000 ../sf sudo chown -R 1000:1000 ../sf
echo "Ready" echo "Ready"
if [ "$status" == 0 ]; then
sleep 5
kill $(ps x | grep konsole | grep $0 | awk '{print $1}')
fi

View File

@ -1 +1 @@
install_items+=" /usr/lib/plymouth/label.so /usr/lib/plymouth/text.so /etc/fonts/fonts.conf /usr/share/fonts/noto/NotoSansMono-Black.ttf /usr/share/fonts/noto/NotoSansMono-Bold.ttf /usr/share/fonts/noto/NotoSansMono-Light.ttf /usr/share/fonts/noto/NotoSansMono-Medium.ttf /usr/share/fonts/noto/NotoSansMono-Regular.ttf /usr/share/fonts/noto/NotoSansMono-Thin.ttf /usr/share/fonts/noto/NotoSans-BlackItalic.ttf /usr/share/fonts/noto/NotoSans-Black.ttf /usr/share/fonts/noto/NotoSans-BoldItalic.ttf /usr/share/fonts/noto/NotoSans-Bold.ttf /usr/share/fonts/noto/NotoSans-Italic.ttf /usr/share/fonts/noto/NotoSans-LightItalic.ttf /usr/share/fonts/noto/NotoSans-Light.ttf /usr/share/fonts/noto/NotoSans-MediumItalic.ttf /usr/share/fonts/noto/NotoSans-Medium.ttf /usr/share/fonts/noto/NotoSans-Regular.ttf /usr/share/fonts/noto/NotoSans-ThinItalic.ttf /usr/share/fonts/noto/NotoSans-Thin.ttf " install_items+=" /usr/lib/libply* /usr/lib/plymouth/* /etc/fonts/fonts.conf /usr/share/fonts/noto/NotoSansMono-Black.ttf /usr/share/fonts/noto/NotoSansMono-Bold.ttf /usr/share/fonts/noto/NotoSansMono-Light.ttf /usr/share/fonts/noto/NotoSansMono-Medium.ttf /usr/share/fonts/noto/NotoSansMono-Regular.ttf /usr/share/fonts/noto/NotoSansMono-Thin.ttf /usr/share/fonts/noto/NotoSans-BlackItalic.ttf /usr/share/fonts/noto/NotoSans-Black.ttf /usr/share/fonts/noto/NotoSans-BoldItalic.ttf /usr/share/fonts/noto/NotoSans-Bold.ttf /usr/share/fonts/noto/NotoSans-Italic.ttf /usr/share/fonts/noto/NotoSans-LightItalic.ttf /usr/share/fonts/noto/NotoSans-Light.ttf /usr/share/fonts/noto/NotoSans-MediumItalic.ttf /usr/share/fonts/noto/NotoSans-Medium.ttf /usr/share/fonts/noto/NotoSans-Regular.ttf /usr/share/fonts/noto/NotoSans-ThinItalic.ttf /usr/share/fonts/noto/NotoSans-Thin.ttf "

View File

@ -15,3 +15,4 @@ GTK_USE_PORTAL=1
BROWSER=firefox BROWSER=firefox
EDITOR=nano EDITOR=nano
ZPOOL_VDEV_NAME_PATH=1 ZPOOL_VDEV_NAME_PATH=1
vm.swappiness=100

View File

@ -0,0 +1,191 @@
#!/hint/bash
#
# /etc/makepkg.conf
#
#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The download utilities that makepkg should use to acquire sources
# Format: 'protocol::agent'
DLAGENTS=('file::/usr/bin/curl -qgC - -o %o %u'
'ftp::/usr/bin/curl -qgfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
'http::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
'https::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
'rsync::/usr/bin/rsync --no-motd -z %u %o'
'scp::/usr/bin/scp -C %u %o')
# Other common tools:
# /usr/bin/snarf
# /usr/bin/lftpget -c
# /usr/bin/wget
#-- The package required by makepkg to download VCS sources
# Format: 'protocol::package'
VCSCLIENTS=('bzr::breezy'
'fossil::fossil'
'git::git'
'hg::mercurial'
'svn::subversion')
#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="x86_64"
CHOST="x86_64-pc-linux-gnu"
export CC=clang
export CXX=clang++
export LD=ld.lld
export CC_LD=lld
export CXX_LD=lld
export AR=llvm-ar
export NM=llvm-nm
export STRIP=llvm-strip
export OBJCOPY=llvm-objcopy
export OBJDUMP=llvm-objdump
export READELF=llvm-readelf
export RANLIB=llvm-ranlib
export HOSTCC=clang
export HOSTCXX=clang++
export HOSTAR=llvm-ar
export HOSTLD=ld.lld
export LLVM=1
export LLVM_IAS=1
#-- Compiler and Linker Flags
#CPPFLAGS=""
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
-Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
-fstack-clash-protection -fcf-protection"
#CFLAGS="-march=native -mtune=native -O2 -pipe -fno-plt -fexceptions \
# -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
# -fstack-clash-protection -fcf-protection"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
LDFLAGS="-fuse-ld=lld -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
LTOFLAGS="-flto=auto"
RUSTFLAGS="-C opt-level=3"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j$(nproc) -l$(nproc)"
#-- Debugging flags
DEBUG_CFLAGS="-g"
DEBUG_CXXFLAGS="$DEBUG_CFLAGS"
DEBUG_RUSTFLAGS="-C debuginfo=3"
#########################################################################
# BUILD ENVIRONMENT
#########################################################################
#
# Makepkg defaults: BUILDENV=(!distcc !color !ccache check !sign)
# A negated environment option will do the opposite of the comments below.
#
#-- distcc: Use the Distributed C/C++/ObjC compiler
#-- color: Colorize output messages
#-- ccache: Use ccache to cache compilation
#-- check: Run the check() function if present in the PKGBUILD
#-- sign: Generate PGP signature file
#
#BUILDENV=(!distcc color !ccache check !sign)
BUILDENV=(!distcc color ccache check !sign)
#
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""
#
#-- Specify a directory for package building.
#BUILDDIR=/tmp/makepkg
#########################################################################
# GLOBAL PACKAGE OPTIONS
# These are default values for the options=() settings
#########################################################################
#
# Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto)
# A negated option will do the opposite of the comments below.
#
#-- strip: Strip symbols from binaries/libraries
#-- docs: Save doc directories specified by DOC_DIRS
#-- libtool: Leave libtool (.la) files in packages
#-- staticlibs: Leave static library (.a) files in packages
#-- emptydirs: Leave empty directories in packages
#-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
#-- purge: Remove files specified by PURGE_TARGETS
#-- debug: Add debugging flags as specified in DEBUG_* variables
#-- lto: Add compile flags for building with link time optimization
#
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug !lto)
#-- File integrity checks to use. Valid: md5, sha1, sha224, sha256, sha384, sha512, b2
INTEGRITY_CHECK=(sha256)
#-- Options to be used when stripping binaries. See `man strip' for details.
STRIP_BINARIES="--strip-all"
#-- Options to be used when stripping shared libraries. See `man strip' for details.
STRIP_SHARED="--strip-unneeded"
#-- Options to be used when stripping static libraries. See `man strip' for details.
STRIP_STATIC="--strip-debug"
#-- Manual (man and info) directories to compress (if zipman is specified)
MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
#-- Doc directories to remove (if !docs is specified)
DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
#-- Files to be removed from all packages (if purge is specified)
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
#-- Directory to store source code in for debug packages
DBGSRCDIR="/usr/src/debug"
#########################################################################
# PACKAGE OUTPUT
#########################################################################
#
# Default: put built package and cached source in build directory
#
#-- Destination: specify a fixed directory where all packages will be placed
#PKGDEST=/home/packages
#-- Source cache: specify a fixed directory where source files will be cached
#SRCDEST=/home/sources
#-- Source packages: specify a fixed directory where all src packages will be placed
#SRCPKGDEST=/home/srcpackages
#-- Log files: specify a fixed directory where all log files will be placed
#LOGDEST=/home/makepkglogs
#-- Packager: name/email of the person or organization building packages
#PACKAGER="John Doe <john@doe.com>"
#-- Specify a key to use for package signing
#GPGKEY=""
#########################################################################
# COMPRESSION DEFAULTS
#########################################################################
#
COMPRESSGZ=(gzip -c -f -n)
COMPRESSBZ2=(bzip2 -c -f)
COMPRESSXZ=(xz -v -c -z - --threads=0 -9 -e)
COMPRESSZST=(zstd -v -c -z - --threads=0)
COMPRESSLRZ=(lrzip -q)
COMPRESSLZO=(lzop -q)
COMPRESSZ=(compress -c -f)
COMPRESSLZ4=(lz4 -q)
COMPRESSLZ=(lzip -c -f)
#########################################################################
# EXTENSION DEFAULTS
#########################################################################
#
#PKGEXT='.pkg.tar.zst'
PKGEXT='.pkg.tar.xz'
SRCEXT='.src.tar.gz'
#########################################################################
# OTHER
#########################################################################
#
#-- Command used to run pacman as root, instead of trying sudo and su
#PACMAN_AUTH=()

View File

@ -0,0 +1,191 @@
#!/hint/bash
#
# /etc/makepkg.conf
#
#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The download utilities that makepkg should use to acquire sources
# Format: 'protocol::agent'
DLAGENTS=('file::/usr/bin/curl -qgC - -o %o %u'
'ftp::/usr/bin/curl -qgfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
'http::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
'https::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
'rsync::/usr/bin/rsync --no-motd -z %u %o'
'scp::/usr/bin/scp -C %u %o')
# Other common tools:
# /usr/bin/snarf
# /usr/bin/lftpget -c
# /usr/bin/wget
#-- The package required by makepkg to download VCS sources
# Format: 'protocol::package'
VCSCLIENTS=('bzr::breezy'
'fossil::fossil'
'git::git'
'hg::mercurial'
'svn::subversion')
#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="x86_64"
CHOST="x86_64-pc-linux-gnu"
export CC=clang
export CXX=clang++
export LD=ld.lld
export CC_LD=lld
export CXX_LD=lld
export AR=llvm-ar
export NM=llvm-nm
export STRIP=llvm-strip
export OBJCOPY=llvm-objcopy
export OBJDUMP=llvm-objdump
export READELF=llvm-readelf
export RANLIB=llvm-ranlib
export HOSTCC=clang
export HOSTCXX=clang++
export HOSTAR=llvm-ar
export HOSTLD=ld.lld
export LLVM=1
export LLVM_IAS=1
#-- Compiler and Linker Flags
#CPPFLAGS=""
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
-Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
-fstack-clash-protection -fcf-protection"
#CFLAGS="-march=native -mtune=native -O2 -pipe -fno-plt -fexceptions \
# -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
# -fstack-clash-protection -fcf-protection"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
LDFLAGS="-fuse-ld=lld -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
LTOFLAGS="-flto=auto"
RUSTFLAGS="-C opt-level=3"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j$(nproc) -l$(nproc)"
#-- Debugging flags
DEBUG_CFLAGS="-g"
DEBUG_CXXFLAGS="$DEBUG_CFLAGS"
DEBUG_RUSTFLAGS="-C debuginfo=3"
#########################################################################
# BUILD ENVIRONMENT
#########################################################################
#
# Makepkg defaults: BUILDENV=(!distcc !color !ccache check !sign)
# A negated environment option will do the opposite of the comments below.
#
#-- distcc: Use the Distributed C/C++/ObjC compiler
#-- color: Colorize output messages
#-- ccache: Use ccache to cache compilation
#-- check: Run the check() function if present in the PKGBUILD
#-- sign: Generate PGP signature file
#
#BUILDENV=(!distcc color !ccache check !sign)
BUILDENV=(!distcc color ccache check !sign)
#
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""
#
#-- Specify a directory for package building.
#BUILDDIR=/tmp/makepkg
#########################################################################
# GLOBAL PACKAGE OPTIONS
# These are default values for the options=() settings
#########################################################################
#
# Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto)
# A negated option will do the opposite of the comments below.
#
#-- strip: Strip symbols from binaries/libraries
#-- docs: Save doc directories specified by DOC_DIRS
#-- libtool: Leave libtool (.la) files in packages
#-- staticlibs: Leave static library (.a) files in packages
#-- emptydirs: Leave empty directories in packages
#-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
#-- purge: Remove files specified by PURGE_TARGETS
#-- debug: Add debugging flags as specified in DEBUG_* variables
#-- lto: Add compile flags for building with link time optimization
#
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug lto)
#-- File integrity checks to use. Valid: md5, sha1, sha224, sha256, sha384, sha512, b2
INTEGRITY_CHECK=(sha256)
#-- Options to be used when stripping binaries. See `man strip' for details.
STRIP_BINARIES="--strip-all"
#-- Options to be used when stripping shared libraries. See `man strip' for details.
STRIP_SHARED="--strip-unneeded"
#-- Options to be used when stripping static libraries. See `man strip' for details.
STRIP_STATIC="--strip-debug"
#-- Manual (man and info) directories to compress (if zipman is specified)
MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
#-- Doc directories to remove (if !docs is specified)
DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
#-- Files to be removed from all packages (if purge is specified)
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
#-- Directory to store source code in for debug packages
DBGSRCDIR="/usr/src/debug"
#########################################################################
# PACKAGE OUTPUT
#########################################################################
#
# Default: put built package and cached source in build directory
#
#-- Destination: specify a fixed directory where all packages will be placed
#PKGDEST=/home/packages
#-- Source cache: specify a fixed directory where source files will be cached
#SRCDEST=/home/sources
#-- Source packages: specify a fixed directory where all src packages will be placed
#SRCPKGDEST=/home/srcpackages
#-- Log files: specify a fixed directory where all log files will be placed
#LOGDEST=/home/makepkglogs
#-- Packager: name/email of the person or organization building packages
#PACKAGER="John Doe <john@doe.com>"
#-- Specify a key to use for package signing
#GPGKEY=""
#########################################################################
# COMPRESSION DEFAULTS
#########################################################################
#
COMPRESSGZ=(gzip -c -f -n)
COMPRESSBZ2=(bzip2 -c -f)
COMPRESSXZ=(xz -v -c -z - --threads=0 -9 -e)
COMPRESSZST=(zstd -v -c -z - --threads=0)
COMPRESSLRZ=(lrzip -q)
COMPRESSLZO=(lzop -q)
COMPRESSZ=(compress -c -f)
COMPRESSLZ4=(lz4 -q)
COMPRESSLZ=(lzip -c -f)
#########################################################################
# EXTENSION DEFAULTS
#########################################################################
#
#PKGEXT='.pkg.tar.zst'
PKGEXT='.pkg.tar.xz'
SRCEXT='.src.tar.gz'
#########################################################################
# OTHER
#########################################################################
#
#-- Command used to run pacman as root, instead of trying sudo and su
#PACMAN_AUTH=()

View File

@ -0,0 +1,172 @@
#!/hint/bash
#
# /etc/makepkg.conf
#
#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The download utilities that makepkg should use to acquire sources
# Format: 'protocol::agent'
DLAGENTS=('file::/usr/bin/curl -qgC - -o %o %u'
'ftp::/usr/bin/curl -qgfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
'http::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
'https::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
'rsync::/usr/bin/rsync --no-motd -z %u %o'
'scp::/usr/bin/scp -C %u %o')
# Other common tools:
# /usr/bin/snarf
# /usr/bin/lftpget -c
# /usr/bin/wget
#-- The package required by makepkg to download VCS sources
# Format: 'protocol::package'
VCSCLIENTS=('bzr::breezy'
'fossil::fossil'
'git::git'
'hg::mercurial'
'svn::subversion')
#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="x86_64"
CHOST="x86_64-pc-linux-gnu"
#-- Compiler and Linker Flags
#CPPFLAGS=""
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
-Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
-fstack-clash-protection -fcf-protection"
#CFLAGS="-march=native -mtune=native -O2 -pipe -fno-plt -fexceptions \
# -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
# -fstack-clash-protection -fcf-protection"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
LTOFLAGS="-flto=auto"
RUSTFLAGS="-C opt-level=3"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j$(nproc) -l$(nproc)"
#-- Debugging flags
DEBUG_CFLAGS="-g"
DEBUG_CXXFLAGS="$DEBUG_CFLAGS"
DEBUG_RUSTFLAGS="-C debuginfo=3"
#########################################################################
# BUILD ENVIRONMENT
#########################################################################
#
# Makepkg defaults: BUILDENV=(!distcc !color !ccache check !sign)
# A negated environment option will do the opposite of the comments below.
#
#-- distcc: Use the Distributed C/C++/ObjC compiler
#-- color: Colorize output messages
#-- ccache: Use ccache to cache compilation
#-- check: Run the check() function if present in the PKGBUILD
#-- sign: Generate PGP signature file
#
#BUILDENV=(!distcc color !ccache check !sign)
BUILDENV=(!distcc color ccache check !sign)
#
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""
#
#-- Specify a directory for package building.
#BUILDDIR=/tmp/makepkg
#########################################################################
# GLOBAL PACKAGE OPTIONS
# These are default values for the options=() settings
#########################################################################
#
# Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto)
# A negated option will do the opposite of the comments below.
#
#-- strip: Strip symbols from binaries/libraries
#-- docs: Save doc directories specified by DOC_DIRS
#-- libtool: Leave libtool (.la) files in packages
#-- staticlibs: Leave static library (.a) files in packages
#-- emptydirs: Leave empty directories in packages
#-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
#-- purge: Remove files specified by PURGE_TARGETS
#-- debug: Add debugging flags as specified in DEBUG_* variables
#-- lto: Add compile flags for building with link time optimization
#
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug !lto)
#-- File integrity checks to use. Valid: md5, sha1, sha224, sha256, sha384, sha512, b2
INTEGRITY_CHECK=(sha256)
#-- Options to be used when stripping binaries. See `man strip' for details.
STRIP_BINARIES="--strip-all"
#-- Options to be used when stripping shared libraries. See `man strip' for details.
STRIP_SHARED="--strip-unneeded"
#-- Options to be used when stripping static libraries. See `man strip' for details.
STRIP_STATIC="--strip-debug"
#-- Manual (man and info) directories to compress (if zipman is specified)
MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
#-- Doc directories to remove (if !docs is specified)
DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
#-- Files to be removed from all packages (if purge is specified)
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
#-- Directory to store source code in for debug packages
DBGSRCDIR="/usr/src/debug"
#########################################################################
# PACKAGE OUTPUT
#########################################################################
#
# Default: put built package and cached source in build directory
#
#-- Destination: specify a fixed directory where all packages will be placed
#PKGDEST=/home/packages
#-- Source cache: specify a fixed directory where source files will be cached
#SRCDEST=/home/sources
#-- Source packages: specify a fixed directory where all src packages will be placed
#SRCPKGDEST=/home/srcpackages
#-- Log files: specify a fixed directory where all log files will be placed
#LOGDEST=/home/makepkglogs
#-- Packager: name/email of the person or organization building packages
#PACKAGER="John Doe <john@doe.com>"
#-- Specify a key to use for package signing
#GPGKEY=""
#########################################################################
# COMPRESSION DEFAULTS
#########################################################################
#
COMPRESSGZ=(gzip -c -f -n)
COMPRESSBZ2=(bzip2 -c -f)
COMPRESSXZ=(xz -v -c -z - --threads=0 -9 -e)
COMPRESSZST=(zstd -v -c -z - --threads=0)
COMPRESSLRZ=(lrzip -q)
COMPRESSLZO=(lzop -q)
COMPRESSZ=(compress -c -f)
COMPRESSLZ4=(lz4 -q)
COMPRESSLZ=(lzip -c -f)
#########################################################################
# EXTENSION DEFAULTS
#########################################################################
#
#PKGEXT='.pkg.tar.zst'
PKGEXT='.pkg.tar.xz'
SRCEXT='.src.tar.gz'
#########################################################################
# OTHER
#########################################################################
#
#-- Command used to run pacman as root, instead of trying sudo and su
#PACMAN_AUTH=()

View File

@ -0,0 +1,172 @@
#!/hint/bash
#
# /etc/makepkg.conf
#
#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The download utilities that makepkg should use to acquire sources
# Format: 'protocol::agent'
DLAGENTS=('file::/usr/bin/curl -qgC - -o %o %u'
'ftp::/usr/bin/curl -qgfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
'http::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
'https::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
'rsync::/usr/bin/rsync --no-motd -z %u %o'
'scp::/usr/bin/scp -C %u %o')
# Other common tools:
# /usr/bin/snarf
# /usr/bin/lftpget -c
# /usr/bin/wget
#-- The package required by makepkg to download VCS sources
# Format: 'protocol::package'
VCSCLIENTS=('bzr::breezy'
'fossil::fossil'
'git::git'
'hg::mercurial'
'svn::subversion')
#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="x86_64"
CHOST="x86_64-pc-linux-gnu"
#-- Compiler and Linker Flags
#CPPFLAGS=""
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
-Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
-fstack-clash-protection -fcf-protection"
#CFLAGS="-march=native -mtune=native -O2 -pipe -fno-plt -fexceptions \
# -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
# -fstack-clash-protection -fcf-protection"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
LTOFLAGS="-flto=auto"
RUSTFLAGS="-C opt-level=3"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j$(nproc) -l$(nproc)"
#-- Debugging flags
DEBUG_CFLAGS="-g"
DEBUG_CXXFLAGS="$DEBUG_CFLAGS"
DEBUG_RUSTFLAGS="-C debuginfo=3"
#########################################################################
# BUILD ENVIRONMENT
#########################################################################
#
# Makepkg defaults: BUILDENV=(!distcc !color !ccache check !sign)
# A negated environment option will do the opposite of the comments below.
#
#-- distcc: Use the Distributed C/C++/ObjC compiler
#-- color: Colorize output messages
#-- ccache: Use ccache to cache compilation
#-- check: Run the check() function if present in the PKGBUILD
#-- sign: Generate PGP signature file
#
#BUILDENV=(!distcc color !ccache check !sign)
BUILDENV=(!distcc color ccache check !sign)
#
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""
#
#-- Specify a directory for package building.
#BUILDDIR=/tmp/makepkg
#########################################################################
# GLOBAL PACKAGE OPTIONS
# These are default values for the options=() settings
#########################################################################
#
# Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto)
# A negated option will do the opposite of the comments below.
#
#-- strip: Strip symbols from binaries/libraries
#-- docs: Save doc directories specified by DOC_DIRS
#-- libtool: Leave libtool (.la) files in packages
#-- staticlibs: Leave static library (.a) files in packages
#-- emptydirs: Leave empty directories in packages
#-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
#-- purge: Remove files specified by PURGE_TARGETS
#-- debug: Add debugging flags as specified in DEBUG_* variables
#-- lto: Add compile flags for building with link time optimization
#
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug lto)
#-- File integrity checks to use. Valid: md5, sha1, sha224, sha256, sha384, sha512, b2
INTEGRITY_CHECK=(sha256)
#-- Options to be used when stripping binaries. See `man strip' for details.
STRIP_BINARIES="--strip-all"
#-- Options to be used when stripping shared libraries. See `man strip' for details.
STRIP_SHARED="--strip-unneeded"
#-- Options to be used when stripping static libraries. See `man strip' for details.
STRIP_STATIC="--strip-debug"
#-- Manual (man and info) directories to compress (if zipman is specified)
MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
#-- Doc directories to remove (if !docs is specified)
DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
#-- Files to be removed from all packages (if purge is specified)
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
#-- Directory to store source code in for debug packages
DBGSRCDIR="/usr/src/debug"
#########################################################################
# PACKAGE OUTPUT
#########################################################################
#
# Default: put built package and cached source in build directory
#
#-- Destination: specify a fixed directory where all packages will be placed
#PKGDEST=/home/packages
#-- Source cache: specify a fixed directory where source files will be cached
#SRCDEST=/home/sources
#-- Source packages: specify a fixed directory where all src packages will be placed
#SRCPKGDEST=/home/srcpackages
#-- Log files: specify a fixed directory where all log files will be placed
#LOGDEST=/home/makepkglogs
#-- Packager: name/email of the person or organization building packages
#PACKAGER="John Doe <john@doe.com>"
#-- Specify a key to use for package signing
#GPGKEY=""
#########################################################################
# COMPRESSION DEFAULTS
#########################################################################
#
COMPRESSGZ=(gzip -c -f -n)
COMPRESSBZ2=(bzip2 -c -f)
COMPRESSXZ=(xz -v -c -z - --threads=0 -9 -e)
COMPRESSZST=(zstd -v -c -z - --threads=0)
COMPRESSLRZ=(lrzip -q)
COMPRESSLZO=(lzop -q)
COMPRESSZ=(compress -c -f)
COMPRESSLZ4=(lz4 -q)
COMPRESSLZ=(lzip -c -f)
#########################################################################
# EXTENSION DEFAULTS
#########################################################################
#
#PKGEXT='.pkg.tar.zst'
PKGEXT='.pkg.tar.xz'
SRCEXT='.src.tar.gz'
#########################################################################
# OTHER
#########################################################################
#
#-- Command used to run pacman as root, instead of trying sudo and su
#PACMAN_AUTH=()

View File

@ -23,7 +23,7 @@ DLAGENTS=('file::/usr/bin/curl -qgC - -o %o %u'
#-- The package required by makepkg to download VCS sources #-- The package required by makepkg to download VCS sources
# Format: 'protocol::package' # Format: 'protocol::package'
VCSCLIENTS=('bzr::bzr' VCSCLIENTS=('bzr::breezy'
'fossil::fossil' 'fossil::fossil'
'git::git' 'git::git'
'hg::mercurial' 'hg::mercurial'
@ -36,21 +36,43 @@ VCSCLIENTS=('bzr::bzr'
CARCH="x86_64" CARCH="x86_64"
CHOST="x86_64-pc-linux-gnu" CHOST="x86_64-pc-linux-gnu"
export CC=clang
export CXX=clang++
export LD=ld.lld
export CC_LD=lld
export CXX_LD=lld
export AR=llvm-ar
export NM=llvm-nm
export STRIP=llvm-strip
export OBJCOPY=llvm-objcopy
export OBJDUMP=llvm-objdump
export READELF=llvm-readelf
export RANLIB=llvm-ranlib
export HOSTCC=clang
export HOSTCXX=clang++
export HOSTAR=llvm-ar
export HOSTLD=ld.lld
export LLVM=1
export LLVM_IAS=1
#-- Compiler and Linker Flags #-- Compiler and Linker Flags
#CPPFLAGS="" #CPPFLAGS=""
export CC="clang" CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
export CXX="clang++" -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
-fstack-clash-protection -fcf-protection"
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection" #CFLAGS="-march=native -mtune=native -O2 -pipe -fno-plt -fexceptions \
# -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
# -fstack-clash-protection -fcf-protection"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS" CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
#CFLAGS="-march=native -mtune=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection"
LDFLAGS="-fuse-ld=lld -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now" LDFLAGS="-fuse-ld=lld -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
LTOFLAGS="-flto=auto" LTOFLAGS="-flto=auto"
RUSTFLAGS="-C opt-level=2"
RUSTFLAGS="-C opt-level=3"
#-- Make Flags: change this for DistCC/SMP systems #-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j$(nproc) -l$(nproc)" MAKEFLAGS="-j$(nproc) -l$(nproc)"
@ -58,7 +80,7 @@ MAKEFLAGS="-j$(nproc) -l$(nproc)"
#-- Debugging flags #-- Debugging flags
DEBUG_CFLAGS="-g" DEBUG_CFLAGS="-g"
DEBUG_CXXFLAGS="$DEBUG_CFLAGS" DEBUG_CXXFLAGS="$DEBUG_CFLAGS"
DEBUG_RUSTFLAGS="-C debuginfo=2" DEBUG_RUSTFLAGS="-C debuginfo=3"
######################################################################### #########################################################################
# BUILD ENVIRONMENT # BUILD ENVIRONMENT

View File

@ -0,0 +1,24 @@
# mkinitcpio preset file for the 'Melawy Linux' package on archiso
KNAME="cachyos"
KVER=$(ls /usr/lib/modules/ | grep $KNAME | sort -V | tail -n 1)
if [[ -z "$KVER" ]]; then
exit
fi
cp -vf "/usr/lib/modules/$KVER/vmlinuz" "/boot/vmlinuz-linux-cachyos"
ALL_config="/etc/mkinitcpio.conf"
ALL_kver="/usr/lib/modules/$KVER/vmlinuz"
ALL_kver="/boot/vmlinuz-linux-cachyos"
ALL_microcode=(/boot/*-ucode.img)
PRESETS=('archiso')
#archiso_config="/etc/mkinitcpio.conf"
archiso_image="/boot/initramfs-linux-cachyos.img"
#archiso_uki="/efi/EFI/Linux/linux-cachyos.efi"
archiso_uki="/boot/linux-cachyos.efi"
archiso_options="--cmdline /proc/cmdline"

View File

@ -88,12 +88,22 @@ LocalFileSigLevel = Optional
[melawy] [melawy]
Include = /etc/pacman.d/melawy-linux-mirrorlist Include = /etc/pacman.d/melawy-linux-mirrorlist
[melawy-core]
Include = /etc/pacman.d/melawy-linux-mirrorlist
[melawy-3party] [melawy-3party]
Include = /etc/pacman.d/melawy-linux-mirrorlist Include = /etc/pacman.d/melawy-linux-mirrorlist
[melawy-archlinux]
Include = /etc/pacman.d/melawy-linux-mirrorlist
[cachyos]
Include = /etc/pacman.d/cachyos-mirrorlist
[cache] [cache]
SigLevel = Optional SigLevel = Optional
Server = http://192.168.1.250/$repo/$arch Server = http://192.168.1.250/$repo/$arch
Server = https://repo.melawy.ru/$repo/$arch
# The testing repositories are disabled by default. To enable, uncomment the # The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately # repo name header and Include lines. You can add preferred servers immediately
@ -141,6 +151,9 @@ Include = /etc/pacman.d/chaotic-mirrorlist
[chaotic-aur] [chaotic-aur]
Include = /etc/pacman.d/chaotic-mirrorlist Include = /etc/pacman.d/chaotic-mirrorlist
[endeavouros]
Include = /etc/pacman.d/endeavouros-mirrorlist
# [custom] # [custom]
# SigLevel = Optional TrustAll # SigLevel = Optional TrustAll
# Server = file:///home/custompkgs # Server = file:///home/custompkgs

View File

@ -88,12 +88,22 @@ LocalFileSigLevel = Optional
[melawy] [melawy]
Include = /etc/pacman.d/melawy-linux-mirrorlist Include = /etc/pacman.d/melawy-linux-mirrorlist
[melawy-core]
Include = /etc/pacman.d/melawy-linux-mirrorlist
[melawy-3party] [melawy-3party]
Include = /etc/pacman.d/melawy-linux-mirrorlist Include = /etc/pacman.d/melawy-linux-mirrorlist
[melawy-archlinux]
Include = /etc/pacman.d/melawy-linux-mirrorlist
[cachyos]
Include = /etc/pacman.d/cachyos-mirrorlist
# [cache] # [cache]
# SigLevel = Optional # SigLevel = Optional
# Server = http://192.168.1.250/$repo/$arch # Server = http://192.168.1.250/$repo/$arch
# Server = https://repo.melawy.ru/$repo/$arch
# The testing repositories are disabled by default. To enable, uncomment the # The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately # repo name header and Include lines. You can add preferred servers immediately
@ -141,6 +151,9 @@ Include = /etc/pacman.d/chaotic-mirrorlist
[chaotic-aur] [chaotic-aur]
Include = /etc/pacman.d/chaotic-mirrorlist Include = /etc/pacman.d/chaotic-mirrorlist
[endeavouros]
Include = /etc/pacman.d/endeavouros-mirrorlist
# [custom] # [custom]
# SigLevel = Optional TrustAll # SigLevel = Optional TrustAll
# Server = file:///home/custompkgs # Server = file:///home/custompkgs

View File

@ -88,12 +88,22 @@ LocalFileSigLevel = Optional
[melawy] [melawy]
Include = /etc/pacman.d/melawy-linux-mirrorlist Include = /etc/pacman.d/melawy-linux-mirrorlist
[melawy-core]
Include = /etc/pacman.d/melawy-linux-mirrorlist
[melawy-3party] [melawy-3party]
Include = /etc/pacman.d/melawy-linux-mirrorlist Include = /etc/pacman.d/melawy-linux-mirrorlist
[melawy-archlinux]
Include = /etc/pacman.d/melawy-linux-mirrorlist
[cachyos]
Include = /etc/pacman.d/cachyos-mirrorlist
# [cache] # [cache]
# SigLevel = Optional # SigLevel = Optional
# Server = http://192.168.1.250/$repo/$arch # Server = http://192.168.1.250/$repo/$arch
# Server = https://repo.melawy.ru/$repo/$arch
# The testing repositories are disabled by default. To enable, uncomment the # The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately # repo name header and Include lines. You can add preferred servers immediately
@ -141,6 +151,9 @@ Include = /etc/pacman.d/chaotic-mirrorlist
[chaotic-aur] [chaotic-aur]
Include = /etc/pacman.d/chaotic-mirrorlist Include = /etc/pacman.d/chaotic-mirrorlist
[endeavouros]
Include = /etc/pacman.d/endeavouros-mirrorlist
# [custom] # [custom]
# SigLevel = Optional TrustAll # SigLevel = Optional TrustAll
# Server = file:///home/custompkgs # Server = file:///home/custompkgs

View File

@ -0,0 +1,4 @@
GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell
[Wayland]
CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1 --inputmethod qtvirtualkeyboard

View File

@ -0,0 +1 @@
/usr/lib/systemd/system/systemd-oomd.service

View File

@ -0,0 +1 @@
/usr/lib/systemd/system/dbus-broker.service

View File

@ -0,0 +1 @@
/usr/lib/systemd/system/ananicy-cpp.service

View File

@ -0,0 +1 @@
/usr/lib/systemd/system/bpftune.service

View File

@ -0,0 +1 @@
/usr/lib/systemd/system/irqbalance.service

View File

@ -0,0 +1 @@
/usr/lib/systemd/system/preload.service

View File

@ -0,0 +1 @@
/usr/lib/systemd/system/systemd-oomd.service

View File

@ -51,7 +51,7 @@ if ! __has_esp__; then
fi fi
REFIND_DIR=$(find "$ESP" -type d -iname refind) REFIND_DIR=$(find "${ESP}" -type d -iname refind)
if ! [[ -d "${REFIND_DIR}" ]]; then if ! [[ -d "${REFIND_DIR}" ]]; then
echo "rEFInd not installed in $ESP" >&2 echo "rEFInd not installed in $ESP" >&2
exit 1 exit 1
@ -77,35 +77,35 @@ echo "Installing themes in ${REFIND_DIR}"
mkdir -p "${REFIND_DIR}/themes" mkdir -p "${REFIND_DIR}/themes"
mkdir -p "${EFI_BOOT_DIR}/themes" mkdir -p "${EFI_BOOT_DIR}/themes"
cp -vrf "$install_dir/." "${REFIND_DIR}/themes/." cp -vrf "${install_dir}/." "${REFIND_DIR}/themes/."
cp -vrf "$install_dir/." "${EFI_BOOT_DIR}/themes/." cp -vrf "${install_dir}/." "${EFI_BOOT_DIR}/themes/."
if [ -f "${REFIND_DIR}/refind_x64.efi" ]; then if [ -f "${REFIND_DIR}/refind_x64.efi" ]; then
# # Remove all from "${EFI_BOOT_DIR}" except "themes" # Remove all from "${EFI_BOOT_DIR}" except "themes"
# f_list=$(ls -1 "${EFI_BOOT_DIR}" | grep -v "themes") # f_list=$(ls -1 "${EFI_BOOT_DIR}" | grep -v "themes")
# #
# for i in ${f_list[@]} # for i in ${f_list[@]}
# do # do
# rm -vr "${EFI_BOOT_DIR}/${i}" # rm -vr "${EFI_BOOT_DIR}/${i}"
# done # done
# #
# unset f_list # unset f_list
#
# # Copy all from "${REFIND_DIR}" to "${EFI_BOOT_DIR}" except "themes" # Copy all from "${REFIND_DIR}" to "${EFI_BOOT_DIR}" except "themes"
# f_list=$(ls -1 "${REFIND_DIR}" | grep -v "themes") f_list=$(ls -1 "${REFIND_DIR}" | grep -v "themes")
#
# for i in ${f_list[@]} for i in "${f_list[@]}"
# do do
# if [ -f ${REFIND_DIR}/${i} ]; then if [ -f "${REFIND_DIR}/${i}" ]; then
# cp -vf "${REFIND_DIR}/${i}" "${EFI_BOOT_DIR}/${i}" cp -vf "${REFIND_DIR}/${i}" "${EFI_BOOT_DIR}/${i}"
# fi fi
#
# if [ -d ${REFIND_DIR}/${i} ]; then if [ -d "${REFIND_DIR}/${i}" ]; then
# cp -vrf "${REFIND_DIR}/${i}" "${EFI_BOOT_DIR}/${i}" cp -vrf "${REFIND_DIR}/${i}" "${EFI_BOOT_DIR}/${i}"
# fi fi
# done done
#
# unset f_list unset f_list
cp -vf "${REFIND_DIR}/refind_x64.efi" "${EFI_BOOT_DIR}/bootx64.efi" cp -vf "${REFIND_DIR}/refind_x64.efi" "${EFI_BOOT_DIR}/bootx64.efi"
fi fi
@ -115,18 +115,18 @@ REFIND_CONF_PATH="${REFIND_DIR}/refind.conf"
cp -vf "/etc/refind-menu-generator/refind.conf" "${REFIND_DIR}/refind.conf" cp -vf "/etc/refind-menu-generator/refind.conf" "${REFIND_DIR}/refind.conf"
RESULT=$(grep "theme" "$REFIND_CONF_PATH") RESULT=$(grep "theme" "${REFIND_CONF_PATH}")
if [[ "$?" = "0" ]]; then if [[ "$?" = "0" ]]; then
CURRENT_THEME=$(echo $RESULT | cut -d"/" -f2) CURRENT_THEME=$(echo "${RESULT}" | cut -d"/" -f2)
if [[ "$?" == "0" ]]; then if [[ "$?" == "0" ]]; then
sed -e "s/$CURRENT_THEME/$THEME_NAME/g" -i "$REFIND_CONF_PATH" sed -e "s/${CURRENT_THEME}/${THEME_NAME}/g" -i "${REFIND_CONF_PATH}"
fi fi
else else
if [[ -z "$(tail -n 1 -c 1 $REFIND_CONF_PATH)" ]];then if [[ -z "$(tail -n 1 -c 1 ${REFIND_CONF_PATH})" ]];then
echo "include themes/$THEME_NAME/theme.conf" >> "$REFIND_CONF_PATH" echo "include themes/${THEME_NAME}/theme.conf" >> "${REFIND_CONF_PATH}"
else else
echo -e "\ninclude themes/$THEME_NAME/theme.conf" >> "$REFIND_CONF_PATH" echo -e "\ninclude themes/${THEME_NAME}/theme.conf" >> "${REFIND_CONF_PATH}"
fi fi
fi fi

View File

@ -1,28 +1,41 @@
#!/bin/bash #!/bin/bash
exit 0 efi_refind_path=(
/boot/EFI/refind
/efi/EFI/refind
/boot/efi/EFI/refind
)
if [ -d '/boot/EFI/refind/' ] && [ -d /usr/share/refind/themes ]; then for REFIND_DIR in "${efi_refind_path[@]}"; do
cp -vrf /usr/share/refind/themes /boot/EFI/refind/ echo "${REFIND_DIR}"
fi
if [ -d '/efi/EFI/refind/' ] && [ -d /usr/share/refind/themes ]; then if [ -d "${REFIND_DIR}" ]; then
cp -vrf /usr/share/refind/themes /efi/EFI/refind/ if [ -d "$(dirname ${REFIND_DIR})/boot" ]; then
fi EFI_BOOT_DIR="$(dirname ${REFIND_DIR})/boot"
if [ -d '/boot/efi/EFI/refind/' ] && [ -d /usr/share/refind/themes ]; then elif [ -d "$(dirname ${REFIND_DIR})/Boot" ]; then
cp -vrf /usr/share/refind/themes /boot/efi/EFI/refind/ EFI_BOOT_DIR="$(dirname ${REFIND_DIR})/Boot"
fi
elif [ -d "$(dirname ${REFIND_DIR})/BOOT" ]; then
EFI_BOOT_DIR="$(dirname ${REFIND_DIR})/BOOT"
if [ -d '/boot/EFI/refind/' ] && [ -f /etc/refind-menu-generator/refind.conf ]; then else
cp -vf /etc/refind-menu-generator/refind.conf /boot/EFI/refind/ EFI_BOOT_DIR="$(dirname ${REFIND_DIR})/boot"
fi mkdir -p "${EFI_BOOT_DIR}"
fi
if [ -d '/efi/EFI/refind/' ] && [ -f /etc/refind-menu-generator/refind.conf ]; then if [ -d "/usr/share/refind/themes" ]; then
cp -vf /etc/refind-menu-generator/refind.conf /efi/EFI/refind/ mkdir -p "${REFIND_DIR}/themes"
fi cp -vrf "/usr/share/refind/themes/." "${REFIND_DIR}/themes/."
if [ -d '/boot/efi/EFI/refind/' ] && [ -f /etc/refind-menu-generator/refind.conf ]; then cp -vrf "${REFIND_DIR}/." "${EFI_BOOT_DIR}/."
cp -vf /etc/refind-menu-generator/refind.conf /boot/efi/EFI/refind/ fi
fi
if [ -f "/etc/refind-menu-generator/refind.conf" ]; then
cp -vf "/etc/refind-menu-generator/refind.conf" "${REFIND_DIR}/"
fi
cp -vf "${REFIND_DIR}/refind_x64.efi" "${EFI_BOOT_DIR}/bootx64.efi"
rm "${EFI_BOOT_DIR}/refind_x64.efi"
fi
done

View File

@ -0,0 +1,11 @@
[$Version]
update_info=delete_cursor_old_default_size.upd:DeleteCursorOldDefaultSize,kcminputrc_fix_botched_5_21_0.upd:kcminputrc_fix_botched_5_21_0_pre,kcminputrc_fix_botched_5_21_0.upd:kcminputrc_fix_botched_5_21_0,kcminputrc_repeat.upd:kcminputrc_migrate_key_repeat
[Keyboard]
NumLock=0
[Mouse]
X11LibInputXAccelProfileFlat=true
[Tmp]
update_info=delete_cursor_old_default_size.upd:DeleteCursorOldDefaultSize

Binary file not shown.

View File

@ -1,7 +1,7 @@
title Melawy Linux x86_64 UEFI Default title Melawy Linux x86_64 UEFI Default
sort-key 01 sort-key 01
linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-xanmod-anbox linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos
initrd /%INSTALL_DIR%/boot/intel-ucode.img initrd /%INSTALL_DIR%/boot/intel-ucode.img
initrd /%INSTALL_DIR%/boot/amd-ucode.img initrd /%INSTALL_DIR%/boot/amd-ucode.img
initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux-xanmod-anbox.img initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos.img
options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=10G copytoram=n module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm,pcspkr nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 nvme_load=yes quiet splash bgrt_disable add_efi_memmap options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=10G copytoram=n module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm,pcspkr nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 nvme_load=yes quiet splash bgrt_disable add_efi_memmap

View File

@ -1,7 +1,7 @@
title Melawy Linux x86_64 UEFI NVIDIA (latest cards only) title Melawy Linux x86_64 UEFI NVIDIA (latest cards only)
sort-key 02 sort-key 02
linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-xanmod-anbox linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos
initrd /%INSTALL_DIR%/boot/intel-ucode.img initrd /%INSTALL_DIR%/boot/intel-ucode.img
initrd /%INSTALL_DIR%/boot/amd-ucode.img initrd /%INSTALL_DIR%/boot/amd-ucode.img
initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux-xanmod-anbox.img initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos.img
options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=10G copytoram=n nvidia nvidia-drm.modeset=1 nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 nvme_load=yes module_blacklist=pcspkr quiet splash bgrt_disable add_efi_memmap options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=10G copytoram=n nvidia nvidia-drm.modeset=1 nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 nvme_load=yes module_blacklist=pcspkr quiet splash bgrt_disable add_efi_memmap

View File

@ -1,4 +1,4 @@
title Melawy Linux x86_64 UEFI EFI Default title Melawy Linux x86_64 UEFI EFI Default
sort-key 03 sort-key 03
efi /%INSTALL_DIR%/boot/x86_64/linux-xanmod-anbox.efi efi /%INSTALL_DIR%/boot/x86_64/linux-cachyos.efi
options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=10G copytoram=n module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm,pcspkr nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 nvme_load=yes quiet splash bgrt_disable add_efi_memmap options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=10G copytoram=n module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm,pcspkr nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 nvme_load=yes quiet splash bgrt_disable add_efi_memmap

View File

@ -1,4 +1,4 @@
title Melawy Linux x86_64 UEFI EFI NVIDIA (latest cards only) title Melawy Linux x86_64 UEFI EFI NVIDIA (latest cards only)
sort-key 04 sort-key 04
efi /%INSTALL_DIR%/boot/x86_64/linux-xanmod-anbox.efi efi /%INSTALL_DIR%/boot/x86_64/linux-cachyos.efi
options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=10G copytoram=n nvidia nvidia-drm.modeset=1 nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 nvme_load=yes module_blacklist=pcspkr quiet splash bgrt_disable add_efi_memmap options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=10G copytoram=n nvidia nvidia-drm.modeset=1 nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 nvme_load=yes module_blacklist=pcspkr quiet splash bgrt_disable add_efi_memmap

View File

@ -44,14 +44,14 @@ play 600 988 1 1319 4
menuentry "Melawy Linux install medium (x86_64, UEFI)" --class arch --class gnu-linux --class gnu --class os --id 'Melawy Linux' { menuentry "Melawy Linux install medium (x86_64, UEFI)" --class arch --class gnu-linux --class gnu --class os --id 'Melawy Linux' {
set gfxpayload=keep set gfxpayload=keep
linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-xanmod-anbox archisobasedir=%INSTALL_DIR% archisodevice=UUID=${ARCHISO_UUID} cow_spacesize=4G copytoram=n quiet splash bgrt_disable add_efi_memmap linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos archisobasedir=%INSTALL_DIR% archisodevice=UUID=${ARCHISO_UUID} cow_spacesize=4G copytoram=n quiet splash bgrt_disable add_efi_memmap
initrd /%INSTALL_DIR%/boot/intel-ucode.img /%INSTALL_DIR%/boot/amd-ucode.img /%INSTALL_DIR%/boot/x86_64/initramfs-linux-xanmod-anbox.img initrd /%INSTALL_DIR%/boot/intel-ucode.img /%INSTALL_DIR%/boot/amd-ucode.img /%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos.img
} }
menuentry "Melawy Linux install medium with speakup screen reader (x86_64, UEFI)" --hotkey s --class arch --class gnu-linux --class gnu --class os --id 'Melawy-accessibility' { menuentry "Melawy Linux install medium with speakup screen reader (x86_64, UEFI)" --hotkey s --class arch --class gnu-linux --class gnu --class os --id 'Melawy-accessibility' {
set gfxpayload=keep set gfxpayload=keep
linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-xanmod-anbox archisobasedir=%INSTALL_DIR% archisodevice=UUID=${ARCHISO_UUID} accessibility=on cow_spacesize=4G copytoram=n quiet splash bgrt_disable add_efi_memmap linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos archisobasedir=%INSTALL_DIR% archisodevice=UUID=${ARCHISO_UUID} accessibility=on cow_spacesize=4G copytoram=n quiet splash bgrt_disable add_efi_memmap
initrd /%INSTALL_DIR%/boot/intel-ucode.img /%INSTALL_DIR%/boot/amd-ucode.img /%INSTALL_DIR%/boot/x86_64/initramfs-linux-xanmod-anbox.img initrd /%INSTALL_DIR%/boot/intel-ucode.img /%INSTALL_DIR%/boot/amd-ucode.img /%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos.img
} }
if [ "${grub_platform}" == "efi" ]; then if [ "${grub_platform}" == "efi" ]; then

View File

@ -6,13 +6,20 @@
critical: true critical: true
packages: packages:
- archlinux-keyring - archlinux-keyring
- melawy-linux-keyring
- melawy-linux-mirrorlist
- cachyos-keyring
- cachyos-mirrorlist
- arcolinux-keyring - arcolinux-keyring
- arcolinux-mirrorlist-git - arcolinux-mirrorlist-git
- chaotic-keyring
- chaotic-mirrorlist
- endeavouros-keyring
- endeavouros-mirrorlist
- base - base
- base-devel - base-devel
- busybox - busybox
- chaotic-keyring
- chaotic-mirrorlist
- chwd - chwd
- chwd-db - chwd-db
- dracut - dracut
@ -20,18 +27,10 @@
- iptables-nft - iptables-nft
- linux-firmware - linux-firmware
- linux-firmware-marvell - linux-firmware-marvell
- linux-xanmod-anbox - linux-api-headers
- linux-xanmod-anbox-headers - linux-cachyos
- melawy-branding - linux-cachyos-headers
- melawy-check-reboot-required - linux-cachyos-zfs
- 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
- melawy-welcome
- pacman - pacman
- pacman-contrib - pacman-contrib
- pacman-mirrorlist - pacman-mirrorlist
@ -47,6 +46,39 @@
- fwupd - fwupd
- fwupd-efi - fwupd-efi
- melawy-branding
- melawy-check-reboot-required
- melawy-dracut-initramfs
- melawy-dracut-ukify
- melawy-etc-skel-std-powerman-kvantum
- melawy-skel-root
- melawy-refind-menu-generator
- melawy-welcome
- name: "Performance"
description: "needed Melawy Linux packages"
hidden: true
expanded: false
selected: true
critical: true
packages:
- uksmd
- uksmdstats
# - performance-tweaks
- powersave-tweaks
- dbus-broker
- zram-generator
- bpftune
- ananicy-cpp
- ananicy-rules
- bpftune
- irqbalance
- preload
- systemd-oomd-defaults
- realtime-privileges
- cachyos-settings
- lua-filesystem
- name: "Terminal-Base + Common packages" - name: "Terminal-Base + Common packages"
description: "Recommended. Don't change unless you know what you're doing." description: "Recommended. Don't change unless you know what you're doing."
hidden: true hidden: true
@ -105,6 +137,7 @@
selected: true selected: true
packages: packages:
- btrfs-assistant - btrfs-assistant
- btrfsmaintenance
- btrfs-snapshots - btrfs-snapshots
- timeshift - timeshift
- timeshift-autosnap - timeshift-autosnap
@ -255,6 +288,7 @@
- pipewire-alsa - pipewire-alsa
- pipewire-jack - pipewire-jack
- pipewire-pulse - pipewire-pulse
- lib32-pipewire
- pipewire-support - pipewire-support
- rtkit - rtkit
- wireplumber - wireplumber
@ -393,6 +427,12 @@
- melawy-plymouth-theme-hard-install-fenek - melawy-plymouth-theme-hard-install-fenek
- melawy-refind-theme-hard-install-fenek - melawy-refind-theme-hard-install-fenek
- name: "Window decorators"
selected: true
packages:
- klassy
- roundedsbe
- name: "Base desktop theme" - name: "Base desktop theme"
selected: true selected: true
packages: packages:
@ -566,22 +606,22 @@
packages: packages:
- appimagelauncher - appimagelauncher
- downgrade - downgrade
- topgrade
- flatpak - flatpak
- ocs-url - ocs-url
- pace - pace
- pamac-cli - pamac-all
- pamac-gtk - melawy-pamac-helper
- libpamac
- libpamac-flatpak-plugin
- libpamac-snap-plugin
- paru - paru
- pkgfile - pkgfile
- rebuild-detector - rebuild-detector
- reflector - reflector
- reflector-simple - reflector-simple
- rate-mirrors
- snapd - snapd
- snapd-glib - snapd-glib
- yay - yay
- paclast
- name: "Browsers and language package" - name: "Browsers and language package"
description: "Add firefox and language pack if possible and other browsers" description: "Add firefox and language pack if possible and other browsers"
@ -647,6 +687,7 @@
- haruna - haruna
- mpv - mpv
- vlc-luajit - vlc-luajit
- ffmpeg-obs
- name: "Picture editors" - name: "Picture editors"
description: "Add the photo and picture editors" description: "Add the photo and picture editors"
@ -778,6 +819,8 @@
- corectrl - corectrl
- gwe - gwe
- obs-studio-tytan652 - obs-studio-tytan652
- vlc-luajit
- ffmpeg-obs
- qbittorrent - qbittorrent
- yakuake - yakuake
- yandex-disk - yandex-disk
@ -1010,6 +1053,8 @@
- linux-lts-headers - linux-lts-headers
- linux-xanmod - linux-xanmod
- linux-xanmod-headers - linux-xanmod-headers
- linux-xanmod-anbox
- linux-xanmod-anbox-headers
- linux-xanmod-lts - linux-xanmod-lts
- linux-xanmod-lts-headers - linux-xanmod-lts-headers
- linux-zen - linux-zen

View File

@ -6,13 +6,20 @@
critical: true critical: true
packages: packages:
- archlinux-keyring - archlinux-keyring
- melawy-linux-keyring
- melawy-linux-mirrorlist
- cachyos-keyring
- cachyos-mirrorlist
- arcolinux-keyring - arcolinux-keyring
- arcolinux-mirrorlist-git - arcolinux-mirrorlist-git
- chaotic-keyring
- chaotic-mirrorlist
- endeavouros-keyring
- endeavouros-mirrorlist
- base - base
- base-devel - base-devel
- busybox - busybox
- chaotic-keyring
- chaotic-mirrorlist
- chwd - chwd
- chwd-db - chwd-db
- dracut - dracut
@ -20,18 +27,10 @@
- iptables-nft - iptables-nft
- linux-firmware - linux-firmware
- linux-firmware-marvell - linux-firmware-marvell
- linux-xanmod-anbox - linux-api-headers
- linux-xanmod-anbox-headers - linux-cachyos
- melawy-branding - linux-cachyos-headers
- melawy-check-reboot-required - linux-cachyos-zfs
- 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
- melawy-welcome
- pacman - pacman
- pacman-contrib - pacman-contrib
- pacman-mirrorlist - pacman-mirrorlist
@ -47,6 +46,39 @@
- fwupd - fwupd
- fwupd-efi - fwupd-efi
- melawy-branding
- melawy-check-reboot-required
- melawy-dracut-initramfs
- melawy-dracut-ukify
- melawy-etc-skel-std-powerman-kvantum
- melawy-skel-root
- melawy-refind-menu-generator
- melawy-welcome
- name: "Performance"
description: "needed Melawy Linux packages"
hidden: true
expanded: false
selected: true
critical: true
packages:
- uksmd
- uksmdstats
# - performance-tweaks
- powersave-tweaks
- dbus-broker
- zram-generator
- bpftune
- ananicy-cpp
- ananicy-rules
- bpftune
- irqbalance
- preload
- systemd-oomd-defaults
- realtime-privileges
- cachyos-settings
- lua-filesystem
- name: "Terminal-Base + Common packages" - name: "Terminal-Base + Common packages"
description: "Recommended. Don't change unless you know what you're doing." description: "Recommended. Don't change unless you know what you're doing."
hidden: true hidden: true
@ -105,6 +137,7 @@
selected: true selected: true
packages: packages:
- btrfs-assistant - btrfs-assistant
- btrfsmaintenance
- btrfs-snapshots - btrfs-snapshots
- timeshift - timeshift
- timeshift-autosnap - timeshift-autosnap
@ -255,6 +288,7 @@
- pipewire-alsa - pipewire-alsa
- pipewire-jack - pipewire-jack
- pipewire-pulse - pipewire-pulse
- lib32-pipewire
- pipewire-support - pipewire-support
- rtkit - rtkit
- wireplumber - wireplumber
@ -393,6 +427,12 @@
- melawy-plymouth-theme-hard-install-fenek - melawy-plymouth-theme-hard-install-fenek
- melawy-refind-theme-hard-install-fenek - melawy-refind-theme-hard-install-fenek
- name: "Window decorators"
selected: true
packages:
- klassy
- roundedsbe
- name: "Base desktop theme" - name: "Base desktop theme"
selected: true selected: true
packages: packages:
@ -566,22 +606,22 @@
packages: packages:
- appimagelauncher - appimagelauncher
- downgrade - downgrade
- topgrade
- flatpak - flatpak
- ocs-url - ocs-url
- pace - pace
- pamac-cli - pamac-all
- pamac-gtk - melawy-pamac-helper
- libpamac
- libpamac-flatpak-plugin
- libpamac-snap-plugin
- paru - paru
- pkgfile - pkgfile
- rebuild-detector - rebuild-detector
- reflector - reflector
- reflector-simple - reflector-simple
- rate-mirrors
- snapd - snapd
- snapd-glib - snapd-glib
- yay - yay
- paclast
- name: "Browsers and language package" - name: "Browsers and language package"
description: "Add firefox and language pack if possible and other browsers" description: "Add firefox and language pack if possible and other browsers"
@ -647,6 +687,7 @@
- haruna - haruna
- mpv - mpv
- vlc-luajit - vlc-luajit
- ffmpeg-obs
- name: "Picture editors" - name: "Picture editors"
description: "Add the photo and picture editors" description: "Add the photo and picture editors"
@ -778,6 +819,8 @@
- corectrl - corectrl
- gwe - gwe
- obs-studio-tytan652 - obs-studio-tytan652
- vlc-luajit
- ffmpeg-obs
- qbittorrent - qbittorrent
- yakuake - yakuake
- yandex-disk - yandex-disk
@ -1010,6 +1053,8 @@
- linux-lts-headers - linux-lts-headers
- linux-xanmod - linux-xanmod
- linux-xanmod-headers - linux-xanmod-headers
- linux-xanmod-anbox
- linux-xanmod-anbox-headers
- linux-xanmod-lts - linux-xanmod-lts
- linux-xanmod-lts-headers - linux-xanmod-lts-headers
- linux-zen - linux-zen

View File

@ -5,19 +5,25 @@ arcolinux-mirrorlist-git
base base
base-devel base-devel
busybox busybox
cachyos-keyring
cachyos-mirrorlist
chaotic-keyring chaotic-keyring
chaotic-mirrorlist chaotic-mirrorlist
chwd chwd
chwd-db chwd-db
dracut dracut
endeavouros-keyring
endeavouros-mirrorlist
fwupd fwupd
fwupd-efi fwupd-efi
gptfdisk gptfdisk
iptables-nft iptables-nft
linux-api-headers
linux-cachyos
linux-cachyos-headers
linux-cachyos-zfs
linux-firmware linux-firmware
linux-firmware-marvell linux-firmware-marvell
linux-xanmod-anbox
linux-xanmod-anbox-headers
melawy-branding melawy-branding
melawy-check-reboot-required melawy-check-reboot-required
melawy-dracut-initramfs melawy-dracut-initramfs
@ -41,6 +47,23 @@ xf86-input-void
xf86-video-fbdev xf86-video-fbdev
xf86-video-openchrome xf86-video-openchrome
## Performance
ananicy-cpp
ananicy-rules
bpftune
bpftune
cachyos-settings
dbus-broker
irqbalance
lua-filesystem
powersave-tweaks
preload
realtime-privileges
systemd-oomd-defaults
uksmd
uksmdstats
zram-generator
## Terminal-Base + Common packages ## Terminal-Base + Common packages
## CPU specific microcode update packages ## CPU specific microcode update packages
@ -81,6 +104,7 @@ xfsprogs
## BTRFS filesystem ## BTRFS filesystem
btrfs-assistant btrfs-assistant
btrfs-snapshots btrfs-snapshots
btrfsmaintenance
timeshift timeshift
timeshift-autosnap timeshift-autosnap
@ -211,6 +235,7 @@ xl2tpd
alsa-firmware alsa-firmware
alsa-plugins alsa-plugins
alsa-utils alsa-utils
lib32-pipewire
pavucontrol pavucontrol
pipewire-alsa pipewire-alsa
pipewire-jack pipewire-jack
@ -310,6 +335,10 @@ melawy-plymouth-theme-nier-a2
melawy-plymouth-theme-hard-install-nier-a2 melawy-plymouth-theme-hard-install-nier-a2
melawy-refind-theme-hard-install-nier-a2 melawy-refind-theme-hard-install-nier-a2
## Window decorators
klassy
roundedsbe
## Base desktop theme ## Base desktop theme
melawy-icon-theme melawy-icon-theme
melawy-theme melawy-theme
@ -448,20 +477,20 @@ xdg-utils
appimagelauncher appimagelauncher
downgrade downgrade
flatpak flatpak
libpamac melawy-pamac-helper
libpamac-flatpak-plugin
libpamac-snap-plugin
ocs-url ocs-url
pace pace
pamac-cli paclast
pamac-gtk pamac-all
paru paru
pkgfile pkgfile
rate-mirrors
rebuild-detector rebuild-detector
reflector reflector
reflector-simple reflector-simple
snapd snapd
snapd-glib snapd-glib
topgrade
yay yay
## Browsers and language package ## Browsers and language package
@ -481,6 +510,7 @@ freeoffice
## Media players ## Media players
audacious audacious
elisa elisa
ffmpeg-obs
haruna haruna
mpv mpv
vlc-luajit vlc-luajit
@ -568,11 +598,13 @@ kleopatra
## Desktop applications ## Desktop applications
anydesk-bin anydesk-bin
corectrl corectrl
ffmpeg-obs
filezilla filezilla
gwe gwe
meld meld
obs-studio-tytan652 obs-studio-tytan652
qbittorrent qbittorrent
vlc-luajit
yakuake yakuake
yandex-disk yandex-disk
yandex-disk-indicator yandex-disk-indicator

View File

@ -88,9 +88,18 @@ LocalFileSigLevel = Optional
[melawy] [melawy]
Include = /etc/pacman.d/melawy-linux-mirrorlist Include = /etc/pacman.d/melawy-linux-mirrorlist
[melawy-core]
Include = /etc/pacman.d/melawy-linux-mirrorlist
[melawy-3party] [melawy-3party]
Include = /etc/pacman.d/melawy-linux-mirrorlist Include = /etc/pacman.d/melawy-linux-mirrorlist
[melawy-archlinux]
Include = /etc/pacman.d/melawy-linux-mirrorlist
[cachyos]
Include = /etc/pacman.d/cachyos-mirrorlist
# The testing repositories are disabled by default. To enable, uncomment the # The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately # repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors. # after the header, and they will be used before the default mirrors.
@ -122,6 +131,11 @@ Include = /etc/pacman.d/mirrorlist
#SigLevel = Optional TrustAll #SigLevel = Optional TrustAll
#Server = file:///home/custompkgs #Server = file:///home/custompkgs
[cache]
SigLevel = Optional
Server = http://192.168.1.250/$repo/$arch
Server = https://repo.melawy.ru/$repo/$arch
[arcolinux_repo] [arcolinux_repo]
Include = /etc/pacman.d/arcolinux-mirrorlist Include = /etc/pacman.d/arcolinux-mirrorlist
@ -137,6 +151,9 @@ Include = /etc/pacman.d/chaotic-mirrorlist
[chaotic-aur] [chaotic-aur]
Include = /etc/pacman.d/chaotic-mirrorlist Include = /etc/pacman.d/chaotic-mirrorlist
[endeavouros]
Include = /etc/pacman.d/endeavouros-mirrorlist
# [xhbp] # [xhbp]
# SigLevel = Optional TrustAll # SigLevel = Optional TrustAll
# Server = https://xerolinux.github.io/$repo/$arch # Server = https://xerolinux.github.io/$repo/$arch
@ -153,11 +170,6 @@ Include = /etc/pacman.d/chaotic-mirrorlist
# SigLevel = Optional TrustAll # SigLevel = Optional TrustAll
# Include = /etc/pacman.d/xero-mirrorlist # Include = /etc/pacman.d/xero-mirrorlist
# #
# [cachyos]
# Include = /etc/pacman.d/cachyos-mirrorlist
#
# [endeavouros]
# Include = /etc/pacman.d/endeavouros-mirrorlist
# [melawy-aur] # [melawy-aur]
# Include = /etc/pacman.d/melawy-linux-mirrorlist # Include = /etc/pacman.d/melawy-linux-mirrorlist
@ -171,10 +183,6 @@ Include = /etc/pacman.d/chaotic-mirrorlist
# [melawy-aur-gui-app] # [melawy-aur-gui-app]
# Include = /etc/pacman.d/melawy-linux-mirrorlist # Include = /etc/pacman.d/melawy-linux-mirrorlist
# [cache]
# SigLevel = Optional
# Server = https://repo.melawy.ru/$repo/$arch
# [custom] # [custom]
# SigLevel = Optional TrustAll # SigLevel = Optional TrustAll
# Server = file:///home/custompkgs # Server = file:///home/custompkgs

View File

@ -2,8 +2,8 @@
# shellcheck disable=SC2034 # shellcheck disable=SC2034
date_tag=$(date +%Y.%m.%d) date_tag=$(date +%Y.%m.%d)
iso_name="Melawy-linux" iso_name="Melawy-Linux"
iso_label="Melawy_Linux_$(date +%Y.%m.%d)" iso_label="MelawyOS_$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)"
iso_publisher="Melawy Linux <https://melawy.ru>" iso_publisher="Melawy Linux <https://melawy.ru>"
iso_application="Melawy Linux Live/Rescue CD" iso_application="Melawy Linux Live/Rescue CD"
iso_version="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)" iso_version="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)"
@ -12,8 +12,7 @@ buildmodes=('iso')
quiet="n" quiet="n"
work_dir="../work" work_dir="../work"
out_dir="../sf/${date_tag}" out_dir="../sf/${date_tag}"
bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' 'uefi-x64.systemd-boot.esp' 'uefi-x64.systemd-boot.eltorito')
'uefi-x64.systemd-boot.esp' 'uefi-x64.systemd-boot.eltorito')
arch="x86_64" arch="x86_64"
pacman_conf="pacman_sys.conf" pacman_conf="pacman_sys.conf"
airootfs_image_type="squashfs" airootfs_image_type="squashfs"
@ -46,5 +45,3 @@ file_permissions=(
["/usr/local/bin/remove-unneeded"]="0:0:755" ["/usr/local/bin/remove-unneeded"]="0:0:755"
["/usr/local/bin/update-mirrorlist"]="0:0:755" ["/usr/local/bin/update-mirrorlist"]="0:0:755"
) )

View File

@ -4,8 +4,8 @@ Boot the Melawy Linux install medium using NBD.
It allows you to install Melawy Linux or perform system maintenance. It allows you to install Melawy Linux or perform system maintenance.
ENDTEXT ENDTEXT
MENU LABEL Melawy Linux install medium (x86_64, NBD) MENU LABEL Melawy Linux install medium (x86_64, NBD)
LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-xanmod-anbox LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos
INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux-xanmod-anbox.img INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos.img
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% archiso_nbd_srv=${pxeserver} checksum verify APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% archiso_nbd_srv=${pxeserver} checksum verify
SYSAPPEND 3 SYSAPPEND 3
@ -15,8 +15,8 @@ Boot the Melawy Linux live medium using NFS.
It allows you to install Melawy Linux or perform system maintenance. It allows you to install Melawy Linux or perform system maintenance.
ENDTEXT ENDTEXT
MENU LABEL Melawy Linux install medium (x86_64, NFS) MENU LABEL Melawy Linux install medium (x86_64, NFS)
LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-xanmod-anbox LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos
INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux-xanmod-anbox.img INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos.img
APPEND archisobasedir=%INSTALL_DIR% archiso_nfs_srv=${pxeserver}:/run/archiso/bootmnt checksum verify APPEND archisobasedir=%INSTALL_DIR% archiso_nfs_srv=${pxeserver}:/run/archiso/bootmnt checksum verify
SYSAPPEND 3 SYSAPPEND 3
@ -26,7 +26,7 @@ Boot the Melawy Linux live medium using HTTP.
It allows you to install Melawy Linux or perform system maintenance. It allows you to install Melawy Linux or perform system maintenance.
ENDTEXT ENDTEXT
MENU LABEL Melawy Linux install medium (x86_64, HTTP) MENU LABEL Melawy Linux install medium (x86_64, HTTP)
LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-xanmod-anbox LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos
INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux-xanmod-anbox.img INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos.img
APPEND archisobasedir=%INSTALL_DIR% archiso_http_srv=http://${pxeserver}/ checksum verify APPEND archisobasedir=%INSTALL_DIR% archiso_http_srv=http://${pxeserver}/ checksum verify
SYSAPPEND 3 SYSAPPEND 3

View File

@ -4,8 +4,8 @@ Boot the Melawy Linux install medium on BIOS.
It allows you to install Melawy Linux or perform system maintenance. It allows you to install Melawy Linux or perform system maintenance.
ENDTEXT ENDTEXT
MENU LABEL Melawy Linux default (x86_64, BIOS) MENU LABEL Melawy Linux default (x86_64, BIOS)
LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-xanmod-anbox LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos
INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux-xanmod-anbox.img INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos.img
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=10G copytoram=n nouveau.modeset=1 module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm,pcspkr i915.modeset=1 radeon.modeset=1 nvme_load=yes quiet splash bgrt_disable APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=10G copytoram=n nouveau.modeset=1 module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm,pcspkr i915.modeset=1 radeon.modeset=1 nvme_load=yes quiet splash bgrt_disable
# Nvidia propritary (Non-Free) # Nvidia propritary (Non-Free)
@ -15,8 +15,8 @@ Boot the Melawy Linux install medium on Bios NVIDIA-NONFREE driver LATEST-CARDS
It allows you to install Melawy Linux or perform system maintenance. It allows you to install Melawy Linux or perform system maintenance.
ENDTEXT ENDTEXT
MENU LABEL Melawy Linux NVIDIA (latest cards, x86_64, BIOS) MENU LABEL Melawy Linux NVIDIA (latest cards, x86_64, BIOS)
LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-xanmod-anbox LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos
INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux-xanmod-anbox.img INITRD /%INSTALL_DIR%/boot/intel-ucode.img,/%INSTALL_DIR%/boot/amd-ucode.img,/%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos.img
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=10G copytoram=n nvidia nvidia-drm.modeset=1 nouveau.modeset=0 module_blacklist=nouveau,pcspkr i915.modeset=1 radeon.modeset=1 nvme_load=yes quiet splash bgrt_disable APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=10G copytoram=n nvidia nvidia-drm.modeset=1 nouveau.modeset=0 module_blacklist=nouveau,pcspkr i915.modeset=1 radeon.modeset=1 nvme_load=yes quiet splash bgrt_disable
# Fallback (nomodeset) # Fallback (nomodeset)
@ -26,6 +26,6 @@ Boot the Melawy Linux install medium on Bios in fallback mode
It allows you to install Melawy Linux or perform system maintenance. It allows you to install Melawy Linux or perform system maintenance.
ENDTEXT ENDTEXT
MENU LABEL Melawy Linux Fallback (nomodeset, BIOS) MENU LABEL Melawy Linux Fallback (nomodeset, BIOS)
LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-xanmod-anbox LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos
INITRD /%INSTALL_DIR%/boot/x86_64/initramfs-linux-xanmod-anbox.img INITRD /%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos.img
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=10G copytoram=n module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm,pcspkr nomodeset nvme_load=yes quiet splash bgrt_disable APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=10G copytoram=n module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm,pcspkr nomodeset nvme_load=yes quiet splash bgrt_disable