Hi,
I think you do indeed need to tell make-kpkg how to become root:
--8<---------------cut here---------------start------------->8---
make-kpkg --revision 1.1 --append_to_version -xen-amd64 \
--bzImage --arch-in-name --initrd -j6 kernel_image
...
====== making target
debian/stamp/install/linux-image-3.15.0-rc5-xen-amd64-00009-g7e338c9 [new
prereqs: ]======
This is kernel package version 13.007.
...
install: cannot change owner and permissions of
‘/usr/local/src/kernel/linus-tree/debian/linux-image-3.15.0-rc5-xen-amd64-00009-g7e338c9/etc/kernel/postinst.d’:
Operation not permitted
install: cannot change owner and permissions of
‘/usr/local/src/kernel/linus-tree/debian/linux-image-3.15.0-rc5-xen-amd64-00009-g7e338c9/etc/kernel/preinst.d’:
Operation not permitted
install: cannot change owner and permissions of
‘/usr/local/src/kernel/linus-tree/debian/linux-image-3.15.0-rc5-xen-amd64-00009-g7e338c9/etc/kernel/postrm.d’:
Operation not permitted
install: cannot change owner and permissions of
‘/usr/local/src/kernel/linus-tree/debian/linux-image-3.15.0-rc5-xen-amd64-00009-g7e338c9/etc/kernel/prerm.d’:
Operation not permitted
debian/ruleset/targets/image.mk:34: recipe for target
'debian/stamp/install/linux-image-3.15.0-rc5-xen-amd64-00009-g7e338c9' failed
make[1]: ***
[debian/stamp/install/linux-image-3.15.0-rc5-xen-amd64-00009-g7e338c9] Error 1
make[1]: Leaving directory '/usr/local/src/kernel/linus-tree'
debian/ruleset/local.mk:105: recipe for target 'kernel_image' failed
--8<---------------cut here---------------end--------------->8---
I have, however, improved the manual page to make the fact that
running under root or sudo is not recommended.
As to the configuration issue, the manual page says:
--8<---------------cut here---------------start------------->8---
This manual page explains the Debian make-kpkg utility, which is used
to create the kernel related Debian packages. This utility needs to be
run from a top level Linux kernel source directory, which has been
previously configured
--8<---------------cut here---------------end--------------->8---
It then goes on to explain that when a configuration file is
missing, make-kpkg tries to get one from somewhere.
Again, I have tried to improve the manual page in this area.
manoj
--
Software, n.: Formal evening attire for female computer analysts.
Manoj Srivastava <[email protected]>
4096R/C5779A1C E37E 5EC5 2A01 DA25 AD20 05B6 CF48 9438 C577 9A1C
signature.asc
Description: PGP signature

