Hi Josip,

Josip Rodin wrote:
> In the meantime, the linux-modules packages went away, there's only
> linux-image-* nowadays. The script
> /usr/lib/xen-tools/debian.d/80-install-modules searches for the former,
> fails to find them, and then copies /lib/modules/$(uname -r).

... on current Linux distribution releases, yes. But we also would
like to support previous releases where possible, too.

> Switching to simply installing linux-image-$(uname -r) would be preferable,
> because:
> a) you don't want a static copy of .ko files because then will get stale,
>    and the domU could have stability or security issues

Yep.

> b) you can also use pvgrub these days so you could actually need the
>    kernel image itself, too

pvgrub or pygrub, yes. But also here: Backwards compatibility is
preferred.

> /usr/lib/xen-tools/debian.d/80-install-modules should therefore just
> install linux-image-`uname -r` into domU.

I must admit, I'm not sure what's really the best way. Only `uname -r`
seems not to work in all situations. We had cases where this failed.

Will think about it again, especially checking if we can't split away
the legacy support from the support for current systems. So thanks for
your suggestions anyway.

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <a...@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to