On Wed, Sep 9, 2009 at 3:15 PM, Cody A.W. Somerville <
[email protected]> wrote:
>
>
> On Wed, Sep 9, 2009 at 2:41 PM, Cody A.W. Somerville <
> [email protected]> wrote:
>
>> Hello,
>>
>> Please accept this patch to fix an issue with the formation of the URL
>> used fetch d-i files for Ubuntu netboot build.
>>
>
Here is a second patch for helpers/lh_binary_syslinux
Cheers,
--
Cody A.W. Somerville
Software Systems Release Engineer
Foundations Team
Custom Engineering Solutions Group
Canonical OEM Services
Phone: +1-781-850-2087
Cell: +1-506-471-8402
Email: [email protected]
=== modified file 'helpers/lh_binary_syslinux'
--- helpers/lh_binary_syslinux 2009-08-26 20:29:39 +0000
+++ helpers/lh_binary_syslinux 2009-09-09 18:38:59 +0000
@@ -362,12 +362,25 @@
net)
SYSLINUX_PATH="tftpboot"
- KERNEL_PATH="${SYSLINUX_PATH}/debian-live/${LH_ARCHITECTURE}"
- SCREEN_PATH="${SYSLINUX_PATH}/debian-live/${LH_ARCHITECTURE}/boot-screens"
+ case "${LH_MODE}" in
+ ubuntu)
+ KERNEL_PATH="${SYSLINUX_PATH}/ubuntu-live/${LH_ARCHITECTURE}"
+ SCREEN_PATH="${SYSLINUX_PATH}/ubuntu-live/${LH_ARCHITECTURE}/boot-screens"
+ LIVE_KERNEL_PATH="ubuntu-live/${LH_ARCHITECTURE}"
+ LIVE_INSTALL_KERNEL_PATH="ubuntu-install/${LH_ARCHITECTURE}"
+ LIVE_SCREEN_PATH="ubuntu-live/${LH_ARCHITECTURE}/boot-screens"
+ ;;
+
+ *)
+ KERNEL_PATH="${SYSLINUX_PATH}/debian-live/${LH_ARCHITECTURE}"
+ SCREEN_PATH="${SYSLINUX_PATH}/debian-live/${LH_ARCHITECTURE}/boot-screens"
+ LIVE_KERNEL_PATH="debian-live/${LH_ARCHITECTURE}"
+ LIVE_INSTALL_KERNEL_PATH="debian-install/${LH_ARCHITECTURE}"
+ LIVE_SCREEN_PATH="debian-live/${LH_ARCHITECTURE}/boot-screens"
+ ;;
+ esac
+
DATA_PATH="${SCREEN_PATH}"
- LIVE_KERNEL_PATH="debian-live/${LH_ARCHITECTURE}"
- LIVE_INSTALL_KERNEL_PATH="debian-install/${LH_ARCHITECTURE}"
- LIVE_SCREEN_PATH="debian-live/${LH_ARCHITECTURE}/boot-screens"
LIVE_DATA_PATH="${LIVE_SCREEN_PATH}"
MEDIA="netboot"
;;