summaryrefslogtreecommitdiff
path: root/Makefile-boot.am
Commit message (Collapse)AuthorAgeFilesLines
* Update FSF license notices to use URL instead of addressJoseph Marrero2021-12-071-3/+1
|
* build-sys: Include all mkinitcpio bitsColin Walters2021-04-061-1/+1
| | | | | | It's still so tempting to switch to `git archive` to ship sources. Closes: https://github.com/ostreedev/ostree/issues/2312
* Makefile: declare ostree_boot_SCRIPTS and append valuesRicardo Salveti2019-11-061-1/+1
| | | | | | | | | ostree_boot_SCRIPTS was being set on both Makefile-boot.am and Makefile-switchroot.am, causing the first one to be replaced by the other at the final Makefile, so declare as empty and append on both places instead. Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
* build-sys: Dist ostree-finalize-staged.pathColin Walters2018-10-251-0/+1
| | | | | | | Otherwise the tarball doesn't work. Closes: #1766 Approved by: jlebon
* boot: Add ostree-finalize-staged.pathJonathan Lebon2018-10-231-1/+4
| | | | | | | | | | | | | | | | Rather than manually starting the `ostree-finalize-staged.service` unit, we can leverage systemd's path units for this. It fits quite nicely too, given that we already have a path we drop iif we have a staged deployment. To give some time for the preset to make it to systems, we don't yet drop the explicit call to `systemctl start`. Though we do make it conditional based on a DEBUG env var so that we can actually test it in CI for now. Once we're sure this has propagated, we can drop the `systemctl start` path and the env var together. Closes: #1740 Approved by: cgwalters
* Add concept of "staged" deploymentColin Walters2018-04-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | Add API to write a deployment state to `/run/ostree/staged-deployment`, along with a systemd service which runs at shutdown time. This is a big change to the ostree model for hosts, but it closes a longstanding set of bugs; many, many people have hit the "losing changes in /etc" problem. It also avoids the other problem of racing with programs that modify `/etc` such as LVM backups: https://bugzilla.redhat.com/show_bug.cgi?id=1365297 We need this in particular to go to a full-on model for automatically updated host systems where (like a dual-partition model) everything is fully prepared and the reboot can be taken asynchronously. Closes: https://github.com/ostreedev/ostree/issues/545 Closes: #1503 Approved by: jlebon
* Add SPDX-License-Identifier to source filesMarcus Folkesson2018-01-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | SPDX License List is a list of (common) open source licenses that can be referred to by a “short identifier”. It has several advantages compared to the common "license header texts" usually found in source files. Some of the advantages: * It is precise; there is no ambiguity due to variations in license header text * It is language neutral * It is easy to machine process * It is concise * It is simple and can be used without much cost in interpreted environments like java Script, etc. * An SPDX license identifier is immutable. * It provides simple guidance for developers who want to make sure the license for their code is respected See http://spdx.org for further reading. Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com> Closes: #1439 Approved by: cgwalters
* build: Ensure ostree-tmpfiles.conf is distributedPhilip Withnall2017-08-221-1/+1
| | | | | | | Signed-off-by: Philip Withnall <withnall@endlessm.com> Closes: #1103 Approved by: cgwalters
* boot: Add a tmpfiles.d snippet to clean up /var/tmp/ostree-ovl.XXXColin Walters2017-08-171-0/+2
| | | | | | | | | | | | | This is simplest for now. Compare with similar logic from `/usr/lib/tmpfiles.d/tmp.conf`: ``` R! /tmp/systemd-private-* ``` Closes: https://github.com/ostreedev/ostree/issues/393 Closes: #1090 Approved by: jlebon
* Move ostree-* executables to /usr/lib/ostreeGatis Paeglis2016-08-111-1/+1
| | | | | | | | | | | | | | | | | Why not to use libexecdir? Because this directory does not exist on some distros or paths between distros varies. There are several reasons why a well known path is prefered, for example when generating a kernel command line: init=${ostree}/usr/lib/ostree-boot/ostree-prepare-root In addition this saves us some typing in a console when wanting to access the "ostree" cmd line. Closes: #449 Approved by: cgwalters
* build: Override systemd unit directory for distcheckDan Nicholson2016-06-271-0/+3
| | | | | | | | | distcheck tests that all the files are installed under $prefix. That doesn't work with the systemd unit directory since the path comes from pkg-config. Override the setting to be under $prefix in that case. Closes: #372 Approved by: cgwalters
* build: Introduce --with-dracut=yesbutnoconfColin Walters2016-05-011-1/+2
| | | | | | | | | | | | It's actually just easier for build systems (e.g. rpm-ostree) using dracut to use `--add ostree` rather than indirecting through the conf file. This makes it easier for yum-managed systems to install ostree without side effects. Closes: #279 Approved by: gatispaeglis
* build: Move grub2-15_ostree back to pkglibexecdirColin Walters2016-04-111-2/+2
| | | | | | | | | | It's not quite namespaced enough to have `/usr/libexec/grub2-15_ostree`, and the Fedora spec file expects things in `/usr/libexec/ostree`. Changing the spec file would be annoying as we'd need conditionals. Closes: #249 Approved by: gatispaeglis
* Introducing ostree-grub-generatorGatis Paeglis2016-04-041-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ostree-grub-generator can be used to customize the generated grub.cfg file. Compile time decision ostree-grub-generator vs grub2-mkconfig can be overwritten with the OSTREE_GRUB2_EXEC envvar - useful for auto tests and OS installers. Why this alternative approach: 1) The current approach is less flexible than using a custom 'ostree-grub-generator' script. Each system can adjust this script for its needs, instead of using the hardcoded values from ostree-bootloader-grub2.c. 2) Too much overhead on embedded to generate grub.cfg via /etc/grub.d/ configuration files. It is still possible to do so, even with this patch applied. No need to install grub2 package on a target device. 3) The grub2-mkconfig code path has other issues: https://bugzilla.gnome.org/show_bug.cgi?id=761180 Task: https://bugzilla.gnome.org/show_bug.cgi?id=762220 Closes: #228 Approved by: cgwalters
* syntax-check: Remove empty lines at the end of fileGiuseppe Scrivano2015-02-021-1/+0
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* build: Distribute grub2-15_ostreeMatthew Barnes2014-11-041-1/+1
|
* libostree: Add initial GRUB2 supportColin Walters2014-10-161-0/+10
| | | | | | | | | | | | | | | | | | | | In this approach, we drop a /etc/grub.d/15_ostree file which is a hybrid of shell/C that picks up bits from the GRUB2 library (e.g. the block device script generation), and then calls into libostree's GRUB2 code which knows about the BLS entries. This is admittedly ugly. There exists another approach for GRUB2 to learn the BLS specification. However, the spec has a few issues: https://www.redhat.com/archives/anaconda-devel-list/2014-July/msg00002.html This approach also gives a bit more control to the admin via the naming of the 15_ostree symlink; they can easily disable it: Or reorder the ostree entries ahead of 10_linux: Also, this approach doesn't require patches for grub2, which is an issue with the pressure to backport (rpm-)OSTree to EL7.
* Add support for mkinitcpioDaniel Narvaez2013-10-241-0/+48
https://bugzilla.gnome.org/show_bug.cgi?id=710682