Commit bc43671b authored by Raphaël Hertzog's avatar Raphaël Hertzog
Browse files

Fix win32-loader.

parent 635a69c6
live-build (3.0.1-1+kali1) kali; urgency=low
* Fix win32-loader.
-- Raphaël Hertzog <hertzog@debian.org> Thu, 07 Mar 2013 21:53:48 +0100
live-build (3.0.1-1) unstable; urgency=low
* Removing superfluous menu default directive in installer syslinux
......
Description: Fix generation of win32-loader.ini.
It was lacking proper entry of the GTK kernel/initrd due to a bad check.
And it was wrongly hardcoding the architecture in some keys.
--- a/scripts/build/binary_win32-loader
+++ b/scripts/build/binary_win32-loader
@@ -85,16 +85,16 @@ cat > binary/win32-loader.ini << EOF
kernel=linux
arch=${LB_ARCHITECTURES}
default_desktop=gnome
-i386/linux=install/vmlinuz
-i386/initrd=install/initrd.gz
+${LB_ARCHITECTURES}/linux=install/vmlinuz
+${LB_ARCHITECTURES}/initrd=install/initrd.gz
EOF
- if [ -e install/gtk ]
+ if [ -e binary/install/gtk ]
then
cat >> binary/win32-loader.ini << EOF
-i386/gtk/linux=install/vmlinuz
-i386/gtk/initrd=install/gtk/initrd.gz
+${LB_ARCHITECTURES}/gtk/linux=install/vmlinuz
+${LB_ARCHITECTURES}/gtk/initrd=install/gtk/initrd.gz
EOF
fi
fix-win32-loader
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment