mirror of
				https://github.com/fspc/gbootroot.git
				synced 2025-11-04 08:15:36 -05:00 
			
		
		
		
	Fixes rpm dist problems with @INC.
This commit is contained in:
		
							parent
							
								
									c76195a69c
								
							
						
					
					
						commit
						526031d371
					
				
							
								
								
									
										13
									
								
								Changes
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								Changes
									
									
									
									
									
								
							@ -1,3 +1,16 @@
 | 
			
		||||
Updated to 2.4.19-49um and the latest uml tools 20030202.
 | 
			
		||||
 | 
			
		||||
Fixed a @INC problem with rpm packages. The fhs checks usually insert
 | 
			
		||||
the module path (Debian std. path) into @INC via a BEGIN {}, but the
 | 
			
		||||
new BootRoot::Options was trying to be loaded before the fact because
 | 
			
		||||
it had been placed within the BEGIN{}.
 | 
			
		||||
 | 
			
		||||
*Fixed a glibc with uml_mconsole and genext2fs for distributions using
 | 
			
		||||
 libc6 2.2.5 since the version previously included was being compiled
 | 
			
		||||
 for 2.3.1.  Accomplished this by making gbootroot within redhat 7.3.
 | 
			
		||||
 | 
			
		||||
* make libc6 dep for debian >= 2.3.1. .. good idea?
 | 
			
		||||
 | 
			
		||||
1.4.0 - 01/06/2003
 | 
			
		||||
------------------
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										42
									
								
								gbootroot
									
									
									
									
									
								
							
							
						
						
									
										42
									
								
								gbootroot
									
									
									
									
									
								
							@ -44,6 +44,10 @@
 | 
			
		||||
#    - Important 1.3.1 bug report and several good questions now incorporated
 | 
			
		||||
#      in the FAQ.  Noted an erroneous explanation for a FAQ question in 1.3.2.
 | 
			
		||||
#
 | 
			
		||||
#    Stian Skjelstad <stian@nixia.no>
 | 
			
		||||
#    - Observed that @INC wasn't working properly with rpm based dists with 
 | 
			
		||||
#      1.4.0.
 | 
			
		||||
#
 | 
			
		||||
#    [ Supporters and Users ]
 | 
			
		||||
#    Ben Carrell <ben@xmission.com>
 | 
			
		||||
#    - Great compliments.
 | 
			
		||||
@ -244,40 +248,38 @@ BEGIN {
 | 
			
		||||
	$ENV{'PATH'} = "$pwd/user-mode-linux/usr/lib\/uml:" . $ENV{'PATH'};
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
    use BootRoot::Options;
 | 
			
		||||
    option();
 | 
			
		||||
use BootRoot::Options;
 | 
			
		||||
option();
 | 
			
		||||
 | 
			
		||||
    $::commandline = \%option if %option;
 | 
			
		||||
    $::commandline = $ARGV[0] if $ARGV[0];
 | 
			
		||||
$::commandline = \%option if %option;
 | 
			
		||||
$::commandline = $ARGV[0] if $ARGV[0];
 | 
			
		||||
    
 | 
			
		||||
    if ( $option{home} && !$option{template} ) {
 | 
			
		||||
	undef $::commandline;
 | 
			
		||||
	$option{gui_mode} = $option{home};
 | 
			
		||||
	undef $option{home};
 | 
			
		||||
    }
 | 
			
		||||
if ( $option{home} && !$option{template} ) {
 | 
			
		||||
    undef $::commandline;
 | 
			
		||||
    $option{gui_mode} = $option{home};
 | 
			
		||||
    undef $option{home};
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
    if ( $Getopt::Long::error > 0 ) {
 | 
			
		||||
if ( $Getopt::Long::error > 0 ) {
 | 
			
		||||
	
 | 
			
		||||
	exit;
 | 
			
		||||
    exit;
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    if ( !%option || $option{gui_mode} ) {
 | 
			
		||||
	if ( !$::commandline  ) {
 | 
			
		||||
if ( !%option || $option{gui_mode} ) {
 | 
			
		||||
    if ( !$::commandline  ) {
 | 
			
		||||
	
 | 
			
		||||
	    use Gtk;
 | 
			
		||||
	    init Gtk;
 | 
			
		||||
	    set_locale Gtk; 
 | 
			
		||||
 | 
			
		||||
	}	
 | 
			
		||||
	use Gtk;
 | 
			
		||||
	init Gtk;
 | 
			
		||||
	set_locale Gtk; 
 | 
			
		||||
	
 | 
			
		||||
    }	
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
use strict;
 | 
			
		||||
use BootRoot::BootRoot;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user