All Projects → systemd → Mkosi

systemd / Mkosi

Licence: lgpl-2.1
Build Legacy-Free OS Images

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Mkosi

Ansible Role Apache
Ansible Role - Apache 2.x.
Stars: ✭ 341 (-42.11%)
Mutual labels:  ubuntu, debian, fedora
Ansible Role Firewall
Ansible Role - iptables Firewall configuration.
Stars: ✭ 343 (-41.77%)
Mutual labels:  ubuntu, debian, fedora
Howdy
🛡️ Windows Hello™ style facial authentication for Linux
Stars: ✭ 3,237 (+449.58%)
Mutual labels:  ubuntu, debian, fedora
Openvpn Install
OpenVPN road warrior installer for Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora
Stars: ✭ 14,199 (+2310.7%)
Mutual labels:  ubuntu, debian, fedora
Archcraft
// Source : ISO
Stars: ✭ 437 (-25.81%)
Mutual labels:  ubuntu, debian, fedora
Rpi Pxe Server
setup a Raspberry Pi as an PXE-Server
Stars: ✭ 197 (-66.55%)
Mutual labels:  ubuntu, debian, fedora
Robox
The tools needed to robotically create/configure/provision a large number of operating systems, for a variety of hypervisors, using packer.
Stars: ✭ 303 (-48.56%)
Mutual labels:  ubuntu, debian, fedora
Anlinux Adfree
AnLinux, Ad free version.
Stars: ✭ 127 (-78.44%)
Mutual labels:  ubuntu, debian, fedora
Ansible Role Security
Ansible Role - Security
Stars: ✭ 398 (-32.43%)
Mutual labels:  ubuntu, debian, fedora
ansible-role-daemonize
Ansible Role - Daemonize.
Stars: ✭ 14 (-97.62%)
Mutual labels:  debian, ubuntu, fedora
Spotcommander
The most intuitive and feature-rich remote control for Spotify for Linux
Stars: ✭ 152 (-74.19%)
Mutual labels:  ubuntu, debian, fedora
notion-linux
Native Notion packages for Linux
Stars: ✭ 887 (+50.59%)
Mutual labels:  debian, ubuntu, fedora
Rofi
A large collection of Rofi based custom Menu, Applets, Launchers & Powermenus.
Stars: ✭ 2,907 (+393.55%)
Mutual labels:  ubuntu, debian, fedora
Negibox
All in one downloader 全能下载器
Stars: ✭ 335 (-43.12%)
Mutual labels:  ubuntu, debian, fedora
Anlinux Resources
Image and Script for LinuxOnAndroid App
Stars: ✭ 135 (-77.08%)
Mutual labels:  ubuntu, debian, fedora
Kvm Install Vm
Bash script to build local virtual machines using KVM/libvirt and cloud-init.
Stars: ✭ 248 (-57.89%)
Mutual labels:  ubuntu, debian, fedora
Postinstall
💻 Bash Script to automate post-installation steps
Stars: ✭ 104 (-82.34%)
Mutual labels:  ubuntu, debian, fedora
Mindforger
Thinking notebook and Markdown editor.
Stars: ✭ 1,695 (+187.78%)
Mutual labels:  ubuntu, debian, fedora
Hardware
The devices I have, what runs on them, their configurations, issues, solutions, and associated projects
Stars: ✭ 67 (-88.62%)
Mutual labels:  btrfs, ubuntu, debian
darknet.py
darknet.py is a network application with no dependencies other than Python and Tor, useful to anonymize the traffic of linux servers and workstations.
Stars: ✭ 71 (-87.95%)
Mutual labels:  debian, ubuntu, fedora

mkosi - Create legacy-free OS images

A fancy wrapper around dnf --installroot, debootstrap, pacstrap and zypper that may generate disk images with a number of bells and whistles.

For a longer description and available features and options, see the man page.

Installation

Installing mkosi is easy, as it has no runtime Python dependencies (you will need all the tools to format filesystems and bootstrap the distribution appropriate for your image, though).

If you just want the main branch you can run

python3 -m pip install --user git+https://github.com/systemd/mkosi.git

If you want to hack on mkosi do

# clone either this repository or your fork of it
git clone https://github.com/systemd/mkosi/
cd mkosi
python3 -m pip install --user --no-use-pep517 --editable .

This will install mkosi in editable mode to ~/.local/bin/mkosi, allowing you to use your own changes right away.

For development you also need mypy, for type checking, pytest, to run tests, and black, for code formatting. We check tests, typing and code formatting in CI (see .github/workflows), but you can run the tests locally as well.

zipapp

You can also package mkosi as a zipapp that you can deploy anywhere in your PATH. Running this will leave a mkosi binary in builddir/

tools/generate-zipapp.sh

Python module

Besides the mkosi binary, you can also call mkosi via

python -m mkosi

when not installed as a zipapp.

Please note, that the python module exists solely for the usage of the mkosi binary and is not to be considered a public API.

git blame

When using git blame, be sure to add --ignore-revs-file .git-blame-ignore-revs to the arguments to ignore irrelevant code formatting commits. This can be set permanently via the blame.ignoreRevsFile git option.

References

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].