Skip to content
This repository was archived by the owner on Aug 23, 2026. It is now read-only.

Commit 515107e

Browse files
updated github workflows and documentation
1 parent 0032b0d commit 515107e

6 files changed

Lines changed: 17 additions & 17 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ jobs:
3131
- name: Build libvhdi
3232
run: nix build .#libvhdi -L
3333

34-
- name: Test binary execution
35-
run: |
36-
./result/bin/vhdiinfo --version
37-
./result/bin/vhdimount --version
38-
3934
checks:
4035
runs-on: ubuntu-latest
4136

‎CHANGELOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3636
### Technical Details
3737
- libvhdi version: 20240509
3838
- Supports VHD and VHDX formats
39-
- Includes vhdiinfo, vhdimount, and vhdiexport tools
39+
- Includes vhdiinfo and vhdimount tools
4040
- FUSE2 and FUSE3 support
4141

4242
### Notes

‎README.md‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ Current release: `20251119`
1111
libvhdi provides:
1212
- **vhdiinfo**: Display information about VHD/VHDX files
1313
- **vhdimount**: FUSE-based tool to mount VHD/VHDX as a filesystem
14-
- **vhdiexport**: Export VHD data to raw format
15-
1614
This package supports both VHD (Virtual Hard Disk) and VHDX (Virtual Hard Disk v2) formats.
1715

1816
## Usage
@@ -98,9 +96,8 @@ nix flake check
9896
nix build .#libvhdi
9997

10098
# Test utilities
101-
./result/bin/vhdiinfo --version
102-
./result/bin/vhdimount --version
103-
./result/bin/vhdiexport --version
99+
./result/bin/vhdiinfo -V
100+
./result/bin/vhdimount -V
104101
```
105102

106103
## Architecture

‎default.nix‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: Apache-2.0
22
# libvhdi Package - Library and tools to access Virtual Hard Disk (VHD) image format
3-
# Provides vhdimount (FUSE-based VHD mounter), vhdiinfo, and vhdiexport utilities.
3+
# Provides vhdimount (FUSE-based VHD mounter) and vhdiinfo utilities.
44
#
55
# This file is structured for nixpkgs submission.
66
# When submitting to nixpkgs, it will be placed at:
@@ -51,6 +51,7 @@ stdenv.mkDerivation {
5151
];
5252

5353
enableParallelBuilding = true;
54+
doInstallCheck = true;
5455

5556
postInstall = ''
5657
# Verify the library and tools were built
@@ -73,13 +74,21 @@ stdenv.mkDerivation {
7374
ls -la "$out/bin/"
7475
'';
7576

77+
installCheckPhase = ''
78+
runHook preInstallCheck
79+
80+
"$out/bin/vhdiinfo" -V
81+
"$out/bin/vhdimount" -V
82+
83+
runHook postInstallCheck
84+
'';
85+
7686
meta = with lib; {
7787
description = "Library and tools to access the Virtual Hard Disk (VHD) image format";
7888
longDescription = ''
7989
libvhdi provides:
8090
- vhdiinfo: Display information about VHD/VHDX files
8191
- vhdimount: FUSE-based tool to mount VHD/VHDX as a filesystem
82-
- vhdiexport: Export VHD data to raw format
8392
8493
Used by Xen Orchestra for backup restore and disk inspection operations.
8594
This package supports both VHD (Virtual Hard Disk) and VHDX (Virtual Hard Disk v2) formats.

‎docs/development.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ nix develop
1515

1616
```bash
1717
nix build .#libvhdi
18-
./result/bin/vhdiinfo --version
18+
./result/bin/vhdiinfo -V
1919
```
2020

2121
### Compatibility Alias Build
@@ -42,8 +42,8 @@ nix build .#libvhdi-test
4242
```bash
4343
nix flake check
4444
nix build .#libvhdi
45-
./result/bin/vhdiinfo --version
46-
./result/bin/vhdimount --version
45+
./result/bin/vhdiinfo -V
46+
./result/bin/vhdimount -V
4747
```
4848

4949
## Release Process

‎docs/nixpkgs-submission.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ Add libvhdi package - Library and tools to access VHD/VHDX image formats.
121121
Provides:
122122
- vhdiinfo: Display VHD/VHDX information
123123
- vhdimount: FUSE-based VHD/VHDX mounter
124-
- vhdiexport: Export VHD to raw format
125124

126125
### Things Done
127126

0 commit comments

Comments
 (0)