Skip to content

Commit

Permalink
fix: Add libblockdev-s390 to blivet_package_list
Browse files Browse the repository at this point in the history
libblockdev-s390 is available only on s390x architecture so we
can't add it as dependency everywhere.
  • Loading branch information
vojtechtrefny authored and richm committed Aug 2, 2024
1 parent 794e385 commit 90b761f
Show file tree
Hide file tree
Showing 14 changed files with 42 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vars/AlmaLinux_10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@ blivet_package_list:
- xfsprogs
- stratisd
- stratis-cli
# XXX libblockdev-s390 is available only on s390 so just add 'libblockdev' everywhere
# else, it is already brought in as dependency of blivet so it's just no-op here
- "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}"
# vdo not yet available on el10
# - vdo
3 changes: 3 additions & 0 deletions vars/AlmaLinux_8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ blivet_package_list:
- xfsprogs
- stratisd
- stratis-cli
# XXX libblockdev-s390 is available only on s390 so just add 'libblockdev' everywhere
# else, it is already brought in as dependency of blivet so it's just no-op here
- "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}"
3 changes: 3 additions & 0 deletions vars/AlmaLinux_9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ blivet_package_list:
- xfsprogs
- stratisd
- stratis-cli
# XXX libblockdev-s390 is available only on s390 so just add 'libblockdev' everywhere
# else, it is already brought in as dependency of blivet so it's just no-op here
- "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}"
3 changes: 3 additions & 0 deletions vars/CentOS_10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@ blivet_package_list:
- xfsprogs
- stratisd
- stratis-cli
# XXX libblockdev-s390 is available only on s390 so just add 'libblockdev' everywhere
# else, it is already brought in as dependency of blivet so it's just no-op here
- "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}"
# vdo not yet available on el10
# - vdo
3 changes: 3 additions & 0 deletions vars/CentOS_7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ blivet_package_list:
- libblockdev-lvm
- libblockdev-mdraid
- libblockdev-swap
# XXX libblockdev-s390 is available only on s390 so just add 'libblockdev' everywhere
# else, it is already brought in as dependency of blivet so it's just no-op here
- "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}"
# additional options for mkfs when creating a disk volume (whole disk fs)
__storage_blivet_diskvolume_mkfs_option_map:
ext2: '-F'
Expand Down
3 changes: 3 additions & 0 deletions vars/CentOS_8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ blivet_package_list:
- xfsprogs
- stratisd
- stratis-cli
# XXX libblockdev-s390 is available only on s390 so just add 'libblockdev' everywhere
# else, it is already brought in as dependency of blivet so it's just no-op here
- "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}"
3 changes: 3 additions & 0 deletions vars/CentOS_9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ blivet_package_list:
- xfsprogs
- stratisd
- stratis-cli
# XXX libblockdev-s390 is available only on s390 so just add 'libblockdev' everywhere
# else, it is already brought in as dependency of blivet so it's just no-op here
- "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}"
3 changes: 3 additions & 0 deletions vars/Fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ blivet_package_list:
- libblockdev-swap
- stratisd
- stratis-cli
# XXX libblockdev-s390 is available only on s390 so just add 'libblockdev' everywhere
# else, it is already brought in as dependency of blivet so it's just no-op here
- "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}"
_storage_copr_packages:
- repository: "rhawalsh/dm-vdo"
packages:
Expand Down
3 changes: 3 additions & 0 deletions vars/RedHat_10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@ blivet_package_list:
- xfsprogs
- stratisd
- stratis-cli
# XXX libblockdev-s390 is available only on s390 so just add 'libblockdev' everywhere
# else, it is already brought in as dependency of blivet so it's just no-op here
- "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}"
# vdo not yet available on el10
# - vdo
3 changes: 3 additions & 0 deletions vars/RedHat_7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ blivet_package_list:
- libblockdev-lvm
- libblockdev-mdraid
- libblockdev-swap
# XXX libblockdev-s390 is available only on s390 so just add 'libblockdev' everywhere
# else, it is already brought in as dependency of blivet so it's just no-op here
- "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}"
# additional options for mkfs when creating a disk volume (whole disk fs)
__storage_blivet_diskvolume_mkfs_option_map:
ext2: '-F'
Expand Down
3 changes: 3 additions & 0 deletions vars/RedHat_8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ blivet_package_list:
- xfsprogs
- stratisd
- stratis-cli
# XXX libblockdev-s390 is available only on s390 so just add 'libblockdev' everywhere
# else, it is already brought in as dependency of blivet so it's just no-op here
- "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}"
3 changes: 3 additions & 0 deletions vars/RedHat_9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ blivet_package_list:
- xfsprogs
- stratisd
- stratis-cli
# XXX libblockdev-s390 is available only on s390 so just add 'libblockdev' everywhere
# else, it is already brought in as dependency of blivet so it's just no-op here
- "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}"
3 changes: 3 additions & 0 deletions vars/Rocky_8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ blivet_package_list:
- xfsprogs
- stratisd
- stratis-cli
# XXX libblockdev-s390 is available only on s390 so just add 'libblockdev' everywhere
# else, it is already brought in as dependency of blivet so it's just no-op here
- "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}"
3 changes: 3 additions & 0 deletions vars/Rocky_9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ blivet_package_list:
- xfsprogs
- stratisd
- stratis-cli
# XXX libblockdev-s390 is available only on s390 so just add 'libblockdev' everywhere
# else, it is already brought in as dependency of blivet so it's just no-op here
- "{{ 'libblockdev-s390' if ansible_architecture == 's390x' else 'libblockdev' }}"

0 comments on commit 90b761f

Please sign in to comment.