Updating syslinux configurations and handling for syslinux 5.
authorDaniel Baumann <daniel@debian.org>
Fri, 1 Feb 2013 07:51:39 +0000 (08:51 +0100)
committerDaniel Baumann <daniel@debian.org>
Fri, 8 Feb 2013 20:40:28 +0000 (21:40 +0100)
13 files changed:
scripts/build/binary_syslinux
share/bootloaders/extlinux/ldlinux.c32 [new symlink]
share/bootloaders/extlinux/libcom32.c32 [new symlink]
share/bootloaders/extlinux/libutil.c32 [new symlink]
share/bootloaders/isolinux/ldlinux.c32 [new symlink]
share/bootloaders/isolinux/libcom32.c32 [new symlink]
share/bootloaders/isolinux/libutil.c32 [new symlink]
share/bootloaders/pxelinux/ldlinux.c32 [new symlink]
share/bootloaders/pxelinux/libcom32.c32 [new symlink]
share/bootloaders/pxelinux/libutil.c32 [new symlink]
share/bootloaders/syslinux/ldlinux.c32 [new symlink]
share/bootloaders/syslinux/libcom32.c32 [new symlink]
share/bootloaders/syslinux/libutil.c32 [new symlink]

index 4b0fe18..7b7be2f 100755 (executable)
@@ -179,10 +179,10 @@ case "${LB_BUILD_WITH_CHROOT}" in
                if [ "${LB_SYSLINUX_THEME}" = "live-build" ]
                then
                        cp -a ${_SOURCE} chroot/root
-                       Chroot chroot cp -aL /root/$(basename ${_SOURCE}) /root/$(basename ${_SOURCE}).tmp
+                       Chroot chroot cp -aL /root/$(basename ${_SOURCE}) /root/$(basename ${_SOURCE}).tmp || true
                        rm -rf chroot/$(basename ${_SOURCE})
                else
-                       Chroot chroot cp -aL ${_SOURCE} /root/$(basename ${_SOURCE}).tmp
+                       Chroot chroot cp -aL ${_SOURCE} /root/$(basename ${_SOURCE}).tmp || true
                fi
 
                case "${LB_MODE}" in
@@ -197,7 +197,7 @@ case "${LB_BUILD_WITH_CHROOT}" in
        false)
                mkdir -p ${_TARGET}
 
-               cp -aL ${_SOURCE}/* ${_TARGET}
+               cp -aL ${_SOURCE}/* ${_TARGET} || true
 
                case "${LB_MODE}" in
                        ubuntu)
diff --git a/share/bootloaders/extlinux/ldlinux.c32 b/share/bootloaders/extlinux/ldlinux.c32
new file mode 120000 (symlink)
index 0000000..c937af6
--- /dev/null
@@ -0,0 +1 @@
+/usr/lib/syslinux/ldlinux.c32
\ No newline at end of file
diff --git a/share/bootloaders/extlinux/libcom32.c32 b/share/bootloaders/extlinux/libcom32.c32
new file mode 120000 (symlink)
index 0000000..bca5e3c
--- /dev/null
@@ -0,0 +1 @@
+/usr/lib/syslinux/libcom32.c32
\ No newline at end of file
diff --git a/share/bootloaders/extlinux/libutil.c32 b/share/bootloaders/extlinux/libutil.c32
new file mode 120000 (symlink)
index 0000000..351e12b
--- /dev/null
@@ -0,0 +1 @@
+/usr/lib/syslinux/libutil.c32
\ No newline at end of file
diff --git a/share/bootloaders/isolinux/ldlinux.c32 b/share/bootloaders/isolinux/ldlinux.c32
new file mode 120000 (symlink)
index 0000000..c937af6
--- /dev/null
@@ -0,0 +1 @@
+/usr/lib/syslinux/ldlinux.c32
\ No newline at end of file
diff --git a/share/bootloaders/isolinux/libcom32.c32 b/share/bootloaders/isolinux/libcom32.c32
new file mode 120000 (symlink)
index 0000000..bca5e3c
--- /dev/null
@@ -0,0 +1 @@
+/usr/lib/syslinux/libcom32.c32
\ No newline at end of file
diff --git a/share/bootloaders/isolinux/libutil.c32 b/share/bootloaders/isolinux/libutil.c32
new file mode 120000 (symlink)
index 0000000..351e12b
--- /dev/null
@@ -0,0 +1 @@
+/usr/lib/syslinux/libutil.c32
\ No newline at end of file
diff --git a/share/bootloaders/pxelinux/ldlinux.c32 b/share/bootloaders/pxelinux/ldlinux.c32
new file mode 120000 (symlink)
index 0000000..c937af6
--- /dev/null
@@ -0,0 +1 @@
+/usr/lib/syslinux/ldlinux.c32
\ No newline at end of file
diff --git a/share/bootloaders/pxelinux/libcom32.c32 b/share/bootloaders/pxelinux/libcom32.c32
new file mode 120000 (symlink)
index 0000000..bca5e3c
--- /dev/null
@@ -0,0 +1 @@
+/usr/lib/syslinux/libcom32.c32
\ No newline at end of file
diff --git a/share/bootloaders/pxelinux/libutil.c32 b/share/bootloaders/pxelinux/libutil.c32
new file mode 120000 (symlink)
index 0000000..351e12b
--- /dev/null
@@ -0,0 +1 @@
+/usr/lib/syslinux/libutil.c32
\ No newline at end of file
diff --git a/share/bootloaders/syslinux/ldlinux.c32 b/share/bootloaders/syslinux/ldlinux.c32
new file mode 120000 (symlink)
index 0000000..c937af6
--- /dev/null
@@ -0,0 +1 @@
+/usr/lib/syslinux/ldlinux.c32
\ No newline at end of file
diff --git a/share/bootloaders/syslinux/libcom32.c32 b/share/bootloaders/syslinux/libcom32.c32
new file mode 120000 (symlink)
index 0000000..bca5e3c
--- /dev/null
@@ -0,0 +1 @@
+/usr/lib/syslinux/libcom32.c32
\ No newline at end of file
diff --git a/share/bootloaders/syslinux/libutil.c32 b/share/bootloaders/syslinux/libutil.c32
new file mode 120000 (symlink)
index 0000000..351e12b
--- /dev/null
@@ -0,0 +1 @@
+/usr/lib/syslinux/libutil.c32
\ No newline at end of file