From dc0e08157ec674e6e58ca2718cee7b13139eba57 Mon Sep 17 00:00:00 2001 From: Dan Voiculeasa Date: Thu, 19 Aug 2021 10:01:22 +0300 Subject: [PATCH] Fix bash script file mode Let the bash script get installed as rwxr-xr-x and remove from the rpm spec file the chmod call. Tested by doing a CentOS7 build-pkg & build-iso, then checking the file mode. Story: 2009101 Task: 43051 Signed-off-by: Dan Voiculeasa Change-Id: Ia0882ba8900c3813165b3770ed90602e31f6b73b --- playbookconfig/centos/playbookconfig.spec | 1 - playbookconfig/opensuse/playbookconfig.spec | 1 - .../update-keystone-data/files/validate_keystone_passwords.sh | 0 3 files changed, 2 deletions(-) mode change 100644 => 100755 playbookconfig/src/playbooks/roles/rehome-subcloud/update-keystone-data/files/validate_keystone_passwords.sh diff --git a/playbookconfig/centos/playbookconfig.spec b/playbookconfig/centos/playbookconfig.spec index 0598426ef..285431cd2 100644 --- a/playbookconfig/centos/playbookconfig.spec +++ b/playbookconfig/centos/playbookconfig.spec @@ -33,7 +33,6 @@ This package contains playbooks used for configuring StarlingX. %install make install DESTDIR=%{buildroot}%{local_stx_ansible_dir} -chmod 755 %{buildroot}%{local_stx_ansible_dir}/playbooks/roles/rehome-subcloud/update-keystone-data/files/validate_keystone_passwords.sh %post cp %{local_stx_ansible_dir}/playbooks/ansible.cfg %{local_etc_ansible} diff --git a/playbookconfig/opensuse/playbookconfig.spec b/playbookconfig/opensuse/playbookconfig.spec index d093c671a..a1fba40d8 100644 --- a/playbookconfig/opensuse/playbookconfig.spec +++ b/playbookconfig/opensuse/playbookconfig.spec @@ -38,7 +38,6 @@ chmod 755 %{buildroot}%{local_stx_ansible_dir}/playbooks/roles/bootstrap/persist chmod 755 %{buildroot}%{local_stx_ansible_dir}/playbooks/roles/bootstrap/prepare-env/files/check_root_disk_size.py chmod 755 %{buildroot}%{local_stx_ansible_dir}/playbooks/roles/backup/backup-system/files/fm_alarm.py chmod 755 %{buildroot}%{local_stx_ansible_dir}/playbooks/roles/rehome-subcloud/update-keystone-data/files/migrate_keystone_ids.py -chmod 755 %{buildroot}%{local_stx_ansible_dir}/playbooks/roles/rehome-subcloud/update-keystone-data/files/validate_keystone_passwords.sh %post diff --git a/playbookconfig/src/playbooks/roles/rehome-subcloud/update-keystone-data/files/validate_keystone_passwords.sh b/playbookconfig/src/playbooks/roles/rehome-subcloud/update-keystone-data/files/validate_keystone_passwords.sh old mode 100644 new mode 100755