haiku: working USB backend, symlink-safe extraction
- usb_haiku.cpp: each disk device transaction kept minimal, because
Haiku R1/beta6 rejects or hangs on combined ones: erase foreign
content, delete old MBR partitions, create the 0x0c partition
("FAT 32-bit, LBA-mapped", with "active false" parameters) and format
FAT32 are separate commits; Uninitialize is never used on an MBR
- OPENPU_DEBUG=1 traces the Haiku disk device steps on stderr
- extractTar resolves the destination first: SECURE_SYMLINKS refused
destinations under a symlink (/tmp on Haiku)
- check.sh: clang-tidy skips sources not built on Linux
- validated in the Haiku VM: write-usb on the virtual stick gives an MBR,
a FAT32 partition at 1 MiB, the label, license/ and the archive tree
without UpdateInfo.xml, with identical checksums; 53 unit tests pass
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
This commit is contained in:
1 parent
b2ca454d44
commit
962343f220
4 files changed
+103
-16
No files matched your search
@@ -9,6 +9,14 @@ complete; every release is an annotated git tag `vX.Y.Z` (see `tools/release.sh`
|
||||
### Added
|
||||
- Haiku development VM tooling: `tools/haiku-vm.sh` (Haiku R1/beta6 x86_64 under QEMU/KVM, with a
|
||||
virtual USB stick) and `tools/qmp.py` (headless screenshots, clicks and typing through QMP).
|
||||
- Haiku USB backend (Storage Kit disk device API): lists USB drives, writes an MBR with one FAT32
|
||||
partition at 1 MiB, mounts, unmounts and ejects. Validated end to end in the VM.
|
||||
- The core library and `openpu-cli` build and pass all unit tests on Haiku R1/beta6 x86_64.
|
||||
|
||||
### Fixed
|
||||
- Archive extraction failed when the destination path contained a symbolic link (e.g. `/tmp` on
|
||||
Haiku).
|
||||
- `tools/release.sh` produced empty release notes.
|
||||
|
||||
## [0.2.0] - 2026-11-28
|
||||
|
||||
|
||||
Reference in new issue
Block a user