Will this work on USB stick boot and netboot also??
2008/12/27 Tzafrir Cohen <[email protected]>: > 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:[email protected] > +972-50-7952406 mailto:[email protected] > http://www.xorcom.com iax:[email protected]/tzafrir > > > -- > To UNSUBSCRIBE, email to [email protected] > with a subject of "unsubscribe". Trouble? Contact [email protected] > > -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]
