Pomôžte vyvíjať KDE Linux
Tím KDE Linux vždy ocení pomoc pri vývoji KDE Linux na operačný systém budúcnosti!
- Pre komunikáciu s vývojármi KDE Linux použite Matrix.
- Pre navrhnutie zmien odošlite Merge Request v jednom z relevantných git úložísk.
- Pre nahlásenie problémov v samotnom operačnom systéme KDE Linux (t.j. dizajn OS, integrácia, systémové služby atď.) použite invent.kde.org a ignorujte strašidelný červený banner v hornej časti stránky.
- Pre nahlásenie problémov v KDE Plasma alebo akýchkoľvek aplikáciách KDE použite bugs.kde.org.
- Pre získanie pomoci s niečím súvisiacim s KDE Linux použite discuss.kde.org a označte svoj príspevok značkou "kde-linux".
CI obrazy
Skontrolujte zostavovací protokol pre váš pipeline. Mal by uvádzať, kde boli obrazy publikované.
Obrazy si môžete prezrieť aj odtiaľto.
Zlepšenie rýchlosti lokálnej zostavy
Pre zrýchlenie lokálnych zostáv vytvorte súbor mkosi.local.conf v koreňovom adresári úložiska s nasledujúcim obsahom:
[Content] Environment=LOCALE_GEN="en_US.UTF-8 UTF-8" # nahraďte svojím locale` Environment=MIRRORS_COUNTRY=us # nahraďte svojím kódom krajiny` Environment=PARALLEL_DOWNLOADS=50 # ak je vaše internetové pripojenie rýchle
Musíte používať úložný ovládač Btrfs pre docker, inak to nebude poriadne fungovať.
Ak váš hostiteľský súborový systém používa Btrfs (ako KDE Linux), pridajte do /etc/docker/daemon.json nasledovné
{
"storage-driver": "btrfs"
}
Oficiálnu dokumentáciu docker, ktorá to vysvetľuje, nájdete tu.
Ak nepoužívate Btrfs pre váš hostiteľský počítač, môžete stále vytvoriť Btrfs zväzok podporovaný súborom takto:
systemctl stop docker.socket docker.service || true fallocate -l 64G /store/docker.btrfs mkfs.btrfs /store/docker.btrfs [ -d /var/lib/docker ] || mkdir /var/lib/docker mount /store/docker.btrfs /var/lib/docker systemctl restart docker.socket docker.service
Potom spustite:
./build_docker.sh --incremental
Building Custom System Images
You can generate custom KDE Linux images to test package integrations or system modifications locally. The build process uses mkosi wrapped in a Docker container.
To include custom packages, add the desired package names to the relevant configuration files (such as the [Packages] section in mkosi.conf or the specific .packages files) before running the build script.
Run the build with:
./build_docker.sh
Once the build finishes successfully, the output will be a .raw image file located in mkosi.output/.
Quick Testing with Virt-Manager
The fastest way to test your changes is to boot the .raw image directly as an existing disk in a Virtual Machine, bypassing the full installation process.
- Open Virtual Machine Manager and start the New Virtual Machine wizard.
- Select Import existing disk image and choose your generated
.rawfile. - Allocate at least 4GB of RAM and 2 CPU cores.
- Important: In the VM configuration, ensure the Firmware is set to UEFI and Secure Boot is disabled.
For a more permanent setup or instructions on using other virtualization tools like VirtualBox or UTM, refer to the Installing in a Virtual Machine guide.
Článok napísal Harald Sitter, a Nate Graham pod licenciou CC-BY-4.0.