diff options
Diffstat (limited to 'packages/gce-disk-expand/packaging/gce-disk-expand.spec')
-rw-r--r-- | packages/gce-disk-expand/packaging/gce-disk-expand.spec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/gce-disk-expand/packaging/gce-disk-expand.spec b/packages/gce-disk-expand/packaging/gce-disk-expand.spec index d34b08d..a1fb6dd 100644 --- a/packages/gce-disk-expand/packaging/gce-disk-expand.spec +++ b/packages/gce-disk-expand/packaging/gce-disk-expand.spec @@ -33,13 +33,13 @@ This package resizes the root partition on first boot using parted. %install mv src/expandfs-lib.sh src/usr/share/dracut/modules.d/50expand_rootfs/ -%if 0%{?rhel} == 7 +%if 0%{?rhel} >= 7 ./dracut6_7.sh %endif rsync -Pravz src/ %{buildroot} %files -%if 0%{?rhel} == 7 +%if 0%{?rhel} >= 7 %attr(755,root,root) /usr/lib/dracut/modules.d/50expand_rootfs/* %else %attr(755,root,root) /usr/share/dracut/modules.d/50expand_rootfs/* |