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

netboot and two flavours



On Thu, Jul 12, 2007 at 01:32:12PM +0400, Vladimir Stavrinov wrote:

> Found. The problem is template handling. Either pxelnux.cfg

Here is patch attached for svn live-helper rev. 2454

Changes:

  1. Remove symlinks form chroot/boot
  2. Remove renaming kernels and initrd if its numbers > 1 (for
     netboot only)
  3. Add server type (nfs or cifs) and mount options for netboot
     to config
  4. Append netboot options to LIVE_BOOTAPPEND
  5. Used syslinux.cfg template instead pxelinux.cfg for netboot
  6. Fixed variables substitution in pxelinux.cfg/default. Changed
     order: LIVE_BOOTAPPEND substituted first.

The patched live-helper successfully tested for this config:

  LIVE_BINARY_IMAGES="net"
  LIVE_LINUX_FLAVOURS="686 k7"
  LIVE_DISTRIBUTION="sid"
  LIVE_PACKAGES_LISTS="standard"
  LIVE_CHROOT_FILESYSTEM="plain"
  LH_INITRAMFS="live-initramfs"
  LIVE_NET_TYPE="cifs"
  LIVE_NET_MOUNTOPTS="-ouser=root,password=xxxxxx,ro"


*********************************
****   Vladimir Stavrinov  ******
*******   vs at inist.ru   ******
*********************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: live-helper-2454.patch
Type: text/x-diff
Size: 4170 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-live-devel/attachments/20070712/c2fcde35/attachment.patch 


Reply to: