Hadi Chokr f34167cc76 Replace /usr/local with /opt/local
This replaces /usr/local with /opt/local as the override directory,
and adds boot-time kernel cmdline controls to manage its contents before
they can integrate into the running system.

/usr/local is no longer used. All local overrides are now placed under
/opt/local instead.

A kernel cmdline parameter is introduced to control /opt/local at boot:

kde-linux.mask_local=1 — Masks /opt/local with a tmpfs early in boot, preventing
any of its contents from being picked up by the system. The real content
remains accessible at /var/opt/local via a private
bind mount, allowing inspection and modification without system integration.


Signed-off-by: Hadi Chokr <hadichokr@icloud.com>
2026-05-29 16:56:00 +02:00

KDE Linux

This is the repository for the KDE Linux operating system. See the following links for up-to-date information about the project:

Install it

https://linux.kde.org/docs/install/

Use it

https://linux.kde.org/docs/

Get help with it

https://discuss.kde.org/ and tag your post with “kde-linux”.

Report an issue with it

Build it

https://linux.kde.org/docs/kde-linux-dev/

Test it in a Virtual Machine

If you want to boot the KDE Linux .raw image in a virtual machine (like QEMU/virt-manager or VirtualBox) for local testing, ensure your VM is configured to use UEFI firmware instead of the default Legacy BIOS. Without UEFI enabled, the image will fail to boot. For detailed setup instructions, refer to the Installing in a Virtual Machine Wiki Page.

Send a patch to it

https://invent.kde.org/groups/kde-linux/-/merge_requests/

Not sure what to work on?

Discuss it

https://matrix.to/#/%23kde-linux:kde.org

Learn more about it

Description
No description provided
Readme 6.6 MiB
Languages
Shell 52.7%
Go 24.8%
Python 7.5%
Rust 7.3%
QML 5.5%
Other 2.2%