mirror of
https://github.com/KDE/kde-linux.git
synced 2025-12-24 00:18:23 -05:00
install all packages using mkosi.conf.d files
remove the call to --packages Attempted to keep everything, with the exception of the redundant systemd/systemd-git packages
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -15,3 +15,5 @@
|
||||
mkosi.local.conf
|
||||
|
||||
kde-linux_*
|
||||
/mkosi.sandbox/etc/pacman.conf
|
||||
/mkosi.sandbox/etc/pacman.d/mirrorlist
|
||||
|
||||
76
build.sh
76
build.sh
@@ -9,81 +9,6 @@
|
||||
|
||||
set -ex
|
||||
|
||||
packages=(
|
||||
sddm
|
||||
bash-completion
|
||||
pacman
|
||||
mesa
|
||||
pipewire
|
||||
pipewire-pulse
|
||||
pipewire-zeroconf
|
||||
pipewire-libcamera
|
||||
noto-fonts
|
||||
acpid
|
||||
busybox
|
||||
nvme-cli
|
||||
bind
|
||||
dmidecode
|
||||
ntfs-3g
|
||||
iproute2
|
||||
tpm2-tss
|
||||
xz
|
||||
wireplumber
|
||||
flatpak
|
||||
apparmor
|
||||
ffmpeg # ffmpegthumbs
|
||||
jxrlib # kimageformats
|
||||
libavif # kimageformats
|
||||
libheif # kimageformats
|
||||
libjxl # kimageformats
|
||||
libraw # kimageformats
|
||||
openexr # kimageformats
|
||||
freerdp2 # krdp
|
||||
libmtp # kio-extras, for MTP support
|
||||
libappimage # kio-extras, for AppImage app thumbnails
|
||||
editorconfig-core-c # ktexteditor
|
||||
aspell # sonnet
|
||||
hspell # sonnet
|
||||
|
||||
# Install build and runtime dependencies
|
||||
git base-devel cmake yaml-cpp boost-libs boost dosfstools btrfs-progs glib2-devel
|
||||
# NOTE: plasma-workspace depends on phonon (to build integration plugins **for** phonon) but doesn't actually
|
||||
# need a working backend so we build without vlc for now.
|
||||
# For discover backend
|
||||
fwupd
|
||||
# For kio-extras
|
||||
smbclient
|
||||
# For selenium
|
||||
python-atspi
|
||||
# For print-manager
|
||||
cups cups-browsed system-config-printer
|
||||
# For kdenetwork-filesharing
|
||||
samba
|
||||
# For spectacle
|
||||
opencv
|
||||
# For fingerprint login
|
||||
fprintd
|
||||
# For DDC/CI external monitors brightness; https://wiki.archlinux.org/title/backlight
|
||||
ddcutil
|
||||
# For users KCM
|
||||
accountsservice
|
||||
|
||||
# All the KDE we plan to include in the base image
|
||||
$(pacman --sync --groups --quiet kde-linux)
|
||||
|
||||
# AUR packages
|
||||
snapd steam-devices-git systemd-bootchart
|
||||
|
||||
systemd-git
|
||||
systemd-resolvconf-git
|
||||
systemd-sysvcompat-git
|
||||
systemd-ukify-git
|
||||
#probably can be removed:
|
||||
arch-install-scripts
|
||||
)
|
||||
printf -v packages_str "%s," "${packages[@]}"
|
||||
packages_str=${packages_str%,}
|
||||
|
||||
VERSION=$(date +%Y%m%d%H%M) # Build version, will just be YYYYmmddHHMM for now
|
||||
OUTPUT=kde-linux_$VERSION # Built rootfs path (mkosi uses this directory by default)
|
||||
|
||||
@@ -113,7 +38,6 @@ mkosi \
|
||||
--image-version="$VERSION" \
|
||||
--package-cache-dir=/var/cache/mkosi.pacman \
|
||||
--output-directory=. \
|
||||
--package="${packages_str}" \
|
||||
"$@"
|
||||
|
||||
# Create a directory structure for the UKIs.
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
[Content]
|
||||
Packages=archlinux-keyring
|
||||
base
|
||||
btrfs-progs
|
||||
kernel-modules-hook
|
||||
kmod
|
||||
linux
|
||||
@@ -17,9 +18,14 @@ Packages=archlinux-keyring
|
||||
qt6-multimedia-ffmpeg
|
||||
plymouth
|
||||
socat
|
||||
systemd
|
||||
systemd-resolvconf
|
||||
systemd-sysvcompat
|
||||
systemd-git
|
||||
systemd-resolvconf-git
|
||||
systemd-sysvcompat-git
|
||||
systemd-ukify-git
|
||||
xdg-desktop-portal-gtk # GTK/Flatpak icon settings syncing
|
||||
xdg-user-dirs
|
||||
xsettingsd # GTK/Flatpak theming, scaling, and theme changes without restart
|
||||
|
||||
apparmor
|
||||
snapd
|
||||
flatpak
|
||||
|
||||
@@ -4,9 +4,15 @@
|
||||
# Info center stuff
|
||||
|
||||
[Content]
|
||||
Packages=aha
|
||||
Packages=acpid
|
||||
aha
|
||||
clinfo
|
||||
# For DDC/CI external monitors brightness; https://wiki.archlinux.org/title/backlight
|
||||
ddcutil
|
||||
dmidecode
|
||||
mesa-utils # This provides both eglinfo and glxinfo
|
||||
nvme-cli
|
||||
vulkan-tools # This provides vulkaninfo
|
||||
wayland-utils # This provides wayland-info
|
||||
xorg-xdpyinfo # Required for kinfocenter X11 info tab (including xwayland)
|
||||
xorg-xdpyinfo # Required for kinfocenter X11 info tab (including xwayland)
|
||||
|
||||
|
||||
@@ -4,22 +4,24 @@
|
||||
# Modern CLI tools!
|
||||
|
||||
[Content]
|
||||
Packages=mcfly
|
||||
htop
|
||||
Packages=bash-completion
|
||||
bat
|
||||
busybox
|
||||
duf
|
||||
fastfetch
|
||||
fd
|
||||
gping
|
||||
grml-zsh-config
|
||||
htop
|
||||
jq
|
||||
mcfly
|
||||
nano
|
||||
openssh
|
||||
powertop
|
||||
procs
|
||||
ripgrep
|
||||
tldr
|
||||
gping
|
||||
procs
|
||||
nano
|
||||
powertop
|
||||
wget
|
||||
wl-clipboard
|
||||
fastfetch
|
||||
zsh
|
||||
grml-zsh-config
|
||||
zsh-completions
|
||||
openssh
|
||||
jq
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
# SPDX-FileCopyrightText: 2023 Harald Sitter <sitter@kde.org>
|
||||
|
||||
[Content]
|
||||
Packages=systemd-ukify
|
||||
shim
|
||||
Packages=shim
|
||||
amd-ucode
|
||||
intel-ucode
|
||||
edk2-shell
|
||||
|
||||
7
mkosi.conf.d/20-packages-network.conf
Normal file
7
mkosi.conf.d/20-packages-network.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
# SPDX-FileCopyrightText: Ian Monroe <imonroe@kde.org
|
||||
|
||||
[Content]
|
||||
Packages=bind
|
||||
iproute2
|
||||
ntfs-3g
|
||||
@@ -3,7 +3,9 @@
|
||||
|
||||
# nvidia-open appears to contain vulkan support already
|
||||
[Content]
|
||||
Packages=nvidia-open
|
||||
Packages=mesa
|
||||
nvidia-open
|
||||
vulkan-icd-loader
|
||||
vulkan-intel
|
||||
vulkan-radeon
|
||||
|
||||
|
||||
26
mkosi.conf.d/50-packages-kde-dependencies.conf
Normal file
26
mkosi.conf.d/50-packages-kde-dependencies.conf
Normal file
@@ -0,0 +1,26 @@
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
# SPDX-FileCopyrightText: Ian Monroe <imonroe@kde.org
|
||||
|
||||
[Content]
|
||||
|
||||
Packages=ffmpeg # ffmpegthumbs
|
||||
jxrlib # kimageformats
|
||||
libavif # kimageformats
|
||||
libheif # kimageformats
|
||||
libjxl # kimageformats
|
||||
libraw # kimageformats
|
||||
openexr # kimageformats
|
||||
|
||||
accountsservice # For users KCM
|
||||
editorconfig-core-c # ktexteditor
|
||||
freerdp2 # krdp
|
||||
libappimage # kio-extras, for AppImage app thumbnails
|
||||
libmtp # kio-extras, for MTP support
|
||||
|
||||
aspell # sonnet
|
||||
hspell # sonnet
|
||||
opencv # For spectacle
|
||||
samba # For kdenetwork-filesharing
|
||||
|
||||
fwupd # for Discovery backend
|
||||
smbclient # For kio-extras
|
||||
11
mkosi.conf.d/50-packages-sound.conf
Normal file
11
mkosi.conf.d/50-packages-sound.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
# SPDX-FileCopyrightText: Ian Monroe <imonroe@kde.org
|
||||
|
||||
[Content]
|
||||
Packages=
|
||||
pipewire
|
||||
pipewire-pulse
|
||||
pipewire-zeroconf
|
||||
pipewire-libcamera
|
||||
wireplumber
|
||||
|
||||
8
mkosi.conf.d/55-packages-kde.conf
Normal file
8
mkosi.conf.d/55-packages-kde.conf
Normal file
@@ -0,0 +1,8 @@
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
# SPDX-FileCopyrightText: Ian Monroe <imonroe@kde.org
|
||||
|
||||
# Let's go bananas
|
||||
|
||||
[Content]
|
||||
Packages=sddm
|
||||
kde-linux
|
||||
@@ -11,3 +11,11 @@ Packages=dnsmasq # Needed for hotspot creation and networking in VMs
|
||||
power-profiles-daemon # Enables switching dedicated power profiles
|
||||
sof-firmware # Supports various audio chipsets
|
||||
splix # Supports certain Samsung printers
|
||||
steam-devices-git
|
||||
tpm2-tss
|
||||
# For print-manager
|
||||
cups
|
||||
cups-browsed
|
||||
system-config-printer
|
||||
fprintd # For fingerprint login
|
||||
dosfstools
|
||||
|
||||
12
mkosi.conf.d/70-packages-build.conf
Normal file
12
mkosi.conf.d/70-packages-build.conf
Normal file
@@ -0,0 +1,12 @@
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
# SPDX-FileCopyrightText: Ian Monroe <imonroe@kde.org
|
||||
|
||||
[Content]
|
||||
Packages=boost
|
||||
boost-libs
|
||||
cmake
|
||||
glib2-devel
|
||||
yaml-cpp
|
||||
arch-install-scripts
|
||||
pacman
|
||||
|
||||
@@ -22,7 +22,10 @@ Packages=base-devel
|
||||
perf
|
||||
podman
|
||||
podman-compose
|
||||
python-atspi # For selenium
|
||||
qemu-desktop
|
||||
systemd-bootchart
|
||||
tree
|
||||
vim
|
||||
virt-manager
|
||||
xz
|
||||
|
||||
Reference in New Issue
Block a user