5ace9bdec4
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`. |
||
---|---|---|
.. | ||
templates.d/99-generic |