Fedora Modularity
-
Upload
adam-samalik -
Category
Technology
-
view
45 -
download
0
Transcript of Fedora Modularity
Why are distros great?Ship packaged softwareDependencies includedIntegrated and testedPatched for security vulnerabilities
But distributionsship just a single
version of anapplication for each
release.
(mostly because of conflicting dependencies)
Introducing tinysystem calledBase Runtime
Includes the kernel, glibc, and other basic tools and
libraries with proven long-term ABI stability.
Modules are definedby a modulemd file.
Defining its components, an API, a build recipe,
and install profiles.
"Stop it! We want to see some code, Adam!"
document: modulemdversion: 1data: # An ID of the module. name: foo stream: stream-name version: 20160927144203
# What's the module about? summary: An example module description: > A module for the demonstration of the metadata format. Also, the obligatory lorem ipsum dolor sit amet goes right here.
# How can I use it? How can I change it? Can I sell it? license: module: - MIT content: - Beerware - GPLv2+
# Where does it live? references: community: http://www.example.com/ documentation: http://www.example.com/ tracker: http://www.example.com/
Modules aredelivered as various
artifacts.
Like an RPM repository, Linux Container, Flatpak,OSTree, ISO, etc.
$ dnf install httpd...
$ vim /etc/httpd/configuration.file...
$ vim /var/www/index.html...
$ systemctl start httpd
$ dnf install httpd...
$ vim /etc/httpd/configuration.file...
$ vim /var/www/index.html...
$ systemctl start httpd
#.... few days later ....
$ dnf update
You choosethe right streams
before installation.
Or get an iso with pre-selected streams - similar to thecurrent situation.