Accepting request 532757 from home:dimstar:Factory
I think this should finally cater to all cases, and still allow us to have proper error handling on actual systems OBS-URL: https://build.opensuse.org/request/show/532757 OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=13
This commit is contained in:
parent
67a4a2eee0
commit
2f5a50dce3
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 9 13:51:42 UTC 2017 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Furhter enhance sysusers-generate-pre: inside the build
|
||||||
|
environment, it can be acceptable to be failing to create the
|
||||||
|
users (e.g when building sysuser-tools or system-user-root, since
|
||||||
|
those two packages have to be speificallty excluded). Always
|
||||||
|
return with error code 0 if /.buildenv exists.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 27 11:06:52 UTC 2017 - dimstar@opensuse.org
|
Wed Sep 27 11:06:52 UTC 2017 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -19,6 +19,8 @@ lines=`wc -l < "$tmpfile"`
|
|||||||
|
|
||||||
echo '#!/bin/bash'
|
echo '#!/bin/bash'
|
||||||
echo "tail -n $lines \$0 | /usr/sbin/sysusers2shadow"
|
echo "tail -n $lines \$0 | /usr/sbin/sysusers2shadow"
|
||||||
echo 'exit $?'
|
echo 'RET=$?'
|
||||||
|
echo 'test -f /.buildenv && exit 0'
|
||||||
|
echo 'exit $RET'
|
||||||
echo '######## data below ########'
|
echo '######## data below ########'
|
||||||
cat "$tmpfile"
|
cat "$tmpfile"
|
||||||
|
Loading…
Reference in New Issue
Block a user