|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 43/62] preseed_hook_installscript: Use partman/early_command, not preseed/
On iso-based installs, with stretch, preseed/early_command runs before
the network is up. This causes the install to fail.
Our existing call sites add things to
/usr/lib/base-installer.d/
/lib/partman/init.d/
for which this is still early enough.
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
Osstest/Debian.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm
index f8ff4f46..3afea62b 100644
--- a/Osstest/Debian.pm
+++ b/Osstest/Debian.pm
@@ -1484,11 +1484,12 @@ sub preseed_hook_command ($$$$) {
sub preseed_hook_installscript ($$$$$) {
my ($ho, $sfx, $installer_dir, $installer_leaf, $data) = @_;
+ # the specified script is installed via partman/early_command
my $installer_pathname= "$installer_dir/$installer_leaf";
my $urlfile= $installer_pathname;
$urlfile =~ s/[^-_0-9a-z]/ sprintf "X%02x", ord($&) /ge;
my $url= create_webfile($ho, $urlfile, $data);
- preseed_hook_command($ho, 'early_command', $sfx, <<END);
+ preseed_hook_command($ho, 'partman/early_command', $sfx, <<END);
#!/bin/sh
set -ex
mkdir -p '$installer_dir'
--
2.11.0
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |