Browse Source

Fixes rpm dist problems with @INC.

master
freesource 22 years ago
parent
commit
526031d371
  1. 13
      Changes
  2. 26
      gbootroot

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
------------------

26
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,27 +248,28 @@ 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} ) {
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;
}
}
if ( !%option || $option{gui_mode} ) {
if ( !%option || $option{gui_mode} ) {
if ( !$::commandline ) {
use Gtk;
@ -273,11 +278,8 @@ BEGIN {
}
}
}
use strict;
use BootRoot::BootRoot;

Loading…
Cancel
Save