1
0
mirror of https://github.com/containers/bootc.git synced 2026-02-05 06:45:13 +01:00
Commit Graph

3410 Commits

Author SHA1 Message Date
github-actions[bot]
84157fd69c chore: Update generated files
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-12 03:48:49 +00:00
Colin Walters
83e93cd1cf Merge pull request #1403 from cgwalters/bump-composefs-rs
Bump composefs-rs
2025-07-11 20:40:53 -04:00
Colin Walters
d75d53934d Bump composefs-rs
Prep for work on the composefs-rs backend.

Signed-off-by: Colin Walters <walters@verbum.org>
2025-07-11 17:17:50 -04:00
Colin Walters
0ac3ef1287 Merge pull request #1397 from ckyrouac/chunking-xattrs
chunking: Support exclusive chunks defined via xattrs
2025-07-11 10:06:50 -04:00
ckyrouac
81b3c270b0 chunking: Support exclusive chunks defined via xattrs
Signed-off-by: ckyrouac <ckyrouac@redhat.com>
2025-07-10 15:16:30 -04:00
Colin Walters
5ed53c30f0 Merge pull request #1399 from jmarrero/verbose-status
lib/src/status: add verbose human readable output
2025-07-09 17:04:47 -04:00
Joseph Marrero Corchado
29066f5cea lib/src/status: add verbose human readable output
Assisted-by: Claude Code
2025-07-09 16:22:59 -04:00
Colin Walters
e7d15d4283 Merge pull request #1398 from jmarrero/reboot
lib/src/reboot: use systemd-run to execute the reboot
2025-07-08 15:03:46 -04:00
Joseph Marrero Corchado
9f566a2e1f lib/src/reboot: use systemd-run to execute the reboot
When we do a reboot it is triggered inside the bootc namespace.
As we implement support for soft-reboots we need to make sure
that systemd has a view into the mounted /run/nextroot
to be able to act on doing a soft-reboot or a reboot.
By using systemd-run we avoid the limited view in the current
namespace.

Signed-off-by: Joseph Marrero Corchado <jmarrero@redhat.com>
2025-07-08 14:24:28 -04:00
Colin Walters
bb5171b685 Merge pull request #1394 from cgwalters/publish-internals
Rework utils and blockdev crates as -internals in prep for publishing
2025-07-08 11:37:46 -04:00
Joseph Marrero Corchado
a9312153c9 Merge pull request #1393 from cgwalters/auth-expand
secrets: Expand on authfile
2025-07-01 13:47:23 -04:00
Colin Walters
f6a4bada34 Rework utils and blockdev crates as -internals in prep for publishing
See https://github.com/coreos/bootupd/pull/963

Basically I just want a way to keep these in sync with bootupd;
we're not attempting to make a truly public library.

Signed-off-by: Colin Walters <walters@verbum.org>
2025-07-01 08:25:26 -04:00
Colin Walters
204ed0e2f4 Merge pull request #1368 from jeckersb/upstream-meeting-details
README.md: Add details for Friday Zoom meeting
2025-06-30 18:25:58 -04:00
Colin Walters
fe962b983f Merge pull request #1391 from cgwalters/dep-chcon
packaging/rpm: Be sure we pull in chcon (and util-linux)
2025-06-30 17:52:06 -04:00
Colin Walters
86b45a592e secrets: Expand on authfile
- Note the existence of `/run` here
- Describe how to use `podman login --authfile` to write it
- Also describe the pattern of symlinking to keep things in sync
  where desired

Signed-off-by: Colin Walters <walters@verbum.org>
2025-06-30 17:50:56 -04:00
John Eckersberg
2e2c0846cb README.md: Add details for Friday Zoom meeting
Signed-off-by: John Eckersberg <jeckersb@redhat.com>
2025-06-30 16:38:19 -04:00
Colin Walters
b86be3df18 packaging/rpm: Be sure we pull in chcon (and util-linux)
We execute it, and Anaconda was somehow omitting this.

Also pull in util-linux-core because we also depend on that.

https://github.com/bootc-dev/bootc/discussions/1383#discussioncomment-13585806
Signed-off-by: Colin Walters <walters@verbum.org>
2025-06-30 13:42:02 -04:00
Colin Walters
0da9609bd0 cli: Drop version to zero; canonical is in lib/
This version is unused. At one time I accidentally bumped it
and then kept doing so occasionally. Fixate it so that doesn't
happen again.

The canonical version is in lib/Cargo.toml.
2025-06-30 13:39:21 -04:00
Colin Walters
79cc6b4c47 Merge pull request #1385 from jeckersb/update-generated
docs: Update generated
2025-06-27 18:18:53 -04:00
John Eckersberg
1b3f1411c3 docs: Update generated
Signed-off-by: John Eckersberg <jeckersb@redhat.com>
2025-06-27 17:35:36 -04:00
John Eckersberg
3c8a681537 xtask: post-process manpages to fix broken apostrophes
Signed-off-by: John Eckersberg <jeckersb@redhat.com>
2025-06-27 17:35:36 -04:00
Colin Walters
3c083cfb85 Merge pull request #1386 from miabbott/update_generated_workflow
ci: periodically run update-generated
2025-06-27 14:24:57 -04:00
Micah Abbott
9e0a0f887b ci: periodically run update-generated
This introduces a GitHub workflow to periodically run `cargo xtask
update-generated` in order to keep the docs up-to-date with the
latest changes. It will create a PR if changes are detected.

Signed-off-by: Micah Abbott <miabbott@redhat.com>
2025-06-26 15:43:53 -04:00
Colin Walters
5c948a5c0a Merge pull request #1347 from champtar/repro2
More reproducibility fixes / switch to canon-json
2025-06-24 08:45:39 -04:00
Etienne Champetier
80deb0e48c lib,ostree-ext: use canon-json
Replace all serde_json::to_{string,vec,writer} with
equivalent canon_json::CanonJsonSerialize to make the
output stable / reproducible.

Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
2025-06-24 08:04:56 -04:00
Colin Walters
350fb402c3 Merge pull request #1380 from jlebon/pr/digest-pull
deploy: short-circuit pull if digest pullspec already exists
2025-06-23 12:55:08 -04:00
Jonathan Lebon
8da555767c store: short-circuit pull if digest pullspec already exists
If we're pulling by digest and the pullspec already exists, then there's
no need to reach out to the registry or even spawn skopeo.

Detect this case and exit early in the pull code.

This allows RHCOS to conform better to the PinnedImageSet API[1], where
the expectation is that once an image is pulled, the registry will not
be contacted again. In a future with unified storage, the MCO's pre-pull
would work just the same for the RHCOS image as any other.

Framing this more generally: this patch allows one to pre-pull an
image into the store, and making the later deployment operation be
fully offline. E.g. this could be used to implement a `bootc switch
--download-only` option.

[1] 26ce3cd8a0/enhancements/machine-config/pin-and-pre-load-images.md

Signed-off-by: Colin Walters <walters@verbum.org>
Co-authored-by: Colin Walters <walters@verbum.org>
Signed-off-by: Colin Walters <walters@verbum.org>
2025-06-23 11:03:52 -04:00
Colin Walters
9c72683197 Merge pull request #1381 from leopardracer/main
Fix typos in code comments
2025-06-23 10:35:02 -04:00
Colin Walters
fff106ec62 store: Load previous state earlier
Prep for pull-by-digest noop.

Signed-off-by: Colin Walters <walters@verbum.org>
2025-06-23 09:59:56 -04:00
Colin Walters
94f82b4916 store: Lazily open target image
Prep for avoiding any operations in pull-by-digest mode.

Signed-off-by: Colin Walters <walters@verbum.org>
2025-06-23 09:59:56 -04:00
leopardracer
939c07e6d2 Update store.rs 2025-06-19 22:28:49 +03:00
leopardracer
458e1f049e Update deploy.rs 2025-06-19 22:27:08 +03:00
Colin Walters
2b1897c3b5 Merge pull request #1378 from gursewak1997/bootc-1353
Create /run/reboot-required by default
2025-06-18 12:57:23 -04:00
gursewak1997
389f6f305d Create /run/reboot-required by default
When staging a new deployment, create /run/reboot-required to signal that
a reboot is needed. This file is monitored by kured (Kubernetes Reboot
Daemon) and other tools to detect when a system needs to be rebooted.

This makes it easier to integrate bootc with kured and similar tools
without requiring manual configuration or bridging.

Signed-off-by: Colin Walters <walters@verbum.org>
2025-06-18 10:47:48 -04:00
Colin Walters
d72bb144f1 Merge pull request #1377 from cgwalters/bumps
Bump to newer ocidir and containers-image-proxy
2025-06-17 11:07:53 -04:00
Colin Walters
207b7f0abf Bump to newer ocidir and containers-image-proxy
Mostly just keeping up with things, but this is also prep
for us using `GetRawBlob`.

Signed-off-by: Colin Walters <walters@verbum.org>
2025-06-17 10:27:42 -04:00
Colin Walters
c76d9e2c8e Merge pull request #1372 from zeevick10/main
Fix Typos in Documentation
2025-06-16 14:00:58 -04:00
Colin Walters
58ee28cbab Merge pull request #1374 from jeckersb/release
Release 1.4.0
v1.4.0
2025-06-16 14:00:37 -04:00
John Eckersberg
37f0b6ea8d Release 1.4.0
Signed-off-by: John Eckersberg <jeckersb@redhat.com>
2025-06-16 11:31:52 -04:00
FT
e3262f440f Update guidance.md 2025-06-15 14:12:19 +02:00
FT
a8830d0785 Update users-and-groups.md 2025-06-15 14:11:52 +02:00
Colin Walters
1ba15a991b Merge pull request #1369 from vtjl10/main
Fix Typos and Improve Formatting in Documentation
2025-06-15 01:33:29 -04:00
fuder.eth
10435b9b8a Update filesystem-sysroot.md 2025-06-13 20:01:44 +02:00
fuder.eth
4590b650d3 Update relationship-particles.md 2025-06-13 20:01:16 +02:00
Xiaofeng Wang
a5ecfe5b80 Merge pull request #1358 from cgwalters/buildsys-rework
build-sys: Rework to have toplevel Dockerfile + Justfile
2025-06-13 22:57:25 +08:00
Joseph Marrero Corchado
d05d4901be Merge pull request #1367 from kilavvy/main
Fix Typo in Documentation and Improve Iterator Comment Clarity
2025-06-12 13:16:48 -04:00
kilavvy
91b64485ee Update relationship-particles.md 2025-06-12 15:49:03 +02:00
kilavvy
83ef365b72 Update iterators.rs 2025-06-12 15:48:09 +02:00
John Eckersberg
9b72f1ae36 Merge pull request #1366 from cgwalters/two-minor
Two minor patches
2025-06-12 09:16:18 -04:00
Colin Walters
76ec42bd91 tar/export: Only load root once
Minor optimization for previous commit.

Signed-off-by: Colin Walters <walters@verbum.org>
2025-06-12 06:53:55 +02:00