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

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



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?


Reply to: