lorax/share/templates.d/99-generic
Adam Williamson 5ace9bdec4 x86.tmpl: initially define compressargs as empty string
pjones and I happened to notice this suspicious line in the
lmc log for a Fedora 27 live image compose:

2017-08-25 16:04:55,327 DEBUG pylorax.ltmpl: template line 25: installimg None usr/share/lorax//product/ images/product.img

That 'None' does not look right. I believe this is the problem.
The command is defined as `installimg ${compressargs} ...`, and
a few lines earlier, `compressargs` is initially assigned (in
Python) as `None`. `None`, in Python, stringifies to the string
'None'. So unless we're on i386 (where `compressargs` gets
defined to an actual string of arguments in a conditional), we
wind up passing in the string 'None' as the first arg to the
`installimg` command.

To fix this, `compressargs` should be initially set to the empty
string rather than `None`.
2017-08-25 13:24:24 -07:00
..
appliance Move templates to /usr/share/lorax/templates.d/99-generic 2016-02-10 17:14:11 -08:00
config_files Add creation of a bootable s390 iso (#1478448) 2017-08-14 14:29:47 -07:00
live x86.tmpl: initially define compressargs as empty string 2017-08-25 13:24:24 -07:00
pxe-live Move templates to /usr/share/lorax/templates.d/99-generic 2016-02-10 17:14:11 -08:00
aarch64.tmpl Make 64-bit kernel on 32-bit firmware work for x86 efi machines 2017-08-24 09:27:04 -07:00
arm.tmpl Remove filegraft from arm.tmpl (#1457906) 2017-06-01 08:06:57 -07:00
efi.tmpl Make 64-bit kernel on 32-bit firmware work for x86 efi machines 2017-08-24 09:27:04 -07:00
ppc64le.tmpl lorax: Add release license files to / of the iso 2017-03-15 08:22:23 -07:00
ppc.tmpl lorax: Add release license files to / of the iso 2017-03-15 08:22:23 -07:00
runtime-cleanup.tmpl Include the dracut fips module in the initrd (#1341280) 2017-08-14 13:20:27 -07:00
runtime-install.tmpl Fix grub2-efi-ia32-cdboot and shim-ia32 bits. 2017-08-24 12:05:21 -07:00
runtime-postinstall.tmpl Fix systemctl command (#1478247) 2017-08-14 14:29:47 -07:00
s390.tmpl Add creation of a bootable s390 iso (#1478448) 2017-08-14 14:29:47 -07:00
x86.tmpl x86.tmpl: initially define compressargs as empty string 2017-08-25 13:24:24 -07:00