<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-text-flowed" style="font-family: -moz-fixed;
font-size: 14px;" lang="x-unicode">Hello List,
<br>
<br>
hope this is the right place for this question. If not please give
me a hint.
<br>
I try to compile and package current 4.4.0 kernel from Ubuntu 16
in an Ubuntu 14 Environment. Compiling itself works, but packaging
fails with weird message.
<br>
I explain my procedure.
<br>
On Ubuntu 16 i aquired sources with: apt-get source
linux-image-unsigned-4.4.0-154-generic
<br>
I transfered this to a Ubuntu 14 Server, installed all
dependencies and start packaging with: dpkg-buildpackage
<br>
Compiling works, late i get this error:
<br>
<br>
echo "interest linux-update-4.4.0-154-generic"
>"debian/linux-image-unsigned-4.4.0-154-generic.triggers"
<br>
# Install the postinit/postrm scripts in the extras package.
<br>
if [ -f debian.master/control.d/generic.inclusion-list ] ; then \
<br>
; \
<br>
fi
<br>
/bin/bash: -c: line 1: syntax error near unexpected token `;'
<br>
make: *** [install-generic] Fehler 2
<br>
dpkg-buildpackage: Fehler: Fehler-Exitstatus von debian/rules
binary war 2
<br>
<br>
<br>
This sequence can be found in debian/rules.d/2-binary-arch.mk and
for me there is nothing unusual:
<br>
<br>
ifeq ($(do_extras_package),true)
<br>
# Install the postinit/postrm scripts in the extras
package.
<br>
if [ -f $(DEBIAN)<i class="moz-txt-slash"><span
class="moz-txt-tag">/</span>control.d<span class="moz-txt-tag">/</span></i>$(target_flavour).inclusion-list
] ; then \
<br>
$(call
install_control,$(mods_extra_pkg_name)-$*,extra,postinst postrm);
\
<br>
fi
<br>
endif
<br>
<br>
I have no idea why this is happening. I upgraded bash and some
other compile-packages to Ubuntu16 level, but this has no effect
and error message repeats.
<br>
Does anybody have a hint? I expect that an unknown package should
be upgraded too or some system env is required. not a clue...
<br>
What do you think?
<br>
<br>
Thanks,
<br>
Hajo
<br>
</div>
</body>
</html>