Accepting request 128876 from openSUSE:Factory:ARM
- Fix qemu-user build by not evaluating ps output that doesn't reflect what the virtual processes see OBS-URL: https://build.opensuse.org/request/show/128876 OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=120
This commit is contained in:
parent
4c4cff2503
commit
e7ef0f5fce
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 13 12:47:35 UTC 2012 - agraf@suse.com
|
||||||
|
|
||||||
|
- Fix qemu-user build by not evaluating ps output that doesn't reflect
|
||||||
|
what the virtual processes see
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 6 12:16:52 UTC 2012 - werner@suse.de
|
Wed Jun 6 12:16:52 UTC 2012 - werner@suse.de
|
||||||
|
|
||||||
|
6
ksh.spec
6
ksh.spec
@ -207,6 +207,12 @@ fi
|
|||||||
((IGNORED & SIGMASK)) && let ++usesigexec || true
|
((IGNORED & SIGMASK)) && let ++usesigexec || true
|
||||||
test -t 0 || let ++usesigexec
|
test -t 0 || let ++usesigexec
|
||||||
|
|
||||||
|
%if 0%{?qemu_user_space_build:1}
|
||||||
|
# agraf: In a qemu user space build, ps can not find the actual sigmask
|
||||||
|
# of processes, so we run into an endless loop. Disable sigexec.
|
||||||
|
usesigexec=0
|
||||||
|
%endif
|
||||||
|
|
||||||
if ((usesigexec > 0)) ; then
|
if ((usesigexec > 0)) ; then
|
||||||
${CC:-gcc} ${RPM_OPT_FLAGS} -o sigexec %{S:42} -lutil
|
${CC:-gcc} ${RPM_OPT_FLAGS} -o sigexec %{S:42} -lutil
|
||||||
for fd in /proc/$$/fd/*; do
|
for fd in /proc/$$/fd/*; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user