mirror of
https://github.com/theupriser/steamify-cachyos-live-iso.git
synced 2026-10-02 15:10:26 +02:00
🔥 reduce iso size. add -v3 repos
This commit is contained in:
4 files changed
+39
-19
No files matched your search
@@ -21,6 +21,7 @@ HoldPkg = pacman glibc
|
|||||||
#CleanMethod = KeepInstalled
|
#CleanMethod = KeepInstalled
|
||||||
#UseDelta = 0.7
|
#UseDelta = 0.7
|
||||||
Architecture = auto
|
Architecture = auto
|
||||||
|
#<disabled_v3>Architecture = x86_64 x86_64_v3
|
||||||
|
|
||||||
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
|
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
|
||||||
#IgnorePkg =
|
#IgnorePkg =
|
||||||
@@ -68,6 +69,16 @@ LocalFileSigLevel = Optional
|
|||||||
# uncommented to enable the repo.
|
# uncommented to enable the repo.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# cachyos repos
|
||||||
|
#<disabled_v3>[cachyos-desktop-v3]
|
||||||
|
#<disabled_v3>Include = /etc/pacman.d/cachyos-v3-mirrorlist
|
||||||
|
#<disabled_v3>[cachyos-v3]
|
||||||
|
#<disabled_v3>Include = /etc/pacman.d/cachyos-v3-mirrorlist
|
||||||
|
[cachyos-desktop]
|
||||||
|
Include = /etc/pacman.d/cachyos-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.
|
||||||
@@ -96,9 +107,6 @@ Include = /etc/pacman.d/mirrorlist
|
|||||||
[multilib]
|
[multilib]
|
||||||
Include = /etc/pacman.d/mirrorlist
|
Include = /etc/pacman.d/mirrorlist
|
||||||
|
|
||||||
[cachyos]
|
|
||||||
Include = /etc/pacman.d/cachyos-mirrorlist
|
|
||||||
|
|
||||||
# An example of a custom package repository. See the pacman manpage for
|
# An example of a custom package repository. See the pacman manpage for
|
||||||
# tips on creating your own repositories.
|
# tips on creating your own repositories.
|
||||||
#[custom]
|
#[custom]
|
||||||
|
|||||||
@@ -70,4 +70,30 @@ _clean_packages(){
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_try_v3(){
|
||||||
|
/lib/ld-linux-x86-64.so.2 --help | grep "x86-64-v3 (supported, searched)" > /dev/null
|
||||||
|
|
||||||
|
local pacman_conf="/etc/pacman.conf"
|
||||||
|
local pacman_conf_cachyos="/etc/pacman-more.conf"
|
||||||
|
local pacman_conf_path_backup="/etc/pacman.conf.bak"
|
||||||
|
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
echo "x86-64-v3 is supported"
|
||||||
|
|
||||||
|
sed -i 's/Architecture = auto/#Architecture = auto/' $pacman_conf_cachyos
|
||||||
|
sed -i 's/#<disabled_v3>//g' $pacman_conf_cachyos
|
||||||
|
|
||||||
|
echo "backup old config"
|
||||||
|
mv $pacman_conf $pacman_conf_path_backup
|
||||||
|
|
||||||
|
echo "CachyOS -v3 Repo changed"
|
||||||
|
mv $pacman_conf_cachyos $pacman_conf
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "x86-64-v3 is not supported"
|
||||||
|
fi
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
_clean_packages
|
_clean_packages
|
||||||
|
_try_v3
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
_clean_packages(){
|
_clean_packages(){
|
||||||
local _leave_these_packages="base\nbase-devel\ncachyos-keyring\ncachyos-mirrorlist\ncachyos-hello\ngrub\nefibootmgr\n"
|
local _leave_these_packages="base\nbase-devel\ncachyos-keyring\ncachyos-mirrorlist\ncachyos-v3-mirrorlist\ncachyos-hello\ngrub\nefibootmgr\n"
|
||||||
local _packages_to_remove=($(comm -23 <(pacman -Qqt | sort) <({ pacman -Qqg base-devel; printf $_leave_these_packages; } | sort -u)))
|
local _packages_to_remove=($(comm -23 <(pacman -Qqt | sort) <({ pacman -Qqg base-devel; printf $_leave_these_packages; } | sort -u)))
|
||||||
local xx
|
local xx
|
||||||
# @ does one by one to avoid errors in the entire process
|
# @ does one by one to avoid errors in the entire process
|
||||||
|
|||||||
+1
-15
@@ -146,7 +146,6 @@ kwin-scripts-forceblur
|
|||||||
netctl
|
netctl
|
||||||
net-tools
|
net-tools
|
||||||
networkmanager
|
networkmanager
|
||||||
networkmanager-openconnect
|
|
||||||
networkmanager-openvpn
|
networkmanager-openvpn
|
||||||
networkmanager-qt
|
networkmanager-qt
|
||||||
networkmanager-vpnc
|
networkmanager-vpnc
|
||||||
@@ -190,7 +189,6 @@ qt5-tools
|
|||||||
|
|
||||||
xorg-server
|
xorg-server
|
||||||
xorg-apps
|
xorg-apps
|
||||||
neofetch
|
|
||||||
|
|
||||||
|
|
||||||
# zfs support(not working)
|
# zfs support(not working)
|
||||||
@@ -298,6 +296,7 @@ gst-plugins-ugly
|
|||||||
gst-plugin-pipewire
|
gst-plugin-pipewire
|
||||||
|
|
||||||
cachyos-mirrorlist
|
cachyos-mirrorlist
|
||||||
|
cachyos-v3-mirrorlist
|
||||||
cachyos-keyring
|
cachyos-keyring
|
||||||
|
|
||||||
#fonts
|
#fonts
|
||||||
@@ -306,11 +305,6 @@ ttf-liberation
|
|||||||
ttf-bitstream-vera
|
ttf-bitstream-vera
|
||||||
cantarell-fonts
|
cantarell-fonts
|
||||||
noto-fonts
|
noto-fonts
|
||||||
noto-fonts-cjk
|
|
||||||
noto-fonts-emoji
|
|
||||||
adobe-source-han-sans-jp-fonts
|
|
||||||
adobe-source-han-sans-kr-fonts
|
|
||||||
adobe-source-han-sans-cn-fonts
|
|
||||||
opendesktop-fonts
|
opendesktop-fonts
|
||||||
ttf-opensans
|
ttf-opensans
|
||||||
|
|
||||||
@@ -322,9 +316,7 @@ char-white
|
|||||||
cachyos-nord-kde-theme-git
|
cachyos-nord-kde-theme-git
|
||||||
cachyos-emerald-kde-theme-git
|
cachyos-emerald-kde-theme-git
|
||||||
paru
|
paru
|
||||||
yad
|
|
||||||
meld
|
meld
|
||||||
#keyserver-rank-cachy
|
|
||||||
reflector-simple
|
reflector-simple
|
||||||
|
|
||||||
|
|
||||||
@@ -332,9 +324,3 @@ reflector-simple
|
|||||||
open-vm-tools
|
open-vm-tools
|
||||||
xf86-input-vmmouse
|
xf86-input-vmmouse
|
||||||
xf86-video-vmware
|
xf86-video-vmware
|
||||||
|
|
||||||
##### want to add/use your local repo packages
|
|
||||||
##### create your packages and put them in the local repo
|
|
||||||
|
|
||||||
veracrypt
|
|
||||||
firejail
|
|
||||||
Reference in new issue
Block a user