Re: Building kernel image packages with make-kpkg, custom dependency
On Tue, Feb 16 2010, Cliff Flood wrote:
> On Mon, Feb 15, 2010 at 2:11 AM, Tzafrir Cohen <tzafrir@cohens.org.il> wrote:
>> On Fri, Feb 12, 2010 at 02:36:37PM -0500, Cliff Flood wrote:
>> What file(s) have you tried to edit? When?
>
> I have attempted to add my dependency by editing the files
> debian/contol and debian/Control
>
> Both of these files are rewritten when I do a `fakeroot debian/rules
> binary` to build the kernel.
,----[ Manual page make-kpkg(1) line 145 ]
| --overlay-dir /path/to/directory
| The specified directory should contain files that will be placed
| in the ./debian directory of the kernel sources, in preparation
| to building the debian packages. The files will replace any‐
| thing in /usr/share/kernel-package that would normally be placed
| there, and it is up to the user to make sure that the files in
| the overlay directory are compatible with make-kpkg. If you
| break make-kpkg with an overlay file, you get to keep the
| pieces. The same effect can be achieved by setting the
| environment variable KPKG_OVERLAY_DIR.
|
| Please note that overlay-dir/Control and overlay-dir/changelog
| are special, and variable sub‐ stitution is performed on these
| files. Use /usr/share/kernel-package/Control and
| /usr/share/kernel-package/changelog files as templates.
|
| If a overlay-dir/post-install executable (or executable script)
| exists, it shall be run immedi‐ ately after ./debian is
| populated. The script shall be executed in the ./debian
| directory. This can be used, For instance, to delete files the
| user does not want, or to take actions other than simple
| replacement.
`----
manoj
--
So far we've managed to avoid turning Perl into APL. :-) Larry Wall in
<199702251904.LAA28261@wall.org>
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>
4096R/C5779A1C E37E 5EC5 2A01 DA25 AD20 05B6 CF48 9438 C577 9A1C
Reply to: