No description
Find a file
Christian Kellner ca3db79c35 stages/grub2: support saved_entry grubenv var
The current grub configuration has no logic to select the default
boot entry, which means the next boot entry is chosen by grub2
by the sort order of available entries. This will break tooling
like grub2-set-default and grub2-reboot that set on a specific
variable `saved_entry` in the grub environment file `grubenv` to
to point to the select boot entry.
Change our grub configuration file to use that `saved_entry` var
to select the next boot entry to unbreak the tooling.
In addition to the aforementioned tools, the saved_entry is also
updated by the kernel install scripts when new kernel is installed,
but only if the newly installed kernel is the selected default.
Thus not respecting the `saved_entry` variable might cause a bug
where a newly installed non-default kernel gets selected by grub2.
2021-02-19 14:41:26 +00:00
.devcontainer devcontainer: support for vs code devcontainer 2021-01-21 19:24:25 +01:00
.github ci: convert to new immutable ci images 2021-02-19 11:02:17 +01:00
assemblers assembler/oci-archive: fix layer media type 2021-02-12 15:55:43 +01:00
docs Docs: Document --inspect option in the man page 2021-01-17 13:07:14 +01:00
inputs inputs: add noop input for testing 2021-02-12 15:55:43 +01:00
osbuild treesum: handle special device files 2021-02-16 23:00:13 +00:00
runners runners: add CentOS 8 runner 2020-12-09 11:50:48 +01:00
samples stages/noop: fix the schema to allow any props 2020-07-16 19:02:25 +02:00
schemas schema: add version 2 manifest schema 2021-02-12 15:55:43 +01:00
schutzbot ci: trigger schutzbot from github action 2021-02-12 17:56:14 +01:00
selinux selinux: allow nnp and nosuid transitions 2020-08-10 14:05:24 +02:00
sources sources: rename org.osbuild.{files -> curl} 2021-02-12 19:27:08 +01:00
stages stages/grub2: support saved_entry grubenv var 2021-02-19 14:41:26 +00:00
test test/initrd: remove unneeded f-string 2021-02-16 22:58:15 +00:00
tools mpp/depsolve: support multiple repos 2021-02-16 23:00:13 +00:00
.editorconfig editorconfig: include markdown specifications 2020-10-23 16:29:50 +02:00
.gitignore test: add coverity targets to the Makefile 2020-06-24 10:01:24 +02:00
.pylintrc pylint: increase max attributes to 10 2020-07-21 13:25:04 +02:00
.travis.yml ci: move test_boot to github-actions 2020-05-13 22:00:27 +02:00
LICENSE Revert "Fill in the license template" 2019-11-18 12:23:10 +01:00
Makefile test: start a new ostree integration test suite 2021-02-12 15:55:43 +01:00
NEWS.md NEWS: update for osbuild version 25 2021-02-12 20:24:57 +01:00
osbuild.spec 25 2021-02-12 20:24:57 +01:00
README.md Makefile: use pytest for nicer output 2020-12-04 18:24:48 +01:00
requirements.txt Makefile: use pytest for nicer output 2020-12-04 18:24:48 +01:00
setup.py 25 2021-02-12 20:24:57 +01:00

OSBuild

Build-Pipelines for Operating System Artifacts

OSBuild is a pipeline-based build system for operating system artifacts. It defines a universal pipeline description and a build system to execute them, producing artifacts like operating system images, working towards an image build pipeline that is more comprehensible, reproducible, and extendable.

See the osbuild(1) man-page for details on how to run osbuild, the definition of the pipeline description, and more.

Project

Requirements

The requirements for this project are:

  • bubblewrap >= 0.4.0
  • python >= 3.7

Additionally, the built-in stages require:

  • bash >= 5.0
  • coreutils >= 8.31
  • curl >= 7.68
  • qemu-img >= 4.2.0
  • rpm >= 4.15
  • tar >= 1.32
  • util-linux >= 235

At build-time, the following software is required:

  • python-docutils >= 0.13
  • pkg-config >= 0.29

Testing requires additional software:

  • pytest

Build

The standard python package system is used. Consult upstream documentation for detailed help. In most situations the following commands are sufficient to build and install from source:

python setup.py build
python setup.py install --skip-build --root=/

The man-pages require python-docutils and can be built via:

rst2man docs/<input-file>.rst <output-file>

Repository:

License:

  • Apache-2.0
  • See LICENSE file for details.