Hi, On Wed, Sep 26, 2012 at 11:51:55PM +0200, Mika Pflüger wrote: > Steps to reproduce: > 1. Fresh wheezy install > 2. apt-get install extlinux > 3. extlinux-update && extlinux-install <first-hd> > (4. try reboot: doesn't boot; redo 1.-3. to get working setup again) > 5. add unstable to sources.list and apt-get -t unstable install > syslinux-themes-debian-wheezy or just download the most recent > syslinux-themes-debian-wheezy_*.deb from an unstable mirror of your > choice and dpkg -i it > 6. extlinux-update > 7. try reboot: doesn't boot.
This problem can be reproduced easily with these steps. The problem should go away for fresh installs if syslinux-themes-debian-wheezy migrates to testing, but it will still be there for older installs. > I don't know if my proposed patch is a very elegant solution (I > actually suspect it's not), but I tested that it solves the problem. Removing the directories first isn't very elegant. The following patch shoud fix the problem by forcing cp to use the right path (adding the -T option): --- a/debian/local/extlinux-update +++ b/debian/local/extlinux-update @@ -403,10 +403,10 @@ then if [ -n "${EXTLINUX_THEME_ORIG}" ] then - cp -aL "/usr/share/syslinux/themes/${EXTLINUX_THEME_ORIG}/extlinux" "${_EXTLINUX_DIRECTORY}/themes/${EXTLINUX_THEME_ORIG}" + cp -aLT "/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 - cp -aL "/usr/share/syslinux/themes/${EXTLINUX_THEME}/extlinux" "${_EXTLINUX_DIRECTORY}/themes/${EXTLINUX_THEME}" + cp -aLT "/usr/share/syslinux/themes/${EXTLINUX_THEME}/extlinux" "${_EXTLINUX_DIRECTORY}/themes/${EXTLINUX_THEME}" fi echo " done." Unfortunately, there is a newer version of syslinux in sid, which will probably not be unblocked for wheezy, so a fix via testing-proposed-updates might be necessary. Daniel, will you fix this bug in sid and (via t-p-u) in wheezy, or do you want someone else to do an NMU? Cheers, Ivo -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org