problems packaging kernel

Hajo Locke Hajo.Locke at gmx.de
Mon Jul 8 06:05:35 UTC 2019


Hello,

Am 04.07.2019 um 18:26 schrieb Dr Rainer Woitok:
> Hajo,
>
> On Thursday, 2019-07-04 15:23:56 +0200, you wrote:
>
>> ...
>> if [ -f debian.master/control.d/generic.inclusion-list ] ; then \
>>                   ; \
>>           fi
> This "if" clause is indeed syntactically incorrect: the "then" part must
> not be empty!  Shells provide an empty command ":" for this purpose.
>
>> ...
>> This sequence can be found in debian/rules.d/2-binary-arch.mk and for me
>> there is nothing unusual:
>>
>> ifeq ($(do_extras_package),true)
>>           # Install the postinit/postrm scripts in the extras package.
>>           if [ -f $(DEBIAN)/control.d/$(target_flavour).inclusion-list ]
>> ; then   \
>>                   $(call
>> install_control,$(mods_extra_pkg_name)-$*,extra,postinst postrm); \
>>           fi
>> endif
> Obviously the "$(call ...)" returns an empty string.
yes, sure. But significant question is why. Same package works on
Ubuntu16 without problems. There must be a specific difference between
the two OS here.
mods_extra_pkg_name is declared in a file in a rules.d folder and
install_control is called multiple time before this line.
I wanted to ask this question in a devel-list, but it was denied,
because iam not an official developer.
>
> Sincerely,
>    Rainer
>
Thanks,
Hajo




More information about the ubuntu-users mailing list