On Sat, Dec 27, 2008 at 03:44:15PM +0900, Satoru KURASHIKI wrote: > hi, > > To boot xen dom0 from debian-live, I tweak lh_binary_syslinux. > I'm glad if someone check and integrate it. > > regards, > -- > KURASHIKI Satoru
> diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux > index 2d7cf33..ef5d962 100755 > --- a/helpers/lh_binary_syslinux > +++ b/helpers/lh_binary_syslinux > @@ -94,6 +94,22 @@ Syslinux_live_entry () > INITRD="${4}" > APPEND="${5}" > > + # Check xen-flavour > + if [ "$(echo ${KERNEL} | grep 'xen-')" != "" ] Useless use of test: if echo ${KERNEL} | grep -q 'xen-' But more seriously: > + then > + # prepare multiboot module > + case "${LH_CHROOT_BUILD}" in > + enabled) > + cp chroot/usr/lib/syslinux/mboot.c32 > ${DATA_PATH} > + ;; > + disabled) > + cp /usr/lib/syslinux/mboot.c32 ${DATA_PATH} > + ;; > + esac > + XEN_KERNEL="$(basename chroot/boot/xen-*)" Is that guaranteed to be the only xen kernel there? -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir -- To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org