[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: r32489 - in trunk/packages/rootskel: debian src/sbin



I've reverted this patch since it compeltely broke the installer, since
MENU is no longer exported to the script that uses it.

(Anyone bitten by this breakage can temporarily avoid it by booting with
MENU=/usr/bin/main-menu)

Tollef Fog Heen wrote:
> Author: tfheen
> Date: Mon Nov 28 11:57:05 2005
> New Revision: 32489
> 
> Modified:
>    trunk/packages/rootskel/debian/changelog
>    trunk/packages/rootskel/src/sbin/debian-installer
> Log:
> Make it possible to override what menu to use by passing it in the
> MENU environment variable.
> 
> 
> 
> Modified: trunk/packages/rootskel/debian/changelog
> ==============================================================================
> --- trunk/packages/rootskel/debian/changelog	(original)
> +++ trunk/packages/rootskel/debian/changelog	Mon Nov 28 11:57:05 2005
> @@ -3,6 +3,8 @@
>    * After calling reboot or halt, sleep for a bit if possible to try to
>      ensure that init always has a chance to kill main-menu before it runs
>      the next menu item.
> +  * Make it possible to override what menu to use by passing it in the
> +    MENU environment variable.
>  
>   -- Colin Watson <cjwatson@debian.org>  Fri, 18 Nov 2005 22:14:26 +0000
>  
> 
> Modified: trunk/packages/rootskel/src/sbin/debian-installer
> ==============================================================================
> --- trunk/packages/rootskel/src/sbin/debian-installer	(original)
> +++ trunk/packages/rootskel/src/sbin/debian-installer	Mon Nov 28 11:57:05 2005
> @@ -1,7 +1,8 @@
>  #! /bin/sh
>  # This is where the installer actually interacts with the user
>  set -e
> -export MENU=${1:-/usr/bin/main-menu}
> +
> +MENU=${MENU:-${1:-/usr/bin/main-menu}}
>  for script in /lib/debian-installer.d/S[0-9][0-9]*; do
>  	. $script
>  done
> 

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: