Karl,
With the luatex support built in to latex 2015 release lualatex.ini
was restructured but we missed dviluatex.ini which is still using the
old code,
Could it be updated to just be:
\begingroup
\catcode`\{=1 %
\catcode`\}=2 %
\directlua{tex.enableprimitives('',tex.extraprimitives('pdftex'))}
\global\everyjob{\directlua{require("lualatexquotejobname.lua")}}
\endgroup
\input pdftexconfig.tex
% dvi output by default
\pdfoutput=0
\input latex.ltx
to match lualatex.ini, thanks.
I've used
require("lualatexquotejobname.lua")
here rather than
dofile(assert(kpse.find_file("lualatexquotejobname.lua")))
as all supported versions of luatex now use kpse for require.
The same change could be made in lualatex.ini so that it is the same as above
apart from the \pdfoutput=0 line,
thanks
David