My feeling is that this is the wrong fix for the wrong problem.
I think that the wildchar that matches the miltiple initrd's is the
problem and that the wildchar should be removed and replaced with the
full file name that we want to copy. The advantage of my proposed fix
to this fix is that this would fix the issue when three are 2 kernels
in testing (like we had a few weeks back) too.

Sorry to sound negative!
Alex Owen

On 26/10/06, Otavio Salvador <[EMAIL PROTECTED]> wrote:
From: Otavio Salvador <[EMAIL PROTECTED]>

There's some corner cases that can cause you to have backup files of
initrd or something related. Since those backups aren't useful to us
we remove them before proceed otherwise we'll fail to copy them since
the wildchar will match more then one file and the target isn't a
directory.
---

 src/scripts/21image.sh |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/scripts/21image.sh b/src/scripts/21image.sh
index 57c3d9f..bc35d0d 100644
--- a/src/scripts/21image.sh
+++ b/src/scripts/21image.sh
@@ -210,6 +210,9 @@ Syslinux ()

 Linuximage ()
 {
+       # Remove backup files before proceed
+       rm -f "${LIVE_CHROOT}"/boot/*.bak
+
        case "${1}" in
                iso)
                        # Copy linux-image

_______________________________________________
Debian-live-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel


_______________________________________________
Debian-live-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

Reply via email to