mirror of
https://github.com/KDE/kde-linux.git
synced 2026-02-15 10:22:09 -05:00
- add ci builds - add some scripting surrounding spinning up local containers - use btrfs send-receive to populate the image for both speed, precision and reliablity (won't miss ENSPC or something) - no longer generate bootable images through mkosi, we generate two UKIs anyway, mkosis extra work is entirely pointless and as it turns out produces vastly larger UKIs for some reason. probably worth inspecting at some point why that is - the entire build has been moved from relying on arch packages to using kde-builder. this effectively turns the way we build in development also in the way we build for deployment, giving greater familiarity and exercise of code paths - move initrd from dracut to mkinitcpio as it is better integrating with the arch base - the initrd system is still driven by systemd rather than busybox (the initcpio default) - calamares tech still doesn't work entirely but got a bit of polish - basic session blessing support (tracking whether an image is good or not) - boot failure tracking via the UKI filename (foo_1+3-1.efi etc) - pam files imported from arch - font files imported from neon - aggressive debugging via systemd is on for the time being to aid with development - snapd support - general AUR support (really cruddy because we are inside a bwrap that runs with no-new-priviledges which means we can't sudo but arch tools don't want to run as root - so everything is awkwardly detangled with dependency installation happening manually in root scope, then the build as a temporary user, then the installation in root scope again) -
16 lines
630 B
Bash
Executable File
16 lines
630 B
Bash
Executable File
#!/bin/sh
|
|
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
# SPDX-FileCopyrightText: 2024 Harald Sitter <sitter@kde.org>
|
|
|
|
# For bootstrapping of a basic arch system so it can build stuff.
|
|
|
|
set -ex
|
|
|
|
echo 'https://mirror.23m.com/archlinux/' > /etc/pacman.d/mirrorlist.new
|
|
cat /etc/pacman.d/mirrorlist >> /etc/pacman.d/mirrorlist.new
|
|
mv /etc/pacman.d/mirrorlist.new /etc/pacman.d/mirrorlist
|
|
|
|
pacman --sync --refresh --noconfirm --sysupgrade
|
|
pacman --sync --refresh --noconfirm mkosi git base-devel ukify vim cpio tree \
|
|
rsync btrfs-progs s3cmd dosfstools qemu-img erofs-utils squashfs-tools
|