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 <dan.voiculeasa@windriver.com>
Change-Id: Ia0882ba8900c3813165b3770ed90602e31f6b73b
This commit is contained in:
Dan Voiculeasa 2021-08-19 10:01:22 +03:00
parent 80fd1cc254
commit dc0e08157e
3 changed files with 0 additions and 2 deletions

View File

@ -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}

View File

@ -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