problems packaging kernel

Dr Rainer Woitok rainer.woitok at gmail.com
Thu Jul 4 16:26:53 UTC 2019


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.

Sincerely,
  Rainer




More information about the ubuntu-users mailing list