From 21cafb89567d747635e9b7b83c2f2e0fba41a204 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Fri, 31 Oct 2014 09:40:12 +0100 Subject: [PATCH] Fix ramdisk timeout in uboot This happen whan '#' character is a part of U-Boot prompt. --- novaboot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/novaboot b/novaboot index 64ecfd3..54d4b8d 100755 --- a/novaboot +++ b/novaboot @@ -1057,7 +1057,7 @@ if (defined $uboot) { die "No '--uboot-addr ramdisk' given" unless $uboot_addr{ramdisk}; $exp->send("tftpboot $uboot_addr{ramdisk} $prefix$initrd\n"); $exp->expect(10, - [qr/#/, sub { exp_continue; }], + [qr/##/, sub { exp_continue; }], $uboot_prompt) || die "Initrd load timeout"; } else { $uboot_addr{ramdisk} = '-'; -- 2.39.2