summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/TODO27
-rw-r--r--perl-install/Makefile4
-rw-r--r--perl-install/detect_devices.pm4
-rw-r--r--perl-install/install_any.pm4
-rw-r--r--perl-install/lang.pm2
-rw-r--r--perl-install/pkgs.pm2
-rw-r--r--perl-install/share/list7
-rwxr-xr-xupdate_kernel6
8 files changed, 30 insertions, 26 deletions
diff --git a/docs/TODO b/docs/TODO
index 8b6cccd20..2c18716e9 100644
--- a/docs/TODO
+++ b/docs/TODO
@@ -1,19 +1,17 @@
-merge the install(1) of redhat
+ddcprobe for pnp monitors
smp::detect
-try detect_devices::floppies (and how are scsi floppies handled?)
+kickstart like
-have a better time estimation of the remaining time in install packages
+upgrade
-intelligent arguments to insmod.
+have a better time estimation of the remaining time in install packages
update the list of modules (in update_kernel)
look at the pcmcia case
-upgrade
-
Xconfigurator:
simplify Monitors
possibility to show card autodetected
@@ -21,10 +19,9 @@ Xconfigurator:
the wait_message is nasty (just pops half second)
use the VideoRam for skeeping some tests (not all the 32 24 16 15 8)
-in package choosing, the group (on the left) is no more `selected' (gtk focus) when clicking on a package (on the right)
+merge the install(1) of redhat
-install2 sigsegv when leaving :(
-(i hacked init to reboot on error)
+in package choosing, the group (on the left) is no more `selected' (gtk focus) when clicking on a package (on the right)
verify the free space is big enough.
@@ -47,8 +44,6 @@ remove the gray line surrounding the logo
pb with dependencies ``missing'': icewm do not require XFree86 and so you can have icewm but no X server
-replace in place catchable die's by cdie's (as in partition_table::load)
-
rewrite mouseconfig in perl?
cleanup /etc/services & /etc/protocols
@@ -63,8 +58,6 @@ remove cpio from base when mkbootdisk deps is added
quotema in _ask_from_list in my_gtk
-do a iotcl FDGETPRM to detect fd1, fd0.
-
look at SuperProbe
timezone using a picture (pb: how to delimit zones)
@@ -77,3 +70,11 @@ xmodmap needed even for english as the backspace is not what it should
aha152x needs "insmod aha152x.o aha152x=0x140,11,7"
have isofs in module.
+
+replace in place catchable die's by cdie's (as in partition_table::load)
+
+strange: no scsi of type 'fd', only 'tape'
+
+try detect_devices::floppies (and how are scsi floppies handled?)
+maybe: do a iotcl FDGETPRM to detect fd1, fd0.
+
diff --git a/perl-install/Makefile b/perl-install/Makefile
index 6c2704d0b..b9d66b7a1 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -70,7 +70,7 @@ gendepslist: %: %.cc
$(CXX) -I/usr/include/rpm $(CFLAGS) $< -lrpm -ldb1 -lz -o $@
$(BASE)/depslist: gendepslist $(RPMS)
- ./gendepslist $(BASE)depslist $(ROOTDEST)/Mandrake/RPMS/*.rpm
+ ./gendepslist $(BASE)/depslist $(ROOTDEST)/Mandrake/RPMS/*.rpm
install_pms: all
for i in `perl -ne 's/sub (\w+?)_? {.*/$$1/ and print' commands.pm`; do ln -sf commands $(DEST)/usr/bin/$$i; done
@@ -178,7 +178,7 @@ stage2:
rm $(STAGE2TMP)/usr/X11R6/bin/XF86_SVGA
for i in /usr/share/locale /usr/share/keymaps /usr/share/xmodmap; do \
name=`basename $$i` ; \
- (cd $(STAGE2TMP)/`dirname $$i` ; find $$name | cpio --quiet -o 2>/dev/null | bzip2 > $$name.cpio.bz2 ; rm -rf $$name) \
+ (cd $(STAGE2TMP)/$$i ; find * | cpio --quiet -o 2>/dev/null | bzip2 > ../$$name.cpio.bz2 ; rm -rf $$name) \
done
$(SUDO) cp -a $(STAGE2TMP)/* /mnt/stage2
$(SUDO) rm -rf $(STAGE2TMP)
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 5b6f79e41..fd98b409a 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -31,9 +31,7 @@ sub get {
sub hds() { grep { $_->{type} eq 'hd' } get(); }
sub cdroms() { grep { $_->{type} eq 'cdrom' } get(); }
sub floppies() {
- (grep {
- my $fd = tryOpen($_);
- } qw(fd0 fd1)),
+ (grep { tryOpen($_) } qw(fd0 fd1)),
(grep { $_->{type} eq 'fd' } get());
}
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 47d4808a4..2386619b8 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -131,12 +131,12 @@ sub addToBeDone(&$) {
sub install_cpio {
my ($dir, $name) = @_;
- return if -e "$dir/$name";
+ return "$dir/$name" if -e "$dir/$name";
my $cpio = "$dir.cpio.bz2";
-e $cpio or return;
- commands::rm "-r", $dir;
+ eval { commands::rm "-r", $dir };
mkdir $dir, 0755;
run_program::run("cd $dir ; bzip2 -cd $cpio | cpio -i $name");
"$dir/$name";
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index a3a1c96c6..77d9bbb86 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -121,7 +121,7 @@ sub set {
delete $ENV{LC_ALL};
delete $ENV{LINGUAS};
}
- install_any::install_cpio($prefix, "/usr/share/locale", $lang);
+ install_any::install_cpio("/usr/share/locale", $lang);
}
sub write {
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 7c859cb08..18f1693be 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -218,7 +218,7 @@ sub setSelectedFromCompssList($$$$$) {
defined $ind or log::l("unknown install class $install_class in compssList"), return;
my @values = map { $_->{values}[$ind] } @packages;
- sort { $values[$a] <=> $values[$b] } 0 .. $#packages;
+ sort { $values[$b] <=> $values[$a] } 0 .. $#packages;
};
foreach (@places) {
my $p = $packages[$_];
diff --git a/perl-install/share/list b/perl-install/share/list
index 46d6ecf08..beffbce8f 100644
--- a/perl-install/share/list
+++ b/perl-install/share/list
@@ -11,6 +11,7 @@
/usr/bin/bzip2
/usr/lib/gconv/gconv-modules
/usr/lib/gconv/ISO8859-1.so
+/usr/lib/gconv/ISO8859-9.so
/usr/lib/perl5/5.00503/AutoLoader.pm
/usr/lib/perl5/5.00503/Carp.pm
/usr/lib/perl5/5.00503/Data/Dumper.pm
@@ -66,8 +67,8 @@
/usr/X11R6/bin/xmodmap
/usr/X11R6/lib/X11/fonts/75dpi/fonts.dir
/usr/X11R6/lib/X11/fonts/75dpi/fonts.alias
-/usr/X11R6/lib/X11/fonts/75dpi/helvR10.pcf.gz
/usr/X11R6/lib/X11/fonts/75dpi/helvR08.pcf.gz
+/usr/X11R6/lib/X11/fonts/75dpi/helvR10.pcf.gz
/usr/X11R6/lib/X11/fonts/cyrillic/fonts.dir
/usr/X11R6/lib/X11/fonts/cyrillic/fonts.alias
/usr/X11R6/lib/X11/fonts/cyrillic/crox1h.pcf.gz
@@ -78,3 +79,7 @@
/usr/X11R6/lib/X11/fonts/misc/cursor.pcf.gz
/usr/X11R6/lib/X11/fonts/misc/jiskan16.pcf.gz
/usr/X11R6/lib/X11/fonts/misc/7x14rk.pcf.gz
+/usr/share/fonts/ISO8859-9/75dpi/fonts.dir
+/usr/share/fonts/ISO8859-9/75dpi/fonts.alias
+/usr/share/fonts/ISO8859-9/75dpi/tr_helvR08.pcf.gz
+/usr/share/fonts/ISO8859-9/75dpi/tr_helvR10.pcf.gz
diff --git a/update_kernel b/update_kernel
index 7bd51d8c6..2c09b7cbd 100755
--- a/update_kernel
+++ b/update_kernel
@@ -6,15 +6,15 @@ KERNEL_VERSION="2.2.11-BOOT"
SCSI_DRIVERS="
53c7,8xx.o AM53C974.o BusLogic.o NCR53c406a.o advansys.o aha152x.o
aha1542.o aha1740.o aic7xxx.o dtc.o eata_dma.o eata_pio.o fdomain.o
- g_NCR5380.o in2000.o megaraid.o ncr53c8xx.o pas16.o
+ g_NCR5380.o in2000.o initio.o megaraid.o ncr53c8xx.o pas16.o
qlogicisp.o seagate.o t128.o u14-34f.o wd7000.o ultrastor.o"
# broken network modules: at1700.o
NETWORK_DRIVERS="
3c501.o 3c503.o 3c505.o 3c507.o 3c509.o 3c59x.o 82596.o 8390.o ac3200.o
- epic100.o cs89x0.o de4x5.o de600.o de620.o dgrs.o e2100.o
+ epic100.o cs89x0.o de4x5.o de600.o de620.o e2100.o
eepro.o eepro100.o eexpress.o es3210.o eth16i.o hp-plus.o hp.o
- hp100.o ibmtr.o initio.o lance.o lne390.o ne.o ne2k-pci.o ne3210.o ni52.o
+ hp100.o ibmtr.o lance.o lne390.o ne.o ne2k-pci.o ne3210.o ni52.o
ni5010.o ni65.o plip.o
pcnet32.o rtl8139.o rcpci45.o sktr.o smc9194.o smc-ultra.o
smc-ultra32.o tlan.o