- random seed start script: use pool_size from kernel,

not the old 512 bytes (bnc#730736)

OBS-URL: https://build.opensuse.org/package/show/Base:System/aaa_base?expand=0&rev=321
This commit is contained in:
Ruediger Oertel 2011-11-22 11:50:23 +00:00 committed by Git OBS Bridge
parent ddc8c7e055
commit c71e76609a
4 changed files with 8 additions and 23 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 22 11:49:07 UTC 2011 - ro@suse.de
- random seed start script: use pool_size from kernel,
not the old 512 bytes (bnc#730736)
-------------------------------------------------------------------
Thu Nov 10 14:37:16 UTC 2011 - fcrozat@suse.com

View File

@ -35,7 +35,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
# run make package in checkout out git repo to recreate
Source: aaa_base.tar.bz2
Source99: aaa_base-rpmlintrc
Patch0: systemd_no_wrap_service.patch
%description
This package installs several important configuration files. Central
@ -55,7 +54,6 @@ and convenience hacks).
%prep
%setup -n aaa_base
%patch0 -p1
%build
make CFLAGS="$RPM_OPT_FLAGS" CC="%{__cc}" %{?_smp_mflags}

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1c53309708ef4c16e130a74ffbfb7d724bb4c8ec123a6d18169809f392022fdb
size 98327
oid sha256:a2a920612b4b403210d8977963c8d181ec6090d1327ff0c5d8bb7c9e7194c2de
size 98503

View File

@ -1,19 +0,0 @@
diff --git a/files/sbin/service b/files/sbin/service
index 5984b28..56ad239 100755
--- a/files/sbin/service
+++ b/files/sbin/service
@@ -21,12 +21,13 @@ RCDIR="/etc/init.d"
#
PATH=/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
test -n "$TERM" || TERM=raw
+test -n "$SYSTEMD_NO_WRAP" && export SYSTEMD_NO_WRAP
LANG=POSIX
export PATH TERM LANG
exec_rc ()
{
- env -i LANG=$LANG PATH=$PATH TERM=$TERM ${1+"$@"}
+ env -i LANG=$LANG PATH=$PATH TERM=$TERM SYSTEMD_NO_WRAP=$SYSTEMD_NO_WRAP ${1+"$@"}
}
usage ()