From 57887fd90aee44e1bbbea0ddf3a1592ac91e958c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 12 Jul 2015 15:56:46 +0200 Subject: [PATCH] lorax: use even shorter file names for kernel/initrd Apparently initrd-3.19.8-100.fc20.x86_64.img is still too long for ISO9660. --- lorax-templates-qubes/templates/x86.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lorax-templates-qubes/templates/x86.tmpl b/lorax-templates-qubes/templates/x86.tmpl index ed3e898..8b71de4 100644 --- a/lorax-templates-qubes/templates/x86.tmpl +++ b/lorax-templates-qubes/templates/x86.tmpl @@ -43,7 +43,7 @@ sortedkernels = sorted(kernels, key=lambda k: LooseVersion(k['version'])) %for kernel in sortedkernels: # Use short kernel version because of ISO9660 filename length limitation <% - shortkver = kernel.version.replace('.pvops.qubes','') + shortkver = kernel.version.replace('.pvops.qubes','').replace('.x86_64','') %> %if kernel.flavor: ## i386 PAE