[bisected] broken make-kpkg kernel build in 3.15-rc1

From: Vince Weaver
Date: Tue Apr 15 2014 - 09:40:43 EST



The following commit breaks building the kernel using the debian
make-kpkg command

commit f4d4ffc03efc864645b990e1d579bbe1b8e358a4
Author: Jason Cooper <jason@xxxxxxxxxxxxxx>
Date: Sun Dec 1 23:56:28 2013 +0000

kbuild: dtbs_install: new make target


If I run this:
make-kpkg --initrd --rootcmd fakeroot kernel_image

After this commit it fails with:

make[2]: Entering directory `/home/vince/research/linux-kernel/linux-git'
sh /home/vince/research/linux-kernel/linux-git/arch/x86/boot/install.sh
3.14.0-rc6+ arch/x86/boot/bzImage \
System.map
"/home/vince/research/linux-kernel/linux-git/debian/linux-image-3.14.0-rc6+//boot"
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.14.0-rc6+
/home/vince/research/linux-kernel/linux-git/debian/linux-image-3.14.0-rc6+//boot/vmlinuz-3.14.0-rc6+
/etc/kernel/postinst.d/apt-auto-removal: 84:
/etc/kernel/postinst.d/apt-auto-removal: cannot create
/etc/apt/apt.conf.d//01autoremove-kernels.dpkg-new: Permission denied
run-parts: /etc/kernel/postinst.d/apt-auto-removal exited with return code
2
make[3]: *** [install] Error 1
make[2]: *** [install] Error 2
make[2]: Leaving directory `/home/vince/research/linux-kernel/linux-git'
make[1]: *** [debian/stamp/install/linux-image-3.14.0-rc6+] Error 2
make[1]: Leaving directory `/home/vince/research/linux-kernel/linux-git'
make: *** [kernel_image] Error 2

Wasted a whole day tracking this down, thought it was a problem with a new
version of apt.

Vince
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/