Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
71dd330
remove xf86-video-vmware
Aromatic05 Jun 15, 2025
9c0bf83
add multilib repo
Aromatic05 Jun 21, 2025
e2b9235
add intel and amd gpu driver
Aromatic05 Jun 21, 2025
6b5996d
move branding information to catos-branding
Aromatic05 Jun 21, 2025
96b4762
add fallback mirrors for archlinuxcn and arch4edu
Aromatic05 Jul 21, 2025
499b1ad
add "ILoveCandy" to pacman.conf
Aromatic05 Jul 21, 2025
107d495
remove grub beep sound
Aromatic05 Jul 23, 2025
5c98eed
adjust package list order
Aromatic05 Aug 10, 2025
dfaa9bf
use chwd to install drivers
Aromatic05 Sep 14, 2025
3a09817
remove motd
Aromatic05 Sep 14, 2025
7165938
modify pacman.conf
Aromatic05 Sep 14, 2025
aec5e18
use xz to save space
Aromatic05 Sep 15, 2025
d443eab
add nvidia modules
Aromatic05 Sep 15, 2025
03a4e9a
add clean scripts
Aromatic05 Sep 15, 2025
b5445ae
clean more useless files
Aromatic05 Sep 15, 2025
bb04cb3
Update profiledef.sh
Aromatic05 Oct 15, 2025
6b59577
Switch to Microcode Hook
Aromatic05 Oct 15, 2025
77ba29d
update syslinux configure
Aromatic05 Nov 3, 2025
a108aa2
remove kde logo hook
Aromatic05 Nov 3, 2025
2e0cffe
nvidia-open
Aromatic05 Jan 11, 2026
897700d
delete old fish config
Aromatic05 Jan 11, 2026
5bc4b33
update livecd sound config
Aromatic05 Jan 11, 2026
7b3bcc2
update systemd service
Aromatic05 Jan 11, 2026
0a9209c
fcitx environment variable
Aromatic05 Jan 11, 2026
cceffb9
plasma language setting
Aromatic05 Jan 11, 2026
7a05a0d
/root/customize_airootfs.sh
Aromatic05 Jan 11, 2026
f78f887
add /etc/pacman.d/scripts/customize_airootfs.sh
Aromatic05 Jan 11, 2026
06581b9
fix locale-gen problem
Aromatic05 Jan 11, 2026
6e88639
fix
Aromatic05 Jan 14, 2026
91e2317
update fcitx config
Aromatic05 Jan 14, 2026
feccb8e
remove some packages
Aromatic05 Jan 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.iso
catos-iso/airootfs/var/**
catos-iso-for-nvidia/airootfs/var/**
9 changes: 8 additions & 1 deletion catos-iso-for-nvidia/packages.x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ fwupd
gtkmm3
open-vm-tools
xf86-input-vmmouse
xf86-video-vmware
#xf86-video-vmware
#######################################################
#nvidia
#docker
Expand Down Expand Up @@ -228,3 +228,10 @@ corekeyboard
system-config-printer
catos-fix-storage
tela-icon-theme-git
gparted

xf86-video-amdgpu
vulkan-radeon
lib32-vulkan-radeon
vulkan-intel
lib32-vulkan-intel
4 changes: 4 additions & 0 deletions catos-iso/airootfs/etc/environment
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx
SDL_IM_MODULE=fcitx
2 changes: 1 addition & 1 deletion catos-iso/airootfs/etc/hostname
Original file line number Diff line number Diff line change
@@ -1 +1 @@
archiso
CatOS
2 changes: 1 addition & 1 deletion catos-iso/airootfs/etc/localtime
2 changes: 1 addition & 1 deletion catos-iso/airootfs/etc/mkinitcpio.conf
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ FILES=()
#
## NOTE: If you have /usr on a separate partition, you MUST include the
# usr, fsck and shutdown hooks.
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)
HOOKS=(base udev microcode modconf memdisk archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs block filesystems keyboard)

# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
Expand Down
1 change: 1 addition & 0 deletions catos-iso/airootfs/etc/mkinitcpio.conf.d/10-nvidia.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MODULES+=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
11 changes: 0 additions & 11 deletions catos-iso/airootfs/etc/motd

This file was deleted.

118 changes: 118 additions & 0 deletions catos-iso/airootfs/etc/pacman.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
#HookDir = /etc/pacman.d/hooks/
HoldPkg = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta = 0.7
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =

#NoUpgrade =
#NoExtract =

# Misc options
#UseSyslog
Color
ILoveCandy
#NoProgressBar
#CheckSpace
VerbosePkgLists
DisableDownloadTimeout
ParallelDownloads = 10
DownloadUser = alpm
#DisableSandbox

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[core-testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

#[extra-testing]
#Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

[archlinuxcn]
SigLevel = Optional TrustAll
Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch
Server = https://mirror.nju.edu.cn/archlinuxcn/$arch

[arch4edu]
SigLevel = Optional TrustAll
Server = https://mirrors.cernet.edu.cn/arch4edu/$arch
Server = https://mirrors.tuna.tsinghua.edu.cn/arch4edu/$arch
Server = https://mirror.nju.edu.cn/arch4edu/$arch

[catos-extra]
SigLevel = Optional TrustAll
Server = file:///var/catos-extra/
12 changes: 12 additions & 0 deletions catos-iso/airootfs/etc/pacman.d/hooks/40-customize.hook
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# remove from airootfs!
[Trigger]
Operation = Install
Type = Package
Target = catos-calamares

[Action]
Description = customize_airootfs
When = PostTransaction
Depends = catos-calamares
Depends = bash
Exec = /bin/bash /etc/pacman.d/scripts/customize_airootfs.sh
5 changes: 3 additions & 2 deletions catos-iso/airootfs/etc/pacman.d/hooks/uncomment-mirrors.hook
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ Type = Package
Target = pacman-mirrorlist

[Action]
Description = Uncommenting all mirrors in /etc/pacman.d/mirrorlist...
Description = Uncommenting HTTPS mirrors in /etc/pacman.d/mirrorlist...
When = PostTransaction
Depends = pacman-mirrorlist
Depends = sed
Exec = /usr/bin/sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist
Exec = /usr/bin/sed -E -i 's/#(Server = https:)/\1/g' /etc/pacman.d/mirrorlist

12 changes: 0 additions & 12 deletions catos-iso/airootfs/etc/pacman.d/hooks/update-kde-logo.hook

This file was deleted.

8 changes: 8 additions & 0 deletions catos-iso/airootfs/etc/pacman.d/mirrorlist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Server = https://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
Server = https://mirrors.cernet.edu.cn/archlinux/$repo/os/$arch
Server = https://mirrors.bfsu.edu.cn/archlinux/$repo/os/$arch
Server = https://mirrors.aliyun.com/archlinux/$repo/os/$arch
Server = https://mirrors.bfsu.edu.cn/archlinux/$repo/os/$arch
Server = https://mirrors.xjtu.edu.cn/archlinux/$repo/os/$arch
Server = https://mirrors.shanghaitech.edu.cn/archlinux/$repo/os/$arch
24 changes: 24 additions & 0 deletions catos-iso/airootfs/etc/pacman.d/scripts/customize_airootfs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/env bash

## Script to perform several important tasks before `mkarchcraftiso` create filesystem image.

set -e -u

## 增加catos源
# echo '[catos]' >> /etc/pacman.conf
# echo 'SigLevel = Never' >> /etc/pacman.conf
# echo 'Server = https://pkgs.catos.info/$arch' >> /etc/pacman.conf

echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
echo "zh_CN.UTF-8 UTF-8" >> /etc/locale.gen
locale-gen

##grub
#echo 'GRUB_THEME="/usr/share/grub/themes/vimix-color-1080p/theme.txt"' >> /etc/default/grub
echo 'GRUB_THEME="/usr/share/grub/themes/catos-grub-theme-dark-1080p/theme.txt"' >> /etc/default/grub

echo 'GRUB_DISABLE_OS_PROBER=false' >> /etc/default/grub




34 changes: 0 additions & 34 deletions catos-iso/airootfs/etc/skel/.config/baloofileinformationrc

This file was deleted.

7 changes: 0 additions & 7 deletions catos-iso/airootfs/etc/skel/.config/baloofilerc

This file was deleted.

35 changes: 0 additions & 35 deletions catos-iso/airootfs/etc/skel/.config/fcitx5/conf/classicui.conf

This file was deleted.

Loading