[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#591712: marked as done (Doesn't the behavior of the deb-pkg target, with respect to user hook, violate the debian linux kernel policy?)



Your message dated Thu, 05 Aug 2010 02:13:29 +0100
with message-id <1280970810.13192.624.camel@localhost>
and subject line Re: Bug#591712: Doesn't the behavior of the deb-pkg target, with respect to user hook, violate the debian linux kernel policy?
has caused the Debian Bug report #591712,
regarding Doesn't the behavior of the deb-pkg target, with respect to user hook, violate the debian linux kernel policy?
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
591712: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591712
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: linux-source-2.6.32
Version: 2.6.32-18
Severity: normal

  A linux-images package that the kernel-package creates uses:

    ## Run user hook script here, if any
    if (-d "/etc/kernel/postinst.d") {
      print STDERR "Examining /etc/kernel/postinst.d.\n";
      system ("run-parts --verbose --exit-on-error --arg=$version " .
              "--arg=$realimageloc$kimage-$version " .
              "/etc/kernel/postinst.d") &&
               die "Failed to process /etc/kernel/postinst.d";

In particular, 2 arguments are given to the user hook script.
In contrast, a linux-image package that is created by the deb-pkg makefile
target gives only 1 argument to the user hook script. 
Doesn't that behavior of the deb-pkg target violate the debian linux kernel
policy?


--- End Message ---
--- Begin Message ---
On Thu, 2010-08-05 at 01:02 +0200, Regid Ichira wrote:
> Package: linux-source-2.6.32
> Version: 2.6.32-18
> Severity: normal
> 
>   A linux-images package that the kernel-package creates uses:
> 
>     ## Run user hook script here, if any
>     if (-d "/etc/kernel/postinst.d") {
>       print STDERR "Examining /etc/kernel/postinst.d.\n";
>       system ("run-parts --verbose --exit-on-error --arg=$version " .
>               "--arg=$realimageloc$kimage-$version " .
>               "/etc/kernel/postinst.d") &&
>                die "Failed to process /etc/kernel/postinst.d";
> 
> In particular, 2 arguments are given to the user hook script.
> In contrast, a linux-image package that is created by the deb-pkg
> makefile
> target gives only 1 argument to the user hook script.  
> Doesn't that behavior of the deb-pkg target violate the debian linux
> kernel
> policy? 

No, we agreed a policy that the second argument is optional.  See
<http://kernel-handbook.alioth.debian.org/ch-update-hooks.html>.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply to: