summaryrefslogtreecommitdiffstats
path: root/update_kernel
blob: 35451dfac51f411b84a1df56f37b22b4f284ca9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/bin/bash

KERNEL_BOOT_PATH="kernel"

function f() { 
    v=`perl -Iperl-install -Mmodules -e "print qq(\\$_.o\n) foreach modules::module_of_type__4update_kernel(\"$1\")"` 
}

ARCH=`uname -m | sed -e 's/i.86/i386/' -e 's/sparc.*/sparc/'`

f "scsi disk" ; SCSI_DRIVERS=$v
f "net" ; NETWORK_DRIVERS=$v
f "scsi cdrom" ; CD_DRIVERS=$v
f "pcmcia net_raw cdrom_raw scsi_raw disk_raw" ; PCMCIA_DRIVERS=$v
f "big net_raw cdrom_raw scsi_raw disk_raw" ; BIG_DRIVERS=$v
f "pcmcia net cdrom scsi disk keepbig" ; ALL_DRIVERS=$v
[ $ARCH == "i386" ] && FSMODULES="vfat.o fat.o"

NETWORK_MODULES="$FSMODULES $NETWORK_DRIVERS"
CDROM_MODULES="  $FSMODULES $CD_DRIVERS"
HD_MODULES="     $FSMODULES $SCSI_DRIVERS loop.o isofs.o"
PCMCIA_MODULES=" $FSMODULES $PCMCIA_DRIVERS"
BIG_MODULES="    $FSMODULES $BIG_DRIVERS"
ALL_MODULES="    $FSMODULES $ALL_DRIVERS reiserfs.o"
NOT_USEFULL_IN_STAGE1="nls_*.o parport_probe.o raid*.o serial.o smbfs.o usb-*.o"

PCMCIA_INSTALLMODULES="pcmcia_core.o tcic.o ds.o i82365.o"

if [ "$ARCH" == "i386" ]; then
    #disable any existing resolution!!!
    cp -f $KERNEL_BOOT_PATH/boot/vmlinuz* vmlinuz
    /usr/sbin/rdev -v vmlinuz 65535 #788 #785 

    rm -rf install_pcmcia_modules ; install -d install_pcmcia_modules
else
    cp -f "$KERNEL_BOOT_PATH"/boot/vmlinux.gz .
fi
cp -f $KERNEL_BOOT_PATH/boot/System.map* System.map

rm -rf modules ; install -d modules
(cd modules ; 
    cp -f `find ../"$KERNEL_BOOT_PATH"/lib/modules/ -name "*.o"` .
    /sbin/depmod -m ../System.map -i -e *.o | perl -pe 's/\\\n//' | perl -ne 's/\.o//g; s/[ \t]+/ /g; print if /: /' > modules.dep
    perl -pi -e 's/((plip|ppa|imm): parport)/$1 parport_pc/' modules.dep
    ls *.o              | packdrake -b9s modules.cz 400000
    ls *.o              | cpio --quiet -H crc -o | bzip2 -9> modules.cpio.bz2
    ls $NETWORK_MODULES | cpio --quiet -H crc -o | gzip -9 > network_modules.cgz
    ls $CDROM_MODULES   | cpio --quiet -H crc -o | gzip -9 > cdrom_modules.cgz	
    ls $HD_MODULES      | cpio --quiet -H crc -o | gzip -9 > hd_modules.cgz     
    ls $PCMCIA_MODULES  | cpio --quiet -H crc -o | gzip -9 > pcmcia_modules.cgz
    ls $BIG_MODULES     | cpio --quiet -H crc -o | gzip -9 > other_modules.cgz
    ls $ALL_MODULES     | cpio --quiet -H crc -o | gzip -9 > all_modules.cgz
[ "$ARCH" == "i386" ] && {
    cp $PCMCIA_INSTALLMODULES ../install_pcmcia_modules/
}
    rm -f $ALL_MODULES $PCMCIA_INSTALLMODULES $NOT_USEFULL_IN_STAGE1 # leave in the directory non-install1 used modules
)

# v=kernel-2.2.17-BOOT3.tar.bz2
# scp kenobi:~chmou/work/kernel/archive/$v /tmp
# cd ~/gi/kernel ; rm -rf * ; tar xfI /tmp/$v 
# cd ~/gi ; ./update-kernel ; rm -f network.rdz ; ./make_boot_img network.rdz network ; scp vmlinuz network.rdz kenobi:/tftpboot
# cp -f ~/gi/modules/modules.cz /export/Mandrake/mdkinst/lib/modules.cz
ames no longer used
+
+2003/02/16 Pixel <pixel@mandrakesoft.com>
+
+ * install_steps_gtk.pm: summary written in gtk, isn't it nice (?)
+ - factorize "Help"-button handling
+ - fix interactive_help_get_id (happily, it was no pb :)
+
+ * help.pm: fix typo (thanks to Christophe Combelles)
+
+ * install_steps_interactive.pm: handle "not configured" in summary_prompt
+
+ * services.pm: fix rawdevices description (bug #1677)
+
+ * diskdrake/hd_gtk.pm, interactive.pm, Xconfig/resolution_and_depth.pm,
+ install_interactive.pm:
+ - factorize "Help"-button handling
+ - fix interactive_help_get_id (happily, it was no pb :)
+
+2003/02/15 alus
+
+ * share/po/pl.po: mostly updated
+ updated partially
+ why this file wasn't regenerated?
+
+2003/02/15 Guillaume Cottenceau <gc@mandrakesoft.com>
+
+ * ugtk2.pm: don't mute the keyboard in ask_browse_tree_info (#1598)
+
+ * printer/printerdrake.pm:
+ - try to workaround #1581
+ - fix the most code style-independant perl checker things
+
+2003/02/15 Pablo Saratxaga <pablo@mandrakesoft.com>
+
+ * share/po/et.po: updated Estonian, Norwegian and Vietnamese files
+ updated po files
+
+ * share/po/vi.po: updated Estonian, Norwegian and Vietnamese files
+ updated pot files
+ updated po files
+
+ * share/po/id.po, share/po/gl.po, share/po/ja.po, share/po/hr.po,
+ share/po/mt.po, share/po/ga.po, share/po/ko.po, share/po/lt.po,
+ share/po/he.po, share/po/is.po, share/po/it.po, share/po/lv.po,
+ share/po/hu.po: updated pot files
+
+ * share/po/ar.po: updated remaining po files
+ updated po files
+
+ * share/po/pt_BR.po, share/po/br.po, share/po/be.po, share/po/uk.po,
+ share/po/fi.po, share/po/cy.po, share/po/ca.po, share/po/da.po,
+ share/po/tg.po, share/po/bs.po, share/po/uz.po, share/po/wa.po,
+ share/po/af.po, share/po/az.po, share/po/zh_TW.po, share/po/zh_CN.po,
+ share/po/pt.po, share/po/fr.po, share/po/eu.po, share/po/es.po,
+ share/po/de.po, share/po/eo.po, share/po/el.po, share/po/cs.po,
+ share/po/bg.po: updated po files
+
+ * share/po/sk.po, share/po/ru.po, share/po/th.po, share/po/sl.po,
+ share/po/tr.po, share/po/sv.po, share/po/sr.po, share/po/sp.po,
+ share/po/ro.po, share/po/ta.po, share/po/sq.po, share/po/nl.po: updated
+ remaining po files
+
+ * share/po/no.po: updated Estonian, Norwegian and Vietnamese files
+ updated remaining po files
+
+2003/02/15 Pixel <pixel@mandrakesoft.com>
+
+ * install_any.pm: fix gc's typo
+
+2003/02/15 Till Kamppeter <till@mandrakesoft.com>
+
+ * standalone/scannerdrake: Fixed bug in setting up multiple scanners at
+ once.
+
+2003/02/14 Till Kamppeter <till@mandrakesoft.com>
+
+ * scanner.pm, standalone/scannerdrake: Improved manual scanner
+ configuration, bug fixes.
+
+ * standalone.pm: Updated "Usage:" message for Scannerdrake.
+
2003/02/14 alus
* share/po/pl.po: fixed
@@ -10642,7 +10746,7 @@
* Makefile.config: remove dir security
- * proxy.pm: add $Id: ChangeLog,v 1.781 2003/02/14 00:04:41 prigaux Exp $
+ * proxy.pm: add $Id: ChangeLog,v 1.782 2003/02/15 00:47:57 prigaux Exp $
* interactive/gtk.pm: use my_gtk {isWizard} and {isEmbedded} which are
more accurate than