mirror of
https://github.com/theupriser/steamify-cachyos-live-iso.git
synced 2026-10-02 15:10:26 +02:00
🔄 Sync with archiso
This commit is contained in:
30 files changed
+251
-342
No files matched your search
@@ -1,3 +1,2 @@
|
|||||||
EDITOR=vim
|
|
||||||
QT_QPA_PLATFORMTHEME=qt5ct
|
QT_QPA_PLATFORMTHEME=qt5ct
|
||||||
ZPOOL_VDEV_NAME_PATH=1
|
ZPOOL_VDEV_NAME_PATH=1
|
||||||
@@ -1,73 +0,0 @@
|
|||||||
# vim:set ft=sh
|
|
||||||
# MODULES
|
|
||||||
# The following modules are loaded before any boot hooks are
|
|
||||||
# run. Advanced users may wish to specify all system modules
|
|
||||||
# in this array. For instance:
|
|
||||||
# MODULES=(usbhid xhci_hcd)
|
|
||||||
MODULES=()
|
|
||||||
|
|
||||||
# BINARIES
|
|
||||||
# This setting includes any additional binaries a given user may
|
|
||||||
# wish into the CPIO image. This is run last, so it may be used to
|
|
||||||
# override the actual binaries included by a given hook
|
|
||||||
# BINARIES are dependency parsed, so you may safely ignore libraries
|
|
||||||
BINARIES=()
|
|
||||||
|
|
||||||
# FILES
|
|
||||||
# This setting is similar to BINARIES above, however, files are added
|
|
||||||
# as-is and are not parsed in any way. This is useful for config files.
|
|
||||||
FILES=()
|
|
||||||
|
|
||||||
# HOOKS
|
|
||||||
# This is the most important setting in this file. The HOOKS control the
|
|
||||||
# modules and scripts added to the image, and what happens at boot time.
|
|
||||||
# Order is important, and it is recommended that you do not change the
|
|
||||||
# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
|
|
||||||
# help on a given hook.
|
|
||||||
# 'base' is _required_ unless you know precisely what you are doing.
|
|
||||||
# 'udev' is _required_ in order to automatically load modules
|
|
||||||
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
|
|
||||||
# Examples:
|
|
||||||
## This setup specifies all modules in the MODULES setting above.
|
|
||||||
## No RAID, lvm2, or encrypted root is needed.
|
|
||||||
# HOOKS=(base)
|
|
||||||
#
|
|
||||||
## This setup will autodetect all modules for your system and should
|
|
||||||
## work as a sane default
|
|
||||||
# HOOKS=(base udev autodetect modconf block filesystems fsck)
|
|
||||||
#
|
|
||||||
## This setup will generate a 'full' image which supports most systems.
|
|
||||||
## No autodetection is done.
|
|
||||||
# HOOKS=(base udev modconf block filesystems fsck)
|
|
||||||
#
|
|
||||||
## This setup assembles a mdadm array with an encrypted root file system.
|
|
||||||
## Note: See 'mkinitcpio -H mdadm_udev' for more information on RAID devices.
|
|
||||||
# HOOKS=(base udev modconf keyboard keymap consolefont block mdadm_udev encrypt filesystems fsck)
|
|
||||||
#
|
|
||||||
## This setup loads an lvm2 volume group.
|
|
||||||
# HOOKS=(base udev modconf block lvm2 filesystems fsck)
|
|
||||||
#
|
|
||||||
## NOTE: If you have /usr on a separate partition, you MUST include the
|
|
||||||
# usr and fsck hooks.
|
|
||||||
HOOKS=(base udev modconf memdisk archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs kms block filesystems keyboard)
|
|
||||||
|
|
||||||
# COMPRESSION
|
|
||||||
# Use this to compress the initramfs image. By default, zstd compression
|
|
||||||
# is used. Use 'cat' to create an uncompressed image.
|
|
||||||
#COMPRESSION="zstd"
|
|
||||||
#COMPRESSION="gzip"
|
|
||||||
#COMPRESSION="bzip2"
|
|
||||||
#COMPRESSION="lzma"
|
|
||||||
#COMPRESSION="xz"
|
|
||||||
#COMPRESSION="lzop"
|
|
||||||
#COMPRESSION="lz4"
|
|
||||||
|
|
||||||
# COMPRESSION_OPTIONS
|
|
||||||
# Additional options for the compressor
|
|
||||||
#COMPRESSION_OPTIONS=()
|
|
||||||
|
|
||||||
# MODULES_DECOMPRESS
|
|
||||||
# Decompress kernel modules during initramfs creation.
|
|
||||||
# Enable to speedup boot process, disable to save RAM
|
|
||||||
# during early userspace. Switch (yes/no).
|
|
||||||
#MODULES_DECOMPRESS="yes"
|
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
HOOKS=(base udev modconf kms memdisk archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs block filesystems keyboard)
|
||||||
|
COMPRESSION="xz"
|
||||||
@@ -3,6 +3,6 @@
|
|||||||
PRESETS=('archiso')
|
PRESETS=('archiso')
|
||||||
|
|
||||||
ALL_kver='/boot/vmlinuz-linux-cachyos'
|
ALL_kver='/boot/vmlinuz-linux-cachyos'
|
||||||
ALL_config='/etc/mkinitcpio.conf'
|
archiso_config='/etc/mkinitcpio.conf.d/archiso.conf'
|
||||||
|
|
||||||
archiso_image="/boot/initramfs-linux-cachyos.img"
|
archiso_image="/boot/initramfs-linux-cachyos.img"
|
||||||
@@ -1,116 +0,0 @@
|
|||||||
# $OpenBSD: sshd_config,v 1.104 2021/07/02 05:11:21 dtucker Exp $
|
|
||||||
|
|
||||||
# This is the sshd server system-wide configuration file. See
|
|
||||||
# sshd_config(5) for more information.
|
|
||||||
|
|
||||||
# This sshd was compiled with PATH=/usr/local/sbin:/usr/local/bin:/usr/bin
|
|
||||||
|
|
||||||
# The strategy used for options in the default sshd_config shipped with
|
|
||||||
# OpenSSH is to specify options with their default value where
|
|
||||||
# possible, but leave them commented. Uncommented options override the
|
|
||||||
# default value.
|
|
||||||
|
|
||||||
#Port 22
|
|
||||||
#AddressFamily any
|
|
||||||
#ListenAddress 0.0.0.0
|
|
||||||
#ListenAddress ::
|
|
||||||
|
|
||||||
#HostKey /etc/ssh/ssh_host_rsa_key
|
|
||||||
#HostKey /etc/ssh/ssh_host_ecdsa_key
|
|
||||||
#HostKey /etc/ssh/ssh_host_ed25519_key
|
|
||||||
|
|
||||||
# Ciphers and keying
|
|
||||||
#RekeyLimit default none
|
|
||||||
|
|
||||||
# Logging
|
|
||||||
#SyslogFacility AUTH
|
|
||||||
#LogLevel INFO
|
|
||||||
|
|
||||||
# Authentication:
|
|
||||||
|
|
||||||
#LoginGraceTime 2m
|
|
||||||
PermitRootLogin yes
|
|
||||||
#StrictModes yes
|
|
||||||
#MaxAuthTries 6
|
|
||||||
#MaxSessions 10
|
|
||||||
|
|
||||||
#PubkeyAuthentication yes
|
|
||||||
|
|
||||||
# The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2
|
|
||||||
# but this is overridden so installations will only check .ssh/authorized_keys
|
|
||||||
AuthorizedKeysFile .ssh/authorized_keys
|
|
||||||
|
|
||||||
#AuthorizedPrincipalsFile none
|
|
||||||
|
|
||||||
#AuthorizedKeysCommand none
|
|
||||||
#AuthorizedKeysCommandUser nobody
|
|
||||||
|
|
||||||
# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
|
|
||||||
#HostbasedAuthentication no
|
|
||||||
# Change to yes if you don't trust ~/.ssh/known_hosts for
|
|
||||||
# HostbasedAuthentication
|
|
||||||
#IgnoreUserKnownHosts no
|
|
||||||
# Don't read the user's ~/.rhosts and ~/.shosts files
|
|
||||||
#IgnoreRhosts yes
|
|
||||||
|
|
||||||
# To disable tunneled clear text passwords, change to no here!
|
|
||||||
#PasswordAuthentication yes
|
|
||||||
#PermitEmptyPasswords no
|
|
||||||
|
|
||||||
# Change to no to disable s/key passwords
|
|
||||||
#KbdInteractiveAuthentication yes
|
|
||||||
|
|
||||||
# Kerberos options
|
|
||||||
#KerberosAuthentication no
|
|
||||||
#KerberosOrLocalPasswd yes
|
|
||||||
#KerberosTicketCleanup yes
|
|
||||||
#KerberosGetAFSToken no
|
|
||||||
|
|
||||||
# GSSAPI options
|
|
||||||
#GSSAPIAuthentication no
|
|
||||||
#GSSAPICleanupCredentials yes
|
|
||||||
|
|
||||||
# Set this to 'yes' to enable PAM authentication, account processing,
|
|
||||||
# and session processing. If this is enabled, PAM authentication will
|
|
||||||
# be allowed through the KbdInteractiveAuthentication and
|
|
||||||
# PasswordAuthentication. Depending on your PAM configuration,
|
|
||||||
# PAM authentication via KbdInteractiveAuthentication may bypass
|
|
||||||
# the setting of "PermitRootLogin without-password".
|
|
||||||
# If you just want the PAM account and session checks to run without
|
|
||||||
# PAM authentication, then enable this but set PasswordAuthentication
|
|
||||||
# and KbdInteractiveAuthentication to 'no'.
|
|
||||||
UsePAM yes
|
|
||||||
|
|
||||||
#AllowAgentForwarding yes
|
|
||||||
#AllowTcpForwarding yes
|
|
||||||
#GatewayPorts no
|
|
||||||
#X11Forwarding no
|
|
||||||
#X11DisplayOffset 10
|
|
||||||
#X11UseLocalhost yes
|
|
||||||
#PermitTTY yes
|
|
||||||
PrintMotd no # pam does that
|
|
||||||
#PrintLastLog yes
|
|
||||||
#TCPKeepAlive yes
|
|
||||||
#PermitUserEnvironment no
|
|
||||||
#Compression delayed
|
|
||||||
#ClientAliveInterval 0
|
|
||||||
#ClientAliveCountMax 3
|
|
||||||
#UseDNS no
|
|
||||||
#PidFile /run/sshd.pid
|
|
||||||
#MaxStartups 10:30:100
|
|
||||||
#PermitTunnel no
|
|
||||||
#ChrootDirectory none
|
|
||||||
#VersionAddendum none
|
|
||||||
|
|
||||||
# no default banner path
|
|
||||||
#Banner none
|
|
||||||
|
|
||||||
# override default of no subsystems
|
|
||||||
Subsystem sftp /usr/lib/ssh/sftp-server
|
|
||||||
|
|
||||||
# Example of overriding settings on a per-user basis
|
|
||||||
#Match User anoncvs
|
|
||||||
# X11Forwarding no
|
|
||||||
# AllowTcpForwarding no
|
|
||||||
# PermitTTY no
|
|
||||||
# ForceCommand cvs server
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# Allow root login using password authentication
|
||||||
|
PasswordAuthentication yes
|
||||||
|
PermitRootLogin yes
|
||||||
@@ -1,44 +0,0 @@
|
|||||||
# This file is part of systemd.
|
|
||||||
#
|
|
||||||
# systemd is free software; you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU Lesser General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# Entries in this file show the compile time defaults.
|
|
||||||
# You can change settings by editing this file.
|
|
||||||
# Defaults can be restored by simply deleting this file.
|
|
||||||
#
|
|
||||||
# See journald.conf(5) for details.
|
|
||||||
|
|
||||||
[Journal]
|
|
||||||
Storage=volatile
|
|
||||||
#Compress=yes
|
|
||||||
#Seal=yes
|
|
||||||
#SplitMode=uid
|
|
||||||
#SyncIntervalSec=5m
|
|
||||||
#RateLimitIntervalSec=30s
|
|
||||||
#RateLimitBurst=10000
|
|
||||||
#SystemMaxUse=
|
|
||||||
#SystemKeepFree=
|
|
||||||
#SystemMaxFileSize=
|
|
||||||
#SystemMaxFiles=100
|
|
||||||
#RuntimeMaxUse=
|
|
||||||
#RuntimeKeepFree=
|
|
||||||
#RuntimeMaxFileSize=
|
|
||||||
#RuntimeMaxFiles=100
|
|
||||||
#MaxRetentionSec=
|
|
||||||
#MaxFileSec=1month
|
|
||||||
#ForwardToSyslog=no
|
|
||||||
#ForwardToKMsg=no
|
|
||||||
#ForwardToConsole=no
|
|
||||||
#ForwardToWall=yes
|
|
||||||
#TTYPath=/dev/console
|
|
||||||
#MaxLevelStore=debug
|
|
||||||
#MaxLevelSyslog=debug
|
|
||||||
#MaxLevelKMsg=notice
|
|
||||||
#MaxLevelConsole=info
|
|
||||||
#MaxLevelWall=emerg
|
|
||||||
#LineMax=48K
|
|
||||||
#ReadKMsg=yes
|
|
||||||
#Audit=yes
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
# This file is part of systemd.
|
|
||||||
#
|
|
||||||
# systemd is free software; you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU Lesser General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# Entries in this file show the compile time defaults.
|
|
||||||
# You can change settings by editing this file.
|
|
||||||
# Defaults can be restored by simply deleting this file.
|
|
||||||
#
|
|
||||||
# See logind.conf(5) for details.
|
|
||||||
|
|
||||||
[Login]
|
|
||||||
#NAutoVTs=6
|
|
||||||
#ReserveVT=6
|
|
||||||
#KillUserProcesses=no
|
|
||||||
#KillOnlyUsers=
|
|
||||||
#KillExcludeUsers=root
|
|
||||||
#InhibitDelayMaxSec=5
|
|
||||||
#HandlePowerKey=poweroff
|
|
||||||
HandleSuspendKey=ignore
|
|
||||||
HandleHibernateKey=ignore
|
|
||||||
HandleLidSwitch=ignore
|
|
||||||
#HandleLidSwitchExternalPower=suspend
|
|
||||||
#HandleLidSwitchDocked=ignore
|
|
||||||
#PowerKeyIgnoreInhibited=no
|
|
||||||
#SuspendKeyIgnoreInhibited=no
|
|
||||||
#HibernateKeyIgnoreInhibited=no
|
|
||||||
#LidSwitchIgnoreInhibited=yes
|
|
||||||
#HoldoffTimeoutSec=30s
|
|
||||||
#IdleAction=ignore
|
|
||||||
#IdleActionSec=30min
|
|
||||||
#RuntimeDirectorySize=10%
|
|
||||||
#RuntimeDirectoryInodes=400k
|
|
||||||
#RemoveIPC=yes
|
|
||||||
#InhibitorsMax=8192
|
|
||||||
#SessionsMax=8192
|
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
[Network]
|
||||||
|
IPv6PrivacyExtensions=yes
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
[Match]
|
||||||
|
# Matching with "Type=ether" causes issues with containers because it also matches virtual Ethernet interfaces (veth*).
|
||||||
|
# See https://bugs.archlinux.org/task/70892
|
||||||
|
# Instead match by globbing the network interface name.
|
||||||
|
Name=en*
|
||||||
|
Name=eth*
|
||||||
|
|
||||||
|
[Link]
|
||||||
|
RequiredForOnline=routable
|
||||||
|
|
||||||
|
[Network]
|
||||||
|
DHCP=yes
|
||||||
|
MulticastDNS=yes
|
||||||
|
|
||||||
|
# systemd-networkd does not set per-interface-type default route metrics
|
||||||
|
# https://github.com/systemd/systemd/issues/17698
|
||||||
|
# Explicitly set route metric, so that Ethernet is preferred over Wi-Fi and Wi-Fi is preferred over mobile broadband.
|
||||||
|
# Use values from NetworkManager. From nm_device_get_route_metric_default in
|
||||||
|
# https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/core/devices/nm-device.c
|
||||||
|
[DHCPv4]
|
||||||
|
RouteMetric=100
|
||||||
|
|
||||||
|
[IPv6AcceptRA]
|
||||||
|
RouteMetric=100
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
[Match]
|
||||||
|
Name=wl*
|
||||||
|
|
||||||
|
[Link]
|
||||||
|
RequiredForOnline=routable
|
||||||
|
|
||||||
|
[Network]
|
||||||
|
DHCP=yes
|
||||||
|
MulticastDNS=yes
|
||||||
|
|
||||||
|
# systemd-networkd does not set per-interface-type default route metrics
|
||||||
|
# https://github.com/systemd/systemd/issues/17698
|
||||||
|
# Explicitly set route metric, so that Ethernet is preferred over Wi-Fi and Wi-Fi is preferred over mobile broadband.
|
||||||
|
# Use values from NetworkManager. From nm_device_get_route_metric_default in
|
||||||
|
# https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/core/devices/nm-device.c
|
||||||
|
[DHCPv4]
|
||||||
|
RouteMetric=600
|
||||||
|
|
||||||
|
[IPv6AcceptRA]
|
||||||
|
RouteMetric=600
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
[Match]
|
||||||
|
Name=ww*
|
||||||
|
|
||||||
|
[Link]
|
||||||
|
RequiredForOnline=routable
|
||||||
|
|
||||||
|
[Network]
|
||||||
|
DHCP=yes
|
||||||
|
|
||||||
|
# systemd-networkd does not set per-interface-type default route metrics
|
||||||
|
# https://github.com/systemd/systemd/issues/17698
|
||||||
|
# Explicitly set route metric, so that Ethernet is preferred over Wi-Fi and Wi-Fi is preferred over mobile broadband.
|
||||||
|
# Use values from NetworkManager. From nm_device_get_route_metric_default in
|
||||||
|
# https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/core/devices/nm-device.c
|
||||||
|
[DHCPv4]
|
||||||
|
RouteMetric=700
|
||||||
|
|
||||||
|
[IPv6AcceptRA]
|
||||||
|
RouteMetric=700
|
||||||
@@ -1 +0,0 @@
|
|||||||
/usr/lib/systemd/system/avahi-daemon.service
|
|
||||||
@@ -5,4 +5,5 @@ Description=Temporary /etc/pacman.d/gnupg directory
|
|||||||
What=tmpfs
|
What=tmpfs
|
||||||
Where=/etc/pacman.d/gnupg
|
Where=/etc/pacman.d/gnupg
|
||||||
Type=tmpfs
|
Type=tmpfs
|
||||||
Options=mode=0755
|
Options=mode=0755,noswap
|
||||||
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
/usr/lib/systemd/system/pcscd.socket
|
||||||
@@ -1,22 +1,29 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
script_cmdline ()
|
script_cmdline() {
|
||||||
{
|
|
||||||
local param
|
local param
|
||||||
for param in $(< /proc/cmdline); do
|
for param in $(</proc/cmdline); do
|
||||||
case "${param}" in
|
case "${param}" in
|
||||||
script=*) echo "${param#*=}" ; return 0 ;;
|
script=*)
|
||||||
|
echo "${param#*=}"
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
automated_script ()
|
automated_script() {
|
||||||
{
|
|
||||||
local script rt
|
local script rt
|
||||||
script="$(script_cmdline)"
|
script="$(script_cmdline)"
|
||||||
if [[ -n "${script}" && ! -x /tmp/startup_script ]]; then
|
if [[ -n "${script}" && ! -x /tmp/startup_script ]]; then
|
||||||
if [[ "${script}" =~ ^((http|https|ftp)://) ]]; then
|
if [[ "${script}" =~ ^((http|https|ftp|tftp)://) ]]; then
|
||||||
curl "${script}" --location --retry-connrefused --retry 10 -s -o /tmp/startup_script >/dev/null
|
# there's no synchronization for network availability before executing this script
|
||||||
|
printf '%s: waiting for network-online.target\n' "$0"
|
||||||
|
until systemctl --quiet is-active network-online.target; do
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
|
printf '%s: downloading %s\n' "$0" "${script}"
|
||||||
|
curl "${script}" --location --retry-connrefused --retry 10 -s -o /tmp/startup_script
|
||||||
rt=$?
|
rt=$?
|
||||||
else
|
else
|
||||||
cp "${script}" /tmp/startup_script
|
cp "${script}" /tmp/startup_script
|
||||||
@@ -24,6 +31,9 @@ automated_script ()
|
|||||||
fi
|
fi
|
||||||
if [[ ${rt} -eq 0 ]]; then
|
if [[ ${rt} -eq 0 ]]; then
|
||||||
chmod +x /tmp/startup_script
|
chmod +x /tmp/startup_script
|
||||||
|
printf '%s: executing automated script\n' "$0"
|
||||||
|
# note that script is executed when other services (like pacman-init) may be still in progress, please
|
||||||
|
# synchronize to "systemctl is-system-running --wait" when your script depends on other services
|
||||||
/tmp/startup_script
|
/tmp/startup_script
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@@ -32,3 +42,4 @@ automated_script ()
|
|||||||
if [[ $(tty) == "/dev/tty1" ]]; then
|
if [[ $(tty) == "/dev/tty1" ]]; then
|
||||||
automated_script
|
automated_script
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
disable-ccid
|
||||||
|
disable-pinpad
|
||||||
|
pcsc-driver /usr/lib/libpcsclite.so
|
||||||
|
pcsc-shared
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
# fix for screen readers
|
# fix for screen readers
|
||||||
if grep -Fq 'accessibility=' /proc/cmdline &> /dev/null; then
|
if grep -Fqa 'accessibility=' /proc/cmdline &> /dev/null; then
|
||||||
setopt SINGLE_LINE_ZLE
|
setopt SINGLE_LINE_ZLE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
~/.automated_script.sh
|
~/.automated_script.sh
|
||||||
|
|
||||||
@@ -4,21 +4,22 @@
|
|||||||
|
|
||||||
get_cmdline() {
|
get_cmdline() {
|
||||||
local param
|
local param
|
||||||
for param in $(< /proc/cmdline); do
|
for param in $(</proc/cmdline); do
|
||||||
case "${param}" in
|
case "${param}" in
|
||||||
$1=*) echo "${param##*=}";
|
"${1}="*)
|
||||||
return 0
|
echo "${param##*=}"
|
||||||
;;
|
return 0
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
mirror=$(get_cmdline mirror)
|
mirror="$(get_cmdline mirror)"
|
||||||
[[ $mirror = auto ]] && mirror=$(get_cmdline archiso_http_srv)
|
[[ "$mirror" == 'auto' ]] && mirror="$(get_cmdline archiso_http_srv)"
|
||||||
[[ $mirror ]] || exit 0
|
[[ -n "$mirror" ]] || exit 0
|
||||||
|
|
||||||
mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.orig
|
mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.orig
|
||||||
cat >/etc/pacman.d/mirrorlist << EOF
|
cat >/etc/pacman.d/mirrorlist <<EOF
|
||||||
#
|
#
|
||||||
# Arch Linux repository mirrorlist
|
# Arch Linux repository mirrorlist
|
||||||
# Generated by archiso
|
# Generated by archiso
|
||||||
@@ -26,3 +27,4 @@ cat >/etc/pacman.d/mirrorlist << EOF
|
|||||||
|
|
||||||
Server = ${mirror%%/}/\$repo/os/\$arch
|
Server = ${mirror%%/}/\$repo/os/\$arch
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
@@ -4,4 +4,4 @@ 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-cachyos.img
|
initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos.img
|
||||||
options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=10G module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm,pcspkr nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 nvme_load=yes
|
options archisobasedir=%INSTALL_DIR% archisodevice=UUID=%ARCHISO_UUID% cow_spacesize=10G module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm,pcspkr nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 nvme_load=yes
|
||||||
@@ -4,4 +4,4 @@ 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-cachyos.img
|
initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos.img
|
||||||
options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=10G nvidia nvidia-drm.modeset=1 nvidia-drm.fbdev=1 nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 nvme_load=yes module_blacklist=pcspkr
|
options archisobasedir=%INSTALL_DIR% archisodevice=UUID=%ARCHISO_UUID% cow_spacesize=10G nvidia nvidia-drm.modeset=1 nvidia-drm.fbdev=1 nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 nvme_load=yes module_blacklist=pcspkr
|
||||||
@@ -2,4 +2,4 @@ title CachyOS x86_64 Fallback (nomodeset)
|
|||||||
sort-key C
|
sort-key C
|
||||||
linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos
|
linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos
|
||||||
initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos.img
|
initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos.img
|
||||||
options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% cow_spacesize=10G module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm nomodeset nvme_load=yes
|
options archisobasedir=%INSTALL_DIR% archisodevice=UUID=%ARCHISO_UUID% cow_spacesize=10G module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm nomodeset nvme_load=yes
|
||||||
+28
-23
@@ -2,10 +2,10 @@
|
|||||||
# Default "GIT", because if somebody outside from the DEVs create a ISO, this ISO wouldnt have a specific Version number.
|
# Default "GIT", because if somebody outside from the DEVs create a ISO, this ISO wouldnt have a specific Version number.
|
||||||
CACHYOS_VERSION="GIT"
|
CACHYOS_VERSION="GIT"
|
||||||
|
|
||||||
if [ "${grub_platform}" == "efi" ]; then
|
if [ "${grub_platform}" == 'efi' ]; then
|
||||||
bios_or_uefi="(UEFI)!"
|
bios_or_uefi='(UEFI)!'
|
||||||
else
|
else
|
||||||
bios_or_uefi="(BIOS)!"
|
bios_or_uefi='(BIOS)!'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Load partition table and file system modules
|
# Load partition table and file system modules
|
||||||
@@ -19,16 +19,20 @@ insmod exfat
|
|||||||
insmod udf
|
insmod udf
|
||||||
|
|
||||||
# Use graphics-mode output
|
# Use graphics-mode output
|
||||||
insmod all_video
|
|
||||||
insmod font
|
insmod font
|
||||||
if loadfont "${prefix}/fonts/unicode.pf2" ; then
|
if loadfont "${prefix}/fonts/unicode.pf2" ; then
|
||||||
insmod gfxterm
|
insmod all_video
|
||||||
set gfxmode="auto"
|
set gfxmode="auto"
|
||||||
terminal_input console
|
terminal_input console
|
||||||
terminal_output gfxterm
|
terminal_output gfxterm
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Enable serial console
|
# Enable serial console
|
||||||
|
insmod serial
|
||||||
|
insmod usbserial_common
|
||||||
|
insmod usbserial_ftdi
|
||||||
|
insmod usbserial_pl2303
|
||||||
|
insmod usbserial_usbdebug
|
||||||
if serial --unit=0 --speed=115200; then
|
if serial --unit=0 --speed=115200; then
|
||||||
terminal_input --append serial
|
terminal_input --append serial
|
||||||
terminal_output --append serial
|
terminal_output --append serial
|
||||||
@@ -51,10 +55,10 @@ timeout_style=menu
|
|||||||
# Welcome Text
|
# Welcome Text
|
||||||
menuentry "Welcome to CachyOS $CACHYOS_VERSION Live ISO $bios_or_uefi" {
|
menuentry "Welcome to CachyOS $CACHYOS_VERSION Live ISO $bios_or_uefi" {
|
||||||
insmod ext2
|
insmod ext2
|
||||||
}
|
}
|
||||||
menuentry "----------------------------------------------------" {
|
menuentry "----------------------------------------------------" {
|
||||||
insmod ext2
|
insmod ext2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# Menu entries
|
# Menu entries
|
||||||
@@ -76,19 +80,20 @@ menuentry "CachyOS Legacy Hardware (GPU nomodeset)" --class arch --class gnu-lin
|
|||||||
initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos.img
|
initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos.img
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ "${grub_platform}" == "efi" ]; then
|
if [ "${grub_platform}" == 'efi' -a "${grub_cpu}" == 'x86_64' -a -f '/boot/memtest86+/memtest.efi' ]; then
|
||||||
if [ "${grub_cpu}" == "x86_64" ]; then
|
menuentry 'Run Memtest86+ (RAM test)' --class memtest86 --class memtest --class gnu --class tool {
|
||||||
menuentry "Run Memtest86+ (RAM test)" --class memtest86 --class memtest --class gnu --class tool {
|
set gfxpayload=800x600,1024x768
|
||||||
set gfxpayload=800x600,1024x768
|
linux /boot/memtest86+/memtest.efi
|
||||||
linux /boot/memtest86+/memtest.efi
|
}
|
||||||
}
|
fi
|
||||||
menuentry "UEFI Shell" --class efi {
|
|
||||||
insmod chain
|
if [ "${grub_platform}" == 'efi' ]; then
|
||||||
|
if [ "${grub_cpu}" == 'x86_64' -a -f '/shellx64.efi' ]; then
|
||||||
|
menuentry 'UEFI Shell' --class efi {
|
||||||
chainloader /shellx64.efi
|
chainloader /shellx64.efi
|
||||||
}
|
}
|
||||||
elif [ "${grub_cpu}" == "i386" ]; then
|
elif [ "${grub_cpu}" == "i386" -a -f '/shellia32.efi' ]; then
|
||||||
menuentry "UEFI Shell" --class efi {
|
menuentry 'UEFI Shell' --class efi {
|
||||||
insmod chain
|
|
||||||
chainloader /shellia32.efi
|
chainloader /shellia32.efi
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
@@ -98,12 +103,12 @@ if [ "${grub_platform}" == "efi" ]; then
|
|||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
menuentry "System shutdown" --class shutdown --class poweroff {
|
menuentry 'System shutdown' --class shutdown --class poweroff {
|
||||||
echo "System shutting down..."
|
echo 'System shutting down...'
|
||||||
halt
|
halt
|
||||||
}
|
}
|
||||||
|
|
||||||
menuentry "System restart" --class reboot --class restart {
|
menuentry 'System restart' --class reboot --class restart {
|
||||||
echo "System rebooting..."
|
echo 'System rebooting...'
|
||||||
reboot
|
reboot
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,81 @@
|
|||||||
|
# Defining the Version of the ISO. This line could be easy changed by a Script wich do that automatic before creating ISO self.
|
||||||
|
# Default "GIT", because if somebody outside from the DEVs create a ISO, this ISO wouldnt have a specific Version number.
|
||||||
|
CACHYOS_VERSION="GIT"
|
||||||
|
|
||||||
|
if [ "${grub_platform}" == 'efi' ]; then
|
||||||
|
bios_or_uefi='(UEFI)!'
|
||||||
|
else
|
||||||
|
bios_or_uefi='(BIOS)!'
|
||||||
|
fi
|
||||||
|
|
||||||
|
# https://www.supergrubdisk.org/wiki/Loopback.cfg
|
||||||
|
|
||||||
|
# Search for the ISO volume
|
||||||
|
search --no-floppy --set=archiso_img_dev --file "${iso_path}"
|
||||||
|
probe --set archiso_img_dev_uuid --fs-uuid "${archiso_img_dev}"
|
||||||
|
|
||||||
|
# Set default menu entry
|
||||||
|
default=cachyos
|
||||||
|
timeout=10
|
||||||
|
timeout_style=menu
|
||||||
|
|
||||||
|
# Welcome Text
|
||||||
|
menuentry "Welcome to CachyOS $CACHYOS_VERSION Live ISO $bios_or_uefi" {
|
||||||
|
insmod ext2
|
||||||
|
}
|
||||||
|
menuentry "----------------------------------------------------" {
|
||||||
|
insmod ext2
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# Menu entries
|
||||||
|
menuentry "CachyOS" --class arch --class gnu-linux --class gnu --class os --id 'cachyos' {
|
||||||
|
set gfxpayload=keep
|
||||||
|
linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos archisobasedir=%INSTALL_DIR% img_dev=UUID=${archiso_img_dev_uuid} img_loop="${iso_path}" 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
|
||||||
|
initrd /%INSTALL_DIR%/boot/intel-ucode.img /%INSTALL_DIR%/boot/amd-ucode.img /%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos.img
|
||||||
|
}
|
||||||
|
|
||||||
|
menuentry "CachyOS with NVIDIA closed-source Driver (latest cards only 900+)" --class arch --class gnu-linux --class gnu --class os --id 'cachyos-nvidia' {
|
||||||
|
set gfxpayload=keep
|
||||||
|
linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos archisobasedir=%INSTALL_DIR% img_dev=UUID=${archiso_img_dev_uuid} img_loop="${iso_path}" cow_spacesize=10G copytoram=n nvidia nvidia-drm.modeset=1 nvidia-drm.fbdev=1 nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 nvme_load=yes module_blacklist=pcspkr
|
||||||
|
initrd /%INSTALL_DIR%/boot/intel-ucode.img /%INSTALL_DIR%/boot/amd-ucode.img /%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos.img
|
||||||
|
}
|
||||||
|
|
||||||
|
menuentry "CachyOS Legacy Hardware (GPU nomodeset)" --class arch --class gnu-linux --class gnu --class os --id 'cachyos-fallback' {
|
||||||
|
set gfxpayload=keep
|
||||||
|
linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos archisobasedir=%INSTALL_DIR% img_dev=UUID=${archiso_img_dev_uuid} img_loop="${iso_path}" cow_spacesize=10G copytoram=n module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm nomodeset nvme_load=yes
|
||||||
|
initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos.img
|
||||||
|
}
|
||||||
|
|
||||||
|
if [ "${grub_platform}" == 'efi' -a "${grub_cpu}" == 'x86_64' -a -f '/boot/memtest86+/memtest.efi' ]; then
|
||||||
|
menuentry 'Run Memtest86+ (RAM test)' --class memtest86 --class memtest --class gnu --class tool {
|
||||||
|
set gfxpayload=800x600,1024x768
|
||||||
|
linux /boot/memtest86+/memtest.efi
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "${grub_platform}" == 'efi' ]; then
|
||||||
|
if [ "${grub_cpu}" == 'x86_64' -a -f '/shellx64.efi' ]; then
|
||||||
|
menuentry 'UEFI Shell' --class efi {
|
||||||
|
chainloader /shellx64.efi
|
||||||
|
}
|
||||||
|
elif [ "${grub_cpu}" == "i386" -a -f '/shellia32.efi' ]; then
|
||||||
|
menuentry 'UEFI Shell' --class efi {
|
||||||
|
chainloader /shellia32.efi
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
|
menuentry 'UEFI Firmware Settings' --id 'uefi-firmware' {
|
||||||
|
fwsetup
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
|
menuentry 'System shutdown' --class shutdown --class poweroff {
|
||||||
|
echo 'System shutting down...'
|
||||||
|
halt
|
||||||
|
}
|
||||||
|
|
||||||
|
menuentry 'System restart' --class reboot --class restart {
|
||||||
|
echo 'System rebooting...'
|
||||||
|
reboot
|
||||||
|
}
|
||||||
@@ -10,6 +10,7 @@ b43-fwcutter
|
|||||||
base
|
base
|
||||||
base-devel
|
base-devel
|
||||||
bash-completion
|
bash-completion
|
||||||
|
bcachefs-tools
|
||||||
bind
|
bind
|
||||||
bind-tools
|
bind-tools
|
||||||
bluez
|
bluez
|
||||||
@@ -36,6 +37,7 @@ cachyos-v4-mirrorlist
|
|||||||
cachyos-zsh-config
|
cachyos-zsh-config
|
||||||
cantarell-fonts
|
cantarell-fonts
|
||||||
capitaine-cursors
|
capitaine-cursors
|
||||||
|
chwd
|
||||||
ckbcomp
|
ckbcomp
|
||||||
clonezilla
|
clonezilla
|
||||||
cloud-init
|
cloud-init
|
||||||
@@ -121,9 +123,9 @@ jfsutils
|
|||||||
kitty-terminfo
|
kitty-terminfo
|
||||||
kpmcore
|
kpmcore
|
||||||
kvantum
|
kvantum
|
||||||
|
ldns
|
||||||
less
|
less
|
||||||
lftp
|
lftp
|
||||||
lib32-wayland
|
|
||||||
libfido2
|
libfido2
|
||||||
libusb-compat
|
libusb-compat
|
||||||
libwnck3
|
libwnck3
|
||||||
@@ -146,7 +148,6 @@ mdadm
|
|||||||
memtest86+
|
memtest86+
|
||||||
memtest86+-efi
|
memtest86+-efi
|
||||||
mesa
|
mesa
|
||||||
chwd
|
|
||||||
mkinitcpio
|
mkinitcpio
|
||||||
mkinitcpio-archiso
|
mkinitcpio-archiso
|
||||||
mkinitcpio-nfs-utils
|
mkinitcpio-nfs-utils
|
||||||
@@ -159,8 +160,8 @@ nano-syntax-highlighting
|
|||||||
nautilus
|
nautilus
|
||||||
nbd
|
nbd
|
||||||
ndisc6
|
ndisc6
|
||||||
net-tools
|
|
||||||
netctl
|
netctl
|
||||||
|
net-tools
|
||||||
networkmanager
|
networkmanager
|
||||||
nfs-utils
|
nfs-utils
|
||||||
nilfs-utils
|
nilfs-utils
|
||||||
@@ -173,11 +174,11 @@ ntp
|
|||||||
nvidia-utils
|
nvidia-utils
|
||||||
nvme-cli
|
nvme-cli
|
||||||
octopi
|
octopi
|
||||||
open-iscsi
|
|
||||||
open-vm-tools
|
|
||||||
openconnect
|
openconnect
|
||||||
opendesktop-fonts
|
opendesktop-fonts
|
||||||
|
open-iscsi
|
||||||
openssh
|
openssh
|
||||||
|
open-vm-tools
|
||||||
openvpn
|
openvpn
|
||||||
os-prober
|
os-prober
|
||||||
parole
|
parole
|
||||||
@@ -200,8 +201,8 @@ pv
|
|||||||
python
|
python
|
||||||
python-defusedxml
|
python-defusedxml
|
||||||
qemu-guest-agent
|
qemu-guest-agent
|
||||||
qt5-xmlpatterns
|
|
||||||
qt5ct
|
qt5ct
|
||||||
|
qt5-xmlpatterns
|
||||||
realtime-privileges
|
realtime-privileges
|
||||||
refind
|
refind
|
||||||
reflector
|
reflector
|
||||||
@@ -246,8 +247,8 @@ wireless_tools
|
|||||||
wireplumber
|
wireplumber
|
||||||
wpa_supplicant
|
wpa_supplicant
|
||||||
wvdial
|
wvdial
|
||||||
xdg-user-dirs-gtk
|
|
||||||
xdg-desktop-portal-gnome
|
xdg-desktop-portal-gnome
|
||||||
|
xdg-user-dirs-gtk
|
||||||
xdg-utils
|
xdg-utils
|
||||||
xed
|
xed
|
||||||
xf86-input-elographics
|
xf86-input-elographics
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ avahi
|
|||||||
b43-fwcutter
|
b43-fwcutter
|
||||||
base
|
base
|
||||||
bash-completion
|
bash-completion
|
||||||
|
bcachefs-tools
|
||||||
bind
|
bind
|
||||||
boost-libs
|
boost-libs
|
||||||
breeze-gtk
|
breeze-gtk
|
||||||
@@ -35,6 +36,7 @@ cachyos-zsh-config
|
|||||||
cantarell-fonts
|
cantarell-fonts
|
||||||
capitaine-cursors
|
capitaine-cursors
|
||||||
char-white
|
char-white
|
||||||
|
chwd
|
||||||
ckbcomp
|
ckbcomp
|
||||||
clonezilla
|
clonezilla
|
||||||
cloud-init
|
cloud-init
|
||||||
@@ -93,6 +95,7 @@ kitty-terminfo
|
|||||||
konsole
|
konsole
|
||||||
kpmcore
|
kpmcore
|
||||||
kscreen
|
kscreen
|
||||||
|
ldns
|
||||||
less
|
less
|
||||||
lftp
|
lftp
|
||||||
libfido2
|
libfido2
|
||||||
@@ -118,7 +121,6 @@ mdadm
|
|||||||
memtest86+
|
memtest86+
|
||||||
memtest86+-efi
|
memtest86+-efi
|
||||||
mesa
|
mesa
|
||||||
chwd
|
|
||||||
micro
|
micro
|
||||||
mkinitcpio
|
mkinitcpio
|
||||||
mkinitcpio-archiso
|
mkinitcpio-archiso
|
||||||
@@ -144,11 +146,11 @@ ntp
|
|||||||
nvidia-utils
|
nvidia-utils
|
||||||
nvme-cli
|
nvme-cli
|
||||||
octopi
|
octopi
|
||||||
open-iscsi
|
|
||||||
open-vm-tools
|
|
||||||
openconnect
|
openconnect
|
||||||
opendesktop-fonts
|
opendesktop-fonts
|
||||||
|
open-iscsi
|
||||||
openssh
|
openssh
|
||||||
|
open-vm-tools
|
||||||
openvpn
|
openvpn
|
||||||
os-prober
|
os-prober
|
||||||
partclone
|
partclone
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ b43-fwcutter
|
|||||||
base
|
base
|
||||||
base-devel
|
base-devel
|
||||||
bash-completion
|
bash-completion
|
||||||
|
bcachefs-tools
|
||||||
bind
|
bind
|
||||||
bind-tools
|
bind-tools
|
||||||
bluez
|
bluez
|
||||||
@@ -42,6 +43,7 @@ cachyos-zsh-config
|
|||||||
cantarell-fonts
|
cantarell-fonts
|
||||||
capitaine-cursors
|
capitaine-cursors
|
||||||
char-white
|
char-white
|
||||||
|
chwd
|
||||||
ckbcomp
|
ckbcomp
|
||||||
clonezilla
|
clonezilla
|
||||||
cloud-init
|
cloud-init
|
||||||
@@ -89,8 +91,8 @@ gst-libav
|
|||||||
gst-plugin-pipewire
|
gst-plugin-pipewire
|
||||||
gst-plugins-bad
|
gst-plugins-bad
|
||||||
gst-plugins-ugly
|
gst-plugins-ugly
|
||||||
gtk-engine-murrine
|
|
||||||
gtk3
|
gtk3
|
||||||
|
gtk-engine-murrine
|
||||||
hdparm
|
hdparm
|
||||||
hwdetect
|
hwdetect
|
||||||
hwinfo
|
hwinfo
|
||||||
@@ -104,6 +106,7 @@ iw
|
|||||||
jfsutils
|
jfsutils
|
||||||
kitty-terminfo
|
kitty-terminfo
|
||||||
kvantum
|
kvantum
|
||||||
|
ldns
|
||||||
less
|
less
|
||||||
lftp
|
lftp
|
||||||
libfido2
|
libfido2
|
||||||
@@ -133,7 +136,6 @@ meld
|
|||||||
memtest86+
|
memtest86+
|
||||||
mesa
|
mesa
|
||||||
mesa-utils
|
mesa-utils
|
||||||
chwd
|
|
||||||
mkinitcpio
|
mkinitcpio
|
||||||
mkinitcpio-archiso
|
mkinitcpio-archiso
|
||||||
mkinitcpio-nfs-utils
|
mkinitcpio-nfs-utils
|
||||||
@@ -145,10 +147,10 @@ nano-syntax-highlighting
|
|||||||
nbd
|
nbd
|
||||||
ndisc6
|
ndisc6
|
||||||
neofetch
|
neofetch
|
||||||
net-tools
|
|
||||||
netctl
|
netctl
|
||||||
network-manager-applet
|
net-tools
|
||||||
networkmanager
|
networkmanager
|
||||||
|
network-manager-applet
|
||||||
networkmanager-openvpn
|
networkmanager-openvpn
|
||||||
networkmanager-qt5
|
networkmanager-qt5
|
||||||
networkmanager-vpnc
|
networkmanager-vpnc
|
||||||
@@ -162,11 +164,11 @@ ntp
|
|||||||
nvidia-utils
|
nvidia-utils
|
||||||
nvme-cli
|
nvme-cli
|
||||||
octopi
|
octopi
|
||||||
open-iscsi
|
|
||||||
open-vm-tools
|
|
||||||
openconnect
|
openconnect
|
||||||
opendesktop-fonts
|
opendesktop-fonts
|
||||||
|
open-iscsi
|
||||||
openssh
|
openssh
|
||||||
|
open-vm-tools
|
||||||
openvpn
|
openvpn
|
||||||
os-prober
|
os-prober
|
||||||
parole
|
parole
|
||||||
@@ -193,8 +195,8 @@ pv
|
|||||||
python
|
python
|
||||||
python-defusedxml
|
python-defusedxml
|
||||||
qemu-guest-agent
|
qemu-guest-agent
|
||||||
qt5-xmlpatterns
|
|
||||||
qt5ct
|
qt5ct
|
||||||
|
qt5-xmlpatterns
|
||||||
realtime-privileges
|
realtime-privileges
|
||||||
refind
|
refind
|
||||||
reflector
|
reflector
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
iso_name="cachyos"
|
iso_name="cachyos"
|
||||||
iso_label="COS_$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m)"
|
iso_label="COS_$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m)"
|
||||||
iso_publisher="CachyOS <https://cachyos.org>"
|
iso_publisher="CachyOS <https://cachyos.org>"
|
||||||
iso_application="CachyOS Live/Rescue CD"
|
iso_application="CachyOS Live/Rescue DVD"
|
||||||
iso_version="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)"
|
iso_version="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)"
|
||||||
install_dir="arch"
|
install_dir="arch"
|
||||||
buildmodes=('iso')
|
buildmodes=('iso')
|
||||||
@@ -22,6 +22,7 @@ file_permissions=(
|
|||||||
["/etc/polkit-1/rules.d"]="0:0:750"
|
["/etc/polkit-1/rules.d"]="0:0:750"
|
||||||
["/etc/sudoers.d"]="0:0:750"
|
["/etc/sudoers.d"]="0:0:750"
|
||||||
["/root/.automated_script.sh"]="0:0:755"
|
["/root/.automated_script.sh"]="0:0:755"
|
||||||
|
["/root/.gnupg"]="0:0:700"
|
||||||
["/usr/local/bin/choose-mirror"]="0:0:755"
|
["/usr/local/bin/choose-mirror"]="0:0:755"
|
||||||
["/usr/local/bin/dmcheck"]="0:0:755"
|
["/usr/local/bin/dmcheck"]="0:0:755"
|
||||||
["/usr/local/bin/calamares-offline.sh"]="0:0:755"
|
["/usr/local/bin/calamares-offline.sh"]="0:0:755"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ ENDTEXT
|
|||||||
MENU LABEL CachyOS install medium (x86_64, NBD)
|
MENU LABEL CachyOS install medium (x86_64, NBD)
|
||||||
LINUX ::/%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos
|
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-cachyos.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% archisodevice=UUID=%ARCHISO_UUID% archiso_nbd_srv=${pxeserver} cms_verify=y
|
||||||
SYSAPPEND 3
|
SYSAPPEND 3
|
||||||
|
|
||||||
LABEL arch64_nfs
|
LABEL arch64_nfs
|
||||||
@@ -17,7 +17,7 @@ ENDTEXT
|
|||||||
MENU LABEL CachyOS install medium (x86_64, NFS)
|
MENU LABEL CachyOS install medium (x86_64, NFS)
|
||||||
LINUX ::/%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos
|
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-cachyos.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 cms_verify=y
|
||||||
SYSAPPEND 3
|
SYSAPPEND 3
|
||||||
|
|
||||||
LABEL arch64_http
|
LABEL arch64_http
|
||||||
@@ -28,5 +28,5 @@ ENDTEXT
|
|||||||
MENU LABEL CachyOS install medium (x86_64, HTTP)
|
MENU LABEL CachyOS install medium (x86_64, HTTP)
|
||||||
LINUX ::/%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos
|
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-cachyos.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}/ cms_verify=y
|
||||||
SYSAPPEND 3
|
SYSAPPEND 3
|
||||||
@@ -6,7 +6,7 @@ ENDTEXT
|
|||||||
MENU LABEL CachyOS default (x86_64, BIOS)
|
MENU LABEL CachyOS default (x86_64, BIOS)
|
||||||
LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos
|
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-cachyos.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
|
APPEND archisobasedir=%INSTALL_DIR% archisodevice=UUID=%ARCHISO_UUID% 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
|
||||||
|
|
||||||
# Nvidia propritary (Non-Free)
|
# Nvidia propritary (Non-Free)
|
||||||
LABEL cos64nv
|
LABEL cos64nv
|
||||||
@@ -17,7 +17,7 @@ ENDTEXT
|
|||||||
MENU LABEL CachyOS NVIDIA (latest cards, x86_64, BIOS)
|
MENU LABEL CachyOS NVIDIA (latest cards, x86_64, BIOS)
|
||||||
LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos
|
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-cachyos.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 nvidia-drm.fbdev=1 nouveau.modeset=0 module_blacklist=nouveau,pcspkr i915.modeset=1 radeon.modeset=1 nvme_load=yes
|
APPEND archisobasedir=%INSTALL_DIR% archisodevice=UUID=%ARCHISO_UUID% cow_spacesize=10G copytoram=n nvidia nvidia-drm.modeset=1 nvidia-drm.fbdev=1 nouveau.modeset=0 module_blacklist=nouveau,pcspkr i915.modeset=1 radeon.modeset=1 nvme_load=yes
|
||||||
|
|
||||||
# Fallback (nomodeset)
|
# Fallback (nomodeset)
|
||||||
LABEL cos64fb
|
LABEL cos64fb
|
||||||
@@ -28,4 +28,4 @@ ENDTEXT
|
|||||||
MENU LABEL CachyOS Fallback (nomodeset, BIOS)
|
MENU LABEL CachyOS Fallback (nomodeset, BIOS)
|
||||||
LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos
|
LINUX /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux-cachyos
|
||||||
INITRD /%INSTALL_DIR%/boot/x86_64/initramfs-linux-cachyos.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
|
APPEND archisobasedir=%INSTALL_DIR% archisodevice=UUID=%ARCHISO_UUID% cow_spacesize=10G copytoram=n module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm,pcspkr nomodeset nvme_load=yes
|
||||||
Reference in new issue
Block a user