Загрузка страницы

Building initrd images from rpms - DevConf.CZ 2022

Speaker: Zbigniew Jędrzejewski-Szmek

We currently use dracut to build initrd images. Dracut is: a mechanism to specify what files should be included in the initrd image, a mechanism to build the cpio archive, but also a system in the initrd that provides an execution queue in the initrd that works in parallel to systemd. It turns out we can build initrd images in a much simpler way: just build an cpio archive directly from rpms, and let systemd manage all jobs required to boot the machine.

Why a new way to build initrd images? Dracut is a very very complex mechanism that was built for challenges of ten years ago. We already try to split and minimize rpms to make containers smaller. We can immediately reuse this work for initrd images, instead of building a parallel system to specify which files should be included in the initrd. Systemd provides a very well tested execution queue. We don't need the parallel runqueue that was created before systemd existed. It turns out that we can build a working system already with minimal effort. Figuring out all the corner cases will require work, either to fix bugs or to reduce dependencies, but this work will be immediately useful e.g. for containers or the emergency target in the host system or minimal installations.

This project was presented in very early form during Nest 2021. We have various work items planned for Autumn 2021, and during DevConf we hope to present a generally-usable prototype.

Sched: https://sched.co/siJi

Видео Building initrd images from rpms - DevConf.CZ 2022 канала DevConf
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
5 февраля 2022 г. 14:43:56
00:48:25
Яндекс.Метрика