Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packaging/vdo-test-tools/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# vdo-test-tools

This repository contains package definitions needed to build some test utilities that are used in the VDO test environment. The intent is to feed into COPR such that each distro that is being tested in the environment has a compatible set of binaries to use while exercising migration (and other) tests.

The spec file contained here will simply refer to the public (github vdo-devel repository)[https://github.com/dm-vdo/vdo-devel] and build a subdirectory for the vdo test tools on each supported distro.

40 changes: 40 additions & 0 deletions packaging/vdo-test-tools/vdo-test-tools.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
%define repo_branch main

Name: vdo-test-tools
Version: 1.0
Release: 2
Summary: VDO Test tools
License: GPL2+
URL: https://github.com/dm-vdo/vdo-devel
Source0: %{url}/archive/refs/heads/main.tar.gz
BuildRequires: make
BuildRequires: gcc
BuildRequires: zlib-devel

%description
This package provides test utilities that are used in the VDO test environment

%prep
%autosetup -n vdo-devel-%{repo_branch}/src/c++/vdo/tools

%build
make

%install
%{__install} -d $RPM_BUILD_ROOT%{_bindir} -m 0755
%{__install} -m 0755 genDiscard $RPM_BUILD_ROOT%{_bindir}/genDiscard
%{__install} -m 0755 genDataBlocks $RPM_BUILD_ROOT%{_bindir}/genDataBlocks
%{__install} -m 0755 setReadOnly $RPM_BUILD_ROOT%{_bindir}/setReadOnly

%files
%defattr(-,root,root)
%{_bindir}/genDiscard
%{_bindir}/genDataBlocks
%{_bindir}/setReadOnly

%changelog
* Nov 11 2025 Chung Chung <cchung@redhat.com> - 1.0-1
- Update description and inital push to github.

* Tue May 27 2025 Andy Walsh <awalsh@redhat.com> - 1.0-1
- Initial version
Loading