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

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



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

Attachment: signature.asc
Description: Digital signature


Reply to: