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:
Dr. Werner Fink 2012-07-25 07:13:53 +00:00 committed by Git OBS Bridge
parent 4c4cff2503
commit e7ef0f5fce
2 changed files with 12 additions and 0 deletions

View File

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

View File

@ -207,6 +207,12 @@ fi
((IGNORED & SIGMASK)) && let ++usesigexec || true
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
${CC:-gcc} ${RPM_OPT_FLAGS} -o sigexec %{S:42} -lutil
for fd in /proc/$$/fd/*; do