Commit 1102422
committed
container: Add export --format=tar command
Implement bootc container export command to export container filesystems
as bootable tar archives with proper metadata preservation and bootc-
specific features.
Key features:
- Export container filesystems to tar format
- Preserve file permissions, ownership, and metadata
- Kernel relocation from /usr/lib/modules to /boot for legacy compatibility
- Support for output to file or stdout
- Comprehensive error handling and validation
- Basic test coverage for core functionality
Fixes #1957
Assisted-by: OpenCode (Sonnet 4.5)
Signed-off-by: Colin Walters <walters@verbum.org>1 parent 5d6dd67 commit 1102422
File tree
4 files changed
+651
-0
lines changed- crates
- lib/src
- tests-integration/src
4 files changed
+651
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
418 | 444 | | |
419 | 445 | | |
420 | 446 | | |
| |||
1626 | 1652 | | |
1627 | 1653 | | |
1628 | 1654 | | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
1629 | 1660 | | |
1630 | 1661 | | |
1631 | 1662 | | |
| |||
0 commit comments