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

Bug#338431: marked as done (linux-2.6: [infrastrucutre] gencontrol.py should know how to exclude stuff from deps, add INITRD_CMD setting.)



Your message dated Fri, 3 Aug 2007 17:09:52 +0200
with message-id <20070803150952.GA26557@stro.at>
and subject line linux-2.6: [infrastrucutre] gencontrol.py should know how to exclude stuff from deps, add INITRD_CMD setting.
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: linux-2.6
Severity: normal


Well, this is something that came up with the desire of not using the
(currently broken) initramfs-tools on alpha. We need two implementations to
fix this, or at least one of them but the other seems useful too.

  1) gencontrol.py should know how to handle an 'excludes' field, which will
  be used to remove any reference to the entries in it when generating the
  depends and such fields, this would be used as : 

  arch/alpha/defines:
    ...
    excludes: initramfs-tools

  and the line : 

    Depends: yaird | initramfs-tools | linux-initramfs-tool, module-init-tools (>= 0.9.13)

  would be rewritten to :

    Depends: yaird | linux-initramfs-tool, module-init-tools (>= 0.9.13)

  2) We need support for setting INITRD_CMD prior to the make-kpkg command
  which creates the postinst (i thinkg the kernel-image one not sure though).

  This would allow to do :

  arch/defines :
    ...
    ramdisks: mkinitrd.yaird mkinitramfs

  arch/alpha/defines : 
    ...
    ramdisks: mkinitrd.yaird

The first one would be nice to have, we currently keep the full depend and add
a conflict on alpha, but i believe the second solution is better, altough it
needs k-p 10.000x. The reason why the second fix is better, is that there is
really no reason to stop alpha from installing initramfs-tools, just we have
to make sure not to use it by default.

Friendly,

Sven Luther
-- System Information:
Debian Release: 3.1
Architecture: powerpc (ppc)
Kernel: Linux 2.6.12-1-powerpc
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)



--- End Message ---
--- Begin Message ---
Package: linux-2.6
Version: 2.6.14-1

waldi implemented that selection of the initramfs generator long
ago, thus closing in this round of bugs cleanup.


-- 
maks

--- End Message ---

Reply to: