Accepting request 808196 from home:favogt:branches:Base:System

- Use plain #!/bin/sh for flushb

OBS-URL: https://build.opensuse.org/request/show/808196
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=431
This commit is contained in:
Stanislav Brabec 2020-05-24 22:48:07 +00:00 committed by Git OBS Bridge
parent 20b1dd3c6f
commit 8df1b42ed3
6 changed files with 18 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 22 11:15:01 UTC 2020 - Fabian Vogt <fvogt@suse.com>
- Use plain #!/bin/sh for flushb
-------------------------------------------------------------------
Thu May 21 12:48:40 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

@ -676,7 +676,7 @@ ln -s %{_sbindir}/fstrim %{buildroot}/sbin
ln -s %{_sbindir}/chcpu %{buildroot}/sbin
#EndUsrMerge
install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/filesystems
echo -e "#! /bin/bash\n/sbin/blockdev --flushbufs \$1" > %{buildroot}%{_sbindir}/flushb
echo -e "#!/bin/sh\n/sbin/blockdev --flushbufs \$1" > %{buildroot}%{_sbindir}/flushb
chmod 755 %{buildroot}%{_sbindir}/flushb
# Install scripts to configure raw devices at boot time
install -m 644 $RPM_SOURCE_DIR%{_sysconfdir}.raw %{buildroot}%{_sysconfdir}/raw

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 22 11:15:01 UTC 2020 - Fabian Vogt <fvogt@suse.com>
- Use plain #!/bin/sh for flushb
-------------------------------------------------------------------
Thu May 21 12:48:40 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

@ -676,7 +676,7 @@ ln -s %{_sbindir}/fstrim %{buildroot}/sbin
ln -s %{_sbindir}/chcpu %{buildroot}/sbin
#EndUsrMerge
install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/filesystems
echo -e "#! /bin/bash\n/sbin/blockdev --flushbufs \$1" > %{buildroot}%{_sbindir}/flushb
echo -e "#!/bin/sh\n/sbin/blockdev --flushbufs \$1" > %{buildroot}%{_sbindir}/flushb
chmod 755 %{buildroot}%{_sbindir}/flushb
# Install scripts to configure raw devices at boot time
install -m 644 $RPM_SOURCE_DIR%{_sysconfdir}.raw %{buildroot}%{_sysconfdir}/raw

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 22 11:15:01 UTC 2020 - Fabian Vogt <fvogt@suse.com>
- Use plain #!/bin/sh for flushb
-------------------------------------------------------------------
Thu May 21 12:48:40 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

@ -676,7 +676,7 @@ ln -s %{_sbindir}/fstrim %{buildroot}/sbin
ln -s %{_sbindir}/chcpu %{buildroot}/sbin
#EndUsrMerge
install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/filesystems
echo -e "#! /bin/bash\n/sbin/blockdev --flushbufs \$1" > %{buildroot}%{_sbindir}/flushb
echo -e "#!/bin/sh\n/sbin/blockdev --flushbufs \$1" > %{buildroot}%{_sbindir}/flushb
chmod 755 %{buildroot}%{_sbindir}/flushb
# Install scripts to configure raw devices at boot time
install -m 644 $RPM_SOURCE_DIR%{_sysconfdir}.raw %{buildroot}%{_sysconfdir}/raw