Your message dated Thu, 20 Sep 2012 13:48:29 +0200
with message-id <505b028d.6050...@progress-technologies.net>
and subject line Re: extlinux-update: fails to correctly update changed 
syslinux debian themes
has caused the Debian Bug report #687848,
regarding extlinux-update: fails to correctly update changed syslinux debian 
themes
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
687848: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687848
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: extlinux
Version: 2:4.05+dfsg-6
Severity: grave
Tags: patch
Justification: leaves system in unbootable state if updating in wheezy

Hi,

when preparing a patch for #681426 I noticed that after updating
the debian wheezy extlinux theme (by installing an updated version of
syslinux-themes-debian-wheezy) running extlinux-update does not
update the theme in /boot/extlinux/themes/debian-wheezy but instead
copies the new theme to /boot/extlinux/themes/debian-wheezy/extlinux .
Therefore, the old theme is then used.

This means that systems which had the broken theme (as described in
#681426) installed and upgrade to a newer theme and run extlinux-update
still won't boot.

The problem can be fixed by removing the old theme before copying
the new one:

diff -Nru syslinux-4.05+dfsg/debian/local/extlinux-update 
syslinux-4.05+dfsg/debian/local/extlinux-update
--- syslinux-4.05+dfsg/debian/local/extlinux-update     2012-06-30 
14:00:10.000000000 +0200
+++ syslinux-4.05+dfsg/debian/local/extlinux-update     2012-09-16 
17:07:40.000000000 +0200
@@ -403,9 +403,11 @@
 
                if [ -n "${EXTLINUX_THEME_ORIG}" ]
                then
+                       rm -rf 
"${_EXTLINUX_DIRECTORY}/themes/${EXTLINUX_THEME_ORIG}"
                        cp -aL 
"/usr/share/syslinux/themes/${EXTLINUX_THEME_ORIG}/extlinux" 
"${_EXTLINUX_DIRECTORY}/themes/${EXTLINUX_THEME_ORIG}"
                        ln -sf "${EXTLINUX_THEME_ORIG}" 
"${_EXTLINUX_DIRECTORY}/themes/${EXTLINUX_THEME}"
                else
+                       rm -rf "${_EXTLINUX_DIRECTORY}/themes/${EXTLINUX_THEME}"
                        cp -aL 
"/usr/share/syslinux/themes/${EXTLINUX_THEME}/extlinux" 
"${_EXTLINUX_DIRECTORY}/themes/${EXTLINUX_THEME}"
                fi
 


Cheers,

Mika

--- End Message ---
--- Begin Message --- the theme in /boot/extlinux is correctly removed, see line 398 in extlinux-update.

--
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          daniel.baum...@progress-technologies.net
Internet:       http://people.progress-technologies.net/~daniel.baumann/

--- End Message ---

Reply via email to