Skip to content

Commit

Permalink
use different directories
Browse files Browse the repository at this point in the history
  • Loading branch information
abbbi committed Aug 22, 2023
1 parent 2708940 commit 98e5fe9
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Changelog
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Version 1.9.38
---------
* Release packages compatible with RHEL9 (#130)
+ add required vagrant file
+ adjust requirements during package build
+ put dist files into separate directories

Version 1.9.37
---------
Expand Down
6 changes: 6 additions & 0 deletions vagrant/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/bin/bash
set -e

mkdir -p ../dist
mkdir -p ../dist/debian
mkdir -p ../dist/rhel8
mkdir -p ../dist/rhel9

export VAGRANT_CWD=$(pwd)/debian/
vagrant up && vagrant destroy -f

Expand Down
2 changes: 1 addition & 1 deletion vagrant/debian/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ Vagrant.configure("2") do |config|
virtnbdrestore -h
virtnbdmap -h
SHELL
config.vm.synced_folder "../../dist", "/vagrant", type: "virtiofs"
config.vm.synced_folder "../../dist/debian", "/vagrant", type: "virtiofs"
end
2 changes: 1 addition & 1 deletion vagrant/rhel8/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ Vagrant.configure("2") do |config|
virtnbdrestore -h
virtnbdmap -h
SHELL
config.vm.synced_folder "../../dist", "/vagrant", type: "virtiofs"
config.vm.synced_folder "../../dist/rhel8/", "/vagrant", type: "virtiofs"
end
2 changes: 1 addition & 1 deletion vagrant/rhel9/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ Vagrant.configure("2") do |config|
virtnbdrestore -h
virtnbdmap -h
SHELL
config.vm.synced_folder "../../dist", "/vagrant", type: "virtiofs"
config.vm.synced_folder "../../dist/rhel9/", "/vagrant", type: "virtiofs"
end

0 comments on commit 98e5fe9

Please sign in to comment.