#!/bin/bash KERNEL_BOOT_PATH="kernel" function f() { v=`perl -Iperl-install -Mmodules -e "print qq(\\$_.o\n) foreach modules::module_of_type(\"$1\")"` } ARCH=`uname -m | sed -e 's/i.86/i386/' -e 's/sparc.*/sparc/'` f "scsi|disk" ; SCSI_DRIVERS=$v f "net|network" ; NETWORK_DRIVERS=$v f "scsi|cdrom" ; CD_DRIVERS=$v f "pcmcia|network" ; PCMCIA_DRIVERS=$v [ $ARCH == "i386" ] && FSMODULES="vfat.o fat.o" NETWORK_MODULES="$FSMODULES $NETWORK_DRIVERS" CDROM_MODULES=" $FSMODULES $CD_DRIVERS" HD_MODULES=" $FSMODULES $SCSI_DRIVERS" PCMCIA_MODULES=" $FSMODULES $PCMCIA_DRIVERS af_packet.o isofs.o scsi_mod.o sr_mod.o sd_mod.o cdrom.o ide-cd.o ide-mod.o ide-probe.o ide-disk.o serial.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 | build_archive 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 [ "$ARCH" == "i386" ] && { cp $PCMCIA_INSTALLMODULES ../install_pcmcia_modules/ } rm -f $NETWORK_MODULES $CDROM_MODULES $HD_MODULES $PCMCIA_MODULES $PCMCIA_INSTALLMODULES $NOT_USEFULL_IN_STAGE1 # leave in the directory non-install1 used modules ) _2-update'>topic/MDK-10_2-update Mageia Installer and base platform for many utilitiesThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix fd leakPascal Terjan2011-04-241-0/+1
|
* update wcreen with proper imagesAnne Nicolas2011-04-232-0/+0
|
* - Fix the bugzilla url generated by drakbug by changing 'classificaiton=Mageia'Ahmad Samir2011-04-232-1/+3
| | | | | to 'product=Mageia' (mga#831)
* add sdhci-pci to card_reader list (#855)Thomas Backlund2011-04-223-1/+5
|
* switch to betaAnne Nicolas2011-04-222-0/+0
|
* drakxtools 13.49Anssi Hannula2011-04-202-1/+3
|
* Update translation files.Anssi Hannula2011-04-2071-1065/+2059
|
* service_harddrake: show a dialog about having to use nokmsboot if we couldn'tAnssi Hannula2011-04-202-1/+12
| | | | | automatically reconfigure the boot loader (e.g. when booted directly from a foreign bootloader) (Mageia bug #893)
* service_harddrake: remove unneeded testAnssi Hannula2011-04-201-1/+1
|
* service_harddrake: move display driver check block after all hardwareAnssi Hannula2011-04-201-12/+12
| | | | configuration code
* service_harddrake: show yes/no buttons instead of ok/cancel when askingAnssi Hannula2011-04-202-1/+3
| | | | about running a config tool
* service_harddrake: add support for timeouted OK and Yes/No dialogs inAnssi Hannula2011-04-202-6/+15
| | | | addition to the current OK/Cancel dialogs.
* service_harddrake: load new drivers or ask for reboot also if the driver isAnssi Hannula2011-04-202-8/+22
| | | | switched due to a hardware change instead of an ldetect-lst change.
* drakxtools 13.48Anssi Hannula2011-04-172-1/+3
|
* Update translation files.Anssi Hannula2011-04-17142-22871/+24624
|
* Add nokmsboot boot option also if the bootloader is installed after setting ↵Anssi Hannula2011-04-173-0/+10
| | | | up a conflicting display driver (e.g. draklive-install).
* service_harddrake: Add or remove nokmsboot option if an unoptimal or fatal ↵Anssi Hannula2011-04-172-1/+14
| | | | situation is detected.
* service_harddrake: Do not switch a display driver if speedboot has already ↵Anssi Hannula2011-04-172-0/+10
| | | | started X server, in that case simply disable speedboot for next boot.
* service_harddrake: ask for a reboot after a driver switch if needed, and ↵Anssi Hannula2011-04-172-2/+25
| | | | load the new driver if no reboot is needed
* service_harddrake: handle adding/removing nokmsboot when switching the driver.Anssi Hannula2011-04-172-0/+5
|
* service_harddrake: Factorize ask_with_timeout for a following commit.Anssi Hannula2011-04-172-12/+20
|
* service_harddrake: Adapt from bootsplash to plymouth.Anssi Hannula2011-04-172-7/+5
|
* - fixed header so msgfmt wont give any errorsOliver Burger2011-04-161-4/+3
|
* - any.pm: make it easier for rebranding by using %s magicAhmad Samir2011-04-0773-783/+1145
| | | | | - update po/pot files
* - s/Ldap/LDAP/ in the po/pot files manually so as not to fuzzy the strings ↵Ahmad Samir2011-04-0771-174/+174
| | | | unnecessarily
* - keep it "Hard drive detection", since the tree on the left in the installerAhmad Samir2011-04-071-2/+2
| | | | | is of limited width
* - s/can not/cannot/ manually in the po/pot files so as not the make the stringsAhmad Samir2011-04-07285-1456/+1456
| | | | | unnecessarily fuzzy (from Thierry Vignaud)
* New versionDexter Morgan2011-04-062-1/+5
|
* Fix function nameDexter Morgan2011-04-061-2/+2
|
* - revert 's,/boot partition,separate /boot partition,', .po/pot files shouldn'tAhmad Samir2011-04-0571-214/+214
| | | | | | be changed this way as this changes the meaning of the string and translators need to adapt the .po files themselves
* - 's!Just select your tv card parameters!Just select your TV card parameters!'Ahmad Samir2011-04-0472-73/+73
|
* - s/api/API/Ahmad Samir2011-04-0472-173/+173
|
* - perl -pi -e 's!trouble shoot!troubleshoot!'Ahmad Samir2011-04-0472-145/+145
|
* - perl -pi -e 's!you can pick one in the above list!you can pick one from ↵Ahmad Samir2011-04-0472-72/+72
| | | | the above list!'
* - perl -pi -e 's!For this, create a partition!To accomplish this, create a ↵Ahmad Samir2011-04-0472-72/+72
| | | | partition!'
* - perl -pi -e 's!"Search new servers"!"Search for new servers"!'Ahmad Samir2011-04-0472-72/+72
|
* - perl -pi -e 's!Something bad is happening on your drive!Something bad is ↵Ahmad Samir2011-04-0472-72/+72
| | | | happening on your hard disk drive!'
* - perl -pi -e 's!"Activate ethernet cards promiscuity check."!"Activate ↵Ahmad Samir2011-04-0472-72/+72
| | | | Ethernet cards promiscuity check."!'
* - perl -pi -e 's!Posix!POSIX!'Ahmad Samir2011-04-0472-88/+88
|
* - perl -pi -e 's!Hard drive!Hard disk drive!' (except install/steps_list.pm)Ahmad Samir2011-04-04216-439/+439
|
* - perl -pi -e 's!need to reboot before the modification can take ↵Ahmad Samir2011-04-0473-145/+145
| | | | | | | place"!"need to reboot before the modification can take effect"!' - perl -pi -e 's!"You need to reboot for the partition table modifications to take place"!"You need to reboot for the partition table modifications to take effect"!'
* - perl -pi -e 's!"All data on this partition should be backed-up"!"All data ↵Ahmad Samir2011-04-0472-72/+72
| | | | on this partition should be backed up"!'
* - perl -pi -e 's!"Check bad blocks\?"!"Check for bad blocks\?"!'Ahmad Samir2011-04-0473-74/+74
|
* - perl -pi -e 's!"Do you want to save /etc/fstab modifications"!"Do you want ↵Ahmad Samir2011-04-0472-72/+72
| | | | to save the /etc/fstab modifications?"!'
* - perl -pi -e 's!mountpoint!mount point!'Ahmad Samir2011-04-0473-73/+73
|
* - perl -pi -e 's!hard drive!hard disk drive!'Ahmad Samir2011-04-04