Skip to content

Commit 5b4b6de

Browse files
committed
release v0.9.1
1 parent 779a25e commit 5b4b6de

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1717

1818
## [Unreleased]
1919

20+
## [0.9.1] - 2024-12-22
21+
### Fixed
22+
- **Critical**: Fixed ext4 filesystem corruption in `SHRINK` command caused by resizing mounted filesystems.
23+
- The filesystem is now properly unmounted before resize operations.
24+
- Moved `SHRINK` to new stage 50-finalize that runs after chroot teardown for cleaner separation.
25+
26+
### Changed
27+
- Improved code architecture by introducing stage 50-finalize for image-level operations.
28+
- Stage 40-postprocess now only handles operations requiring active chroot (PUMP, ZERO).
29+
- Stage 50-finalize handles operations on unmounted images (SHRINK).
30+
2031
## [0.9.0] - 2025-12-19
2132
### Added
2233
- New `SHRINK` command to optimize image size by shrinking the filesystem and partition.
@@ -136,7 +147,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
136147
### Added
137148
- Initial release of a working version of pimod.
138149

139-
[Unreleased]: https://github.com/Nature40/pimod/compare/v0.9.0...HEAD
150+
[Unreleased]: https://github.com/Nature40/pimod/compare/v0.9.1...HEAD
151+
[0.9.1]: https://github.com/Nature40/pimod/compare/v0.9.0...v0.9.1
140152
[0.9.0]: https://github.com/Nature40/pimod/compare/v0.8.0...v0.9.0
141153
[0.8.0]: https://github.com/Nature40/pimod/compare/v0.7.0...v0.8.0
142154
[0.7.0]: https://github.com/Nature40/pimod/compare/v0.6.1...v0.7.0

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM debian:trixie-slim
22

33
LABEL description="Reconfigure Raspberry Pi images with an easy, Docker-like configuration file"
44
LABEL maintainer="hoechst@trackit.systems"
5-
LABEL version="0.9.0"
5+
LABEL version="0.9.1"
66

77
RUN bash
88

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ RUN bash -c 'hexdump /dev/urandom | head'
261261
This allows for better compression of the resulting image, resulting in smaller image files.
262262
Useful when creating images for distribution.
263263

264+
#### 5. Finalize Stage
264265
##### `SHRINK [SIZE]`
265266
`SHRINK` reduces the image file size by shrinking the filesystem and partition.
266267
The operation performs a filesystem check, resizes the filesystem, updates the partition table, and truncates the image file.

0 commit comments

Comments
 (0)