mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andres Salomon <dilinger@voxel.net>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: linux-kernel@vger.kernel.org, akpm@osdl.org
Subject: Re: [PATCH] don't delete debian directory in official debian builds
Date: Sun, 15 Aug 2004 03:56:32 -0400	[thread overview]
Message-ID: <1092556593.20551.14.camel@toaster.hq.voxel.net> (raw)
In-Reply-To: <20040815071559.GB7182@mars.ravnborg.org>

[-- Attachment #1: Type: text/plain, Size: 2569 bytes --]

On Sun, 2004-08-15 at 09:15 +0200, Sam Ravnborg wrote:
> On Sat, Aug 14, 2004 at 03:39:03PM -0400, Andres Salomon wrote:
> > Hi,
> > 
> > Somewhere along the 2.6 series, there was a change made that causes
> > distclean to automatically delete the debian/ subdirectory from the top
> > of the kernel tree.  This causes grief for the official debian kernel
> > packages; the debian directory shouldn't be deleted in the packages.
> > Please apply the attached patch; it causes the debian/ subdirectory to
> > only be deleted if there's no debian/official.
> > 
> > An even better solution would be to mark the debian directory as being
> > created by the kernel (touch debian/linus), and only delete it if the
> > kernel created it.
> 
> Such special cases are not acceptable.
> 

This isn't a special case; this is debian using a directory for years,
and the kernel suddenly deciding to not only use the same directory, but
assume ownership of it and delete it when distcleaning.  By providing a
rule that creates a debian package, you've managed to inconvenience the
people who actually create and maintain the main system your debian
package would run on.  Please take this into consideration.


> If this causes a problem then there are the following options:
> 1) Rename directory in debian or the kernel
> 2) Debian apply a patch to the kernel

How about not deleting the directory if you haven't created it?  Debian
already applies patches to the kernel, but we feed changes/fixes back to
linus and co; this is one of those fixes that should be in the main
kernel.  If you're going to provide a make rule for *Debian*, then make
it consistent with Debian packaging standards.  Otherwise, why even
bother?  Debian has its own supported methods for creating kernel
packages (named, oddly enough, kernel-package).

Honestly, I'd rather see the deb rule removed completely; Debian and
Debian-derived distributions provide their own kernel packages.  Users
who compile their own kernel have the option of using a Debian supported
method for building kernel packages (they can also simply copy images
around, without bothering w/ packages).  Generating a package without
kernel-package is not supported; does it even handle grub and lilo
updates in postinst?


> 
> Preference to 1).

I'm not quite sure what you mean w/ #1.  You want Debian, which has used
the debian/ subdirectory for years, to use something else for its kernel
packages?


> 
> Comments?
> 
> 	Sam
-- 
Andres Salomon <dilinger@voxel.net>

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-08-15  7:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-14 19:39 Andres Salomon
2004-08-15  7:15 ` Sam Ravnborg
2004-08-15  7:56   ` Andres Salomon [this message]
2004-08-15  8:15     ` Sam Ravnborg
2004-08-15  8:23       ` Andres Salomon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1092556593.20551.14.camel@toaster.hq.voxel.net \
    --to=dilinger@voxel.net \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®