This is a heads up for a major change in kernel-package, the
tool to create user packaged kernel images and headers; which will
make the make-kpkg script far less error prone, and far more
deterministic.
a. Every invocation of kernel-package will remove ./debian directory,
and regenerate the changelog and control files. This will get rid
of any remaining issues with the ./debian directory getting out of
sync with the kernel sources; and will allow people to make small
tweaks to the kernel sources and have make-kpkg reflect those
changes.
b. make-kpkg will no longer have special case code to run boot
loaders and init ram fs creator invocations. Instead, it will pay
attention to scripts dropped into the directories
/etc/kernel/{src_,header_,}{pre,post}{inst,rm}.d/
This is far more flexible, and allows all kinds of packages to
drop in scripts there
c. his means there will be no need for /etc/kernel-img.conf file any
more.
d. The make-kpkg infrastructure will try to leverage the KBUILD
system far more than it has done in the past, which will make it
more robust against upstream kernel changes.
Since make-kpkg has been deprecated by the kernel team, and thei
advice has been to not use kernel package for kernel image building,
this should have no impact on official kernels.
manoj
--
Apples have meant trouble since eden. MaDsen Wikholm,
mwikholm@at8.abo.fi
Manoj Srivastava <srivasta@debian.org> <http://www.debian.org/~srivasta/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
02-09-2009, 05:14 AM
Manoj Srivastava
Forthcoming changes in kernel-package
Hi,
This is a heads up for a major change in kernel-package, the
tool to create user packaged kernel images and headers; which will
make the make-kpkg script far less error prone, and far more
deterministic.
a. Every invocation of kernel-package will remove ./debian directory,
and regenerate the changelog and control files. This will get rid
of any remaining issues with the ./debian directory getting out of
sync with the kernel sources; and will allow people to make small
tweaks to the kernel sources and have make-kpkg reflect those
changes.
b. make-kpkg will no longer have special case code to run boot
loaders and init ram fs creator invocations. Instead, it will pay
attention to scripts dropped into the directories
/etc/kernel/{src_,header_,}{pre,post}{inst,rm}.d/
This is far more flexible, and allows all kinds of packages to
drop in scripts there
c. his means there will be no need for /etc/kernel-img.conf file any
more.
d. The make-kpkg infrastructure will try to leverage the KBUILD
system far more than it has done in the past, which will make it
more robust against upstream kernel changes.
Since make-kpkg has been deprecated by the kernel team, and thei
advice has been to not use kernel package for kernel image building,
this should have no impact on official kernels.
manoj
--
Apples have meant trouble since eden. MaDsen Wikholm,
mwikholm@at8.abo.fi
Manoj Srivastava <srivasta@debian.org> <http://www.debian.org/~srivasta/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
02-09-2009, 08:33 AM
Michael Tautschnig
Forthcoming changes in kernel-package
[...]
> c. his means there will be no need for /etc/kernel-img.conf file any
> more.
[...]
Isn't this file also read in the postinst of the "official" kernels? In FAI we
had several issues when kernel-img.conf was missing or hadn't had the proper
values in there.
Best,
Michael
02-09-2009, 08:33 AM
Michael Tautschnig
Forthcoming changes in kernel-package
[...]
> c. his means there will be no need for /etc/kernel-img.conf file any
> more.
[...]
Isn't this file also read in the postinst of the "official" kernels? In FAI we
had several issues when kernel-img.conf was missing or hadn't had the proper
values in there.
Best,
Michael
02-09-2009, 10:15 AM
Stefan Lippers-Hollmann
Forthcoming changes in kernel-package
Hi
On Montag, 9. Februar 2009, Michael Tautschnig wrote:
> [...]
> > c. his means there will be no need for /etc/kernel-img.conf file any
> > more.
>
> [...]
>
> Isn't this file also read in the postinst of the "official" kernels? In FAI we
> had several issues when kernel-img.conf was missing or hadn't had the proper
> values in there.
[...]
As of yet kernel-package is still used in the official kernel builds[1],
by using make-kpkg to build and create the linux-image packages
(linux-headers is assembled manually).
On Montag, 9. Februar 2009, Michael Tautschnig wrote:
> [...]
> > c. his means there will be no need for /etc/kernel-img.conf file any
> > more.
>
> [...]
>
> Isn't this file also read in the postinst of the "official" kernels? In FAI we
> had several issues when kernel-img.conf was missing or hadn't had the proper
> values in there.
[...]
As of yet kernel-package is still used in the official kernel builds[1],
by using make-kpkg to build and create the linux-image packages
(linux-headers is assembled manually).
> [...]
>> c. his means there will be no need for /etc/kernel-img.conf file any
>> more.
>
> [...]
>
> Isn't this file also read in the postinst of the "official" kernels?
> In FAI we had several issues when kernel-img.conf was missing or
> hadn't had the proper values in there.
I think that is a carry over from the days when the official
kernels were based on kernel-package. I am given to understand that is
not how things are supposed to work post lenny.
In any case, I guess what I meant to say was that images created
by kernel-package will stop paying attention to /etc/kernel-img.conf,
and thus there will be no reason to keep that file for the sake of
kernel-package images. kernel-package shall also stop creating the file
if it does not exist.
Another thing going away is the on-th-fly patching of the
sources; the preferred way to patch the sources will be to do so
outside of make-kpkg, before invoking the make-kpkg script to package
the kernel images.
All that convoluted code excised from kernel-package ought to
improve robustness.
manoj
--
Love may laugh at locksmiths, but he has a profound respect for money
bags. Sidney Paternoster, "The Folly of the Wise"
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
02-09-2009, 05:06 PM
Manoj Srivastava
Forthcoming changes in kernel-package
On Mon, Feb 09 2009, Michael Tautschnig wrote:
> [...]
>> c. his means there will be no need for /etc/kernel-img.conf file any
>> more.
>
> [...]
>
> Isn't this file also read in the postinst of the "official" kernels?
> In FAI we had several issues when kernel-img.conf was missing or
> hadn't had the proper values in there.
I think that is a carry over from the days when the official
kernels were based on kernel-package. I am given to understand that is
not how things are supposed to work post lenny.
In any case, I guess what I meant to say was that images created
by kernel-package will stop paying attention to /etc/kernel-img.conf,
and thus there will be no reason to keep that file for the sake of
kernel-package images. kernel-package shall also stop creating the file
if it does not exist.
Another thing going away is the on-th-fly patching of the
sources; the preferred way to patch the sources will be to do so
outside of make-kpkg, before invoking the make-kpkg script to package
the kernel images.
All that convoluted code excised from kernel-package ought to
improve robustness.
manoj
--
Love may laugh at locksmiths, but he has a profound respect for money
bags. Sidney Paternoster, "The Folly of the Wise"
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
02-13-2009, 01:43 PM
Bernd Zeimetz
Forthcoming changes in kernel-package
Hi Mano,
> This is a heads up for a major change in kernel-package, the
> tool to create user packaged kernel images and headers; which will
> make the make-kpkg script far less error prone, and far more
> deterministic.
kernel-package works well for me since years now, thanks for for your work!
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
02-13-2009, 01:43 PM
Bernd Zeimetz
Forthcoming changes in kernel-package
Hi Mano,
> This is a heads up for a major change in kernel-package, the
> tool to create user packaged kernel images and headers; which will
> make the make-kpkg script far less error prone, and far more
> deterministic.
kernel-package works well for me since years now, thanks for for your work!