Accepting request 713456 from home:alarrosa:branches:Virtualization:containers

- Use /bin/bash instead of /usr/bin/bash in SLE12

OBS-URL: https://build.opensuse.org/request/show/713456
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/bubblewrap?expand=0&rev=19
This commit is contained in:
Sebastian Wagner 2019-07-04 15:20:59 +00:00 committed by Git OBS Bridge
parent d21e4dbb5a
commit 5f68286a9a
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 7 14:38:21 UTC 2019 - Antonio Larrosa <alarrosa@suse.com>
- Use /bin/bash instead of /usr/bin/bash in SLE12
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jun 1 15:08:49 UTC 2019 - Sebastian Wagner <sebix+novell.com@sebix.at> Sat Jun 1 15:08:49 UTC 2019 - Sebastian Wagner <sebix+novell.com@sebix.at>

View File

@ -43,7 +43,12 @@ user namespaces.
%prep %prep
%autosetup -n %{name}-%{version} %autosetup -n %{name}-%{version}
sed -i '1d' completions/bash/bwrap sed -i '1d' completions/bash/bwrap
%if 0%{?suse_version} < 1500
sed -i '1s,/usr/bin/env bash,/bin/bash,' demos/bubblewrap-shell.sh
sed -i '1s/env //' demos/userns-block-fd.py
%else
sed -i '1s/env //' demos/bubblewrap-shell.sh demos/userns-block-fd.py sed -i '1s/env //' demos/bubblewrap-shell.sh demos/userns-block-fd.py
%endif
%build %build
env NOCONFIGURE=1 ./autogen.sh env NOCONFIGURE=1 ./autogen.sh