Jan Kundrát | 6b05a1d | 2019-03-06 17:01:28 +0100 | [diff] [blame^] | 1 | diff --git a/meson.build b/meson.build |
| 2 | index b338886c38..a968af87ee 100644 |
| 3 | --- a/meson.build |
| 4 | +++ b/meson.build |
| 5 | @@ -146,7 +146,7 @@ bootlibdir = join_paths(prefixdir, 'lib/systemd/boot/efi') |
| 6 | testsdir = join_paths(prefixdir, 'lib/systemd/tests') |
| 7 | systemdstatedir = join_paths(localstatedir, 'lib/systemd') |
| 8 | catalogstatedir = join_paths(systemdstatedir, 'catalog') |
| 9 | -randomseeddir = join_paths(localstatedir, 'lib/systemd') |
| 10 | +randomseeddir = '/cfg/random-seed' |
| 11 | profiledir = join_paths(rootlibexecdir, 'portable', 'profile') |
| 12 | |
| 13 | docdir = get_option('docdir') |
| 14 | diff --git a/src/random-seed/random-seed.c b/src/random-seed/random-seed.c |
| 15 | index 0c5f329756..f30f32fb61 100644 |
| 16 | --- a/src/random-seed/random-seed.c |
| 17 | +++ b/src/random-seed/random-seed.c |
| 18 | @@ -17,7 +17,7 @@ |
| 19 | #include "string-util.h" |
| 20 | #include "util.h" |
| 21 | |
| 22 | -#define POOL_SIZE_MIN 512 |
| 23 | +#define POOL_SIZE_MIN 4096 |
| 24 | #define POOL_SIZE_MAX (10*1024*1024) |
| 25 | |
| 26 | static int run(int argc, char *argv[]) { |