Bug#379205: base-installer: more explicit support for xen and vserver kernels

2007-02-13 Thread Aurélien GÉRÔME
severity 379205 wishlist
thanks

On Sat, Jul 22, 2006 at 09:43:22AM +0200, Frans Pop wrote:
> With 2.6.16 we now also have xen and vserver kernel flavors. Currently 
> these are just listed as available kernels.
> Possibly checks can be added so they are only shown in a xen resp. vserver 
> environment.

Interesting and rather useful, because a user might choose a xen
kernel on a non-xen machine and wonder afterwards why his/her system
did not boot... This also does not seem too hard to implement.

I think that we can detect whether we are inside xen by checking if
/proc/xen/ and /proc/sys/xen/ exist. The same can be done for vserver
by checking if /proc/sys/kernel/vshelper exists.

What do you think of those tests? Maybe someone has better ideas,
as those are the first checks which came to my mind. :)

Cheers,
-- 
 .''`.   Aurélien GÉRÔME
: :'  :
`. `'`   Free Software Developer
  `- Unix Sys & Net Admin


signature.asc
Description: Digital signature


Bug#379205: base-installer: more explicit support for xen and vserver kernels

2006-07-22 Thread Frans Pop
Package: base-installer
Version: 1.63

With 2.6.16 we now also have xen and vserver kernel flavors. Currently 
these are just listed as available kernels.
Possibly checks can be added so they are only shown in a xen resp. vserver 
environment.


pgpBnY4gz2P8C.pgp
Description: PGP signature