On Thu, 2016-02-25 at 16:16 +0100, Lukas Wunner wrote:
> Hi Ben,
> 
> I've hit a few issues while upgrading kernel packages to 4.5 and wanted
> to give a quick heads-up.
> 
> 
> In linux-tools, the following is needed lest dkms packages won't build:
> 
> diff --git a/debian/rules.d/scripts/Makefile b/debian/rules.d/scripts/Makefile
> index 8d97087..b2e2cd3 100644
> --- a/debian/rules.d/scripts/Makefile
> +++ b/debian/rules.d/scripts/Makefile
> @@ -14,6 +14,7 @@ DATA = \
>       Makefile.lib \
>       Makefile.modinst \
>       Makefile.modpost \
> +     Makefile.ubsan \
>       mkversion \
>       module-common.lds
>  

This is already pending.

> In linux, drivers-media-dvb-usb-af9005-request_firmware.patch
> needs a rebase, this issue has already existed since I think 4.3,
> I'm wondering why noone else has hit upon it yet:
> 
> diff --git 
> a/debian/patches/features/all/drivers-media-dvb-usb-af9005-request_firmware.patch
>  
> b/debian/patches/features/all/drivers-media-dvb-usb-af9005-request_firmware.patch
> index 7ab3e6b..5015ceb 100644
> --- 
> a/debian/patches/features/all/drivers-media-dvb-usb-af9005-request_firmware.patch
> +++ 
> b/debian/patches/features/all/drivers-media-dvb-usb-af9005-request_firmware.patch
> @@ -13,11 +13,7 @@ a version of the script which is directly derived from the 
> driver.
>  
>  --- a/drivers/media/usb/dvb-usb/Kconfig
>  +++ b/drivers/media/usb/dvb-usb/Kconfig
> -@@ -227,10 +227,10 @@ config DVB_USB_OPERA1
> - 
> - config DVB_USB_AF9005
> -     tristate "Afatech AF9005 DVB-T USB1.1 support"
> --    depends on BROKEN
> +@@ -236,6 +236,7 @@ config DVB_USB_AF9005
>       depends on DVB_USB
>       select MEDIA_TUNER_MT2060 if MEDIA_SUBDRV_AUTOSELECT
>       select MEDIA_TUNER_QT1010 if MEDIA_SUBDRV_AUTOSELECT

This file is also patched by debian/patches/debian/dfsg/drivers-media-
dvb-dvb-usb-af9005-disable.patch when building the 'orig' tarball.

> In debian/rules.real when building the linux-image package, a few
> files are supposed to be copied from debian/templates/image.bug/,
> but for some reason the dh_install command doesn't do anything.
> I tried to figure out why but gave up after a while and added a
> "cp -a". Without this the build fails for me on the "chmod"
> immediately afterwards because the file whose mode is attempted
> to be changed is missing:
> 
> diff --git a/debian/rules.real b/debian/rules.real
> index d0498bd..72c664c 100644
> --- a/debian/rules.real
> +++ b/debian/rules.real
> @@ -404,6 +404,7 @@ endif
>  install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_bug:
>       dh_installdirs usr/share/bug/$(PACKAGE_NAME)
>       dh_install debian/templates/image.bug/* usr/share/bug/$(PACKAGE_NAME)
> +     cp -a debian/templates/image.bug/* 
> $(PACKAGE_DIR)/usr/share/bug/$(PACKAGE_NAME)
>       chmod 755 $(PACKAGE_DIR)/usr/share/bug/$(PACKAGE_NAME)/script
>       printf 
> "RELEASE='$(REAL_VERSION)'\nDISTRIBUTOR='$(DISTRIBUTOR)'\nSOURCEVERSION='$(SOURCEVERSION)'\n"
>  > $(PACKAGE_DIR)/usr/share/bug/$(PACKAGE_NAME)/info
>  

Well, it worked on my computer and it worked on all the build daemons
so I don't believe this change is really needed.

Ben.

-- 
Ben Hutchings
Always try to do things in chronological order;
it's less confusing that way.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to