[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [OSSTEST PATCH 10/49] Debian guests made with xen-tools: Write systemd random seed file
When the Debian guest is not made with d-i, we must still provide this random seed file. This can be done in ts-debian-fixup. Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- ts-debian-fixup | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ts-debian-fixup b/ts-debian-fixup index fef9836e..dfeb4d39 100755 --- a/ts-debian-fixup +++ b/ts-debian-fixup @@ -102,6 +102,11 @@ sub console () { logm("extra: $extra"); } +sub randomseed () { + my $cmd = debian_write_random_seed_command($mountpoint); + target_cmd_root($ho, "set -ex\n".cmd); +} + sub filesystems () { my $rootdev= $r{"$gho->{Guest}_rootdev"}; return unless defined($rootdev) && length($rootdev); @@ -215,6 +220,7 @@ END target_cmd_root($ho, debian_dhcp_rofs_fix($ho, $mountpoint)); console(); +randomseed(); filesystems(); otherfixupcfg(); writecfg(); -- 2.20.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |