I have some additional information. The build breaks on the lb_binary_syslinux 
script.



When looking at these lines of code



case "${LB_BINARY_IMAGES}" in
        iso*)
                _BOOTLOADER="isolinux"
                _SUFFIX="binary/isolinux"
                ;;

        net*)
                _BOOTLOADER="pxelinux"
                _SUFFIX="tftpboot"
                ;;

        hdd*)
                _BOOTLOADER="syslinux"
                _SUFFIX="binary/syslinux"
                ;;
esac



The binary image is usb-hdd. hdd* in this case is wrong and should be set to 
usb* or *hdd.



Secondly;



The build breaks again; When changing the fist finding from hdd* to usb* the 
script continues but it breaks again on:



case "${LB_BUILD_WITH_CHROOT}" in
        true)
                # Copy in two steps since the theme can have absolute symlinks 
and would therefore not be dereferenced correctly
                Chroot chroot "cp -aL 
/usr/share/syslinux/themes/${LB_SYSLINUX_THEME}/${_BOOTLOADER}-live /root/tmp"



Within the ubuntu chroot the directory is called 
"chroot/usr/share/syslinux/themes/ubuntu-oneiric/isolinux-live". I'm not sure 
if the _BOOTLOADER="syslinux" has to be changed to _BOOTLOADER="isolinux" or 
the chroot to be build up another way to create a directory called 
live-syslinux. I'll investigate this..



Regards, Piethein



________________________________
Van: Piethein Strengholt [[email protected]]
Verzonden: maandag 7 november 2011 15:07
Aan: [email protected]
Onderwerp: syslinux-themes-ubuntu-oneiric - mkdir: missing operand


Hi there,



I'm trying to build a ubuntu oneiric usb-hdd image with syslinux. When trying 
to the build breaks with on the syslinux-themes-ubuntu-oneiric (mkdir: missing 
operand). The following config files are used: 
https://github.com/xbmc/xbmc-live/tree/master/SDK/buildLive/auto



Anyone else with this problem?



Kindest regards,



Piethein Strengholt



P: Begin installing syslinux...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  gfxboot memtest86+ syslinux-common
Suggested packages:
  gfxboot-themes hwtools memtester kernel-patch-badram memtest86 mtools
  dosfstools
Recommended packages:
  libcrypt-passwdmd5-perl
The following NEW packages will be installed:
  gfxboot gfxboot-theme-ubuntu memtest86+ syslinux syslinux-common
  syslinux-themes-ubuntu-oneiric
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 2026 kB of archives.
After this operation, 8192 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ oneiric/main memtest86+ i386 
4.20-1ubuntu1 [283 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ oneiric/main gfxboot i386 
4.2.2-1ubuntu1 [21.6 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ oneiric/main gfxboot-theme-ubuntu i386 
0.12.2 [324 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ oneiric/main syslinux-common all 
2:4.04+dfsg-1ubuntu1 [1318 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ oneiric/main syslinux i386 
2:4.04+dfsg-1ubuntu1 [58.2 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ oneiric/main 
syslinux-themes-ubuntu-oneiric all 1 [22.0 kB]
Preconfiguring packages ...
Fetched 2026 kB in 2s (796 kB/s)
Selecting previously deselected package memtest86+.
(Reading database ... 20985 files and directories currently installed.)
Unpacking memtest86+ (from .../memtest86+_4.20-1ubuntu1_i386.deb) ...
Selecting previously deselected package gfxboot.
Unpacking gfxboot (from .../gfxboot_4.2.2-1ubuntu1_i386.deb) ...
Selecting previously deselected package gfxboot-theme-ubuntu.
Unpacking gfxboot-theme-ubuntu (from .../gfxboot-theme-ubuntu_0.12.2_i386.deb) 
...
Selecting previously deselected package syslinux-common.
Unpacking syslinux-common (from 
.../syslinux-common_2%3a4.04+dfsg-1ubuntu1_all.deb) ...
Selecting previously deselected package syslinux.
Unpacking syslinux (from .../syslinux_2%3a4.04+dfsg-1ubuntu1_i386.deb) ...
Selecting previously deselected package syslinux-themes-ubuntu-oneiric.
Unpacking syslinux-themes-ubuntu-oneiric (from 
.../syslinux-themes-ubuntu-oneiric_1_all.deb) ...
Setting up memtest86+ (4.20-1ubuntu1) ...
Setting up gfxboot (4.2.2-1ubuntu1) ...
Setting up gfxboot-theme-ubuntu (0.12.2) ...
Setting up syslinux-common (2:4.04+dfsg-1ubuntu1) ...
Setting up syslinux (2:4.04+dfsg-1ubuntu1) ...
Setting up syslinux-themes-ubuntu-oneiric (1) ...
mkdir: missing operand
Try `mkdir --help' for more information.
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists...
Building dependency tree...
Reading state information...

Reply via email to