diff options
Diffstat (limited to 'move')
73 files changed, 0 insertions, 4051 deletions
diff --git a/move/.cvsignore b/move/.cvsignore deleted file mode 100644 index 0600e5070..000000000 --- a/move/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -runlevel_set -*.rdz -xwait -.perl_checker.cache diff --git a/move/Makefile b/move/Makefile deleted file mode 100644 index 7571c6e83..000000000 --- a/move/Makefile +++ /dev/null @@ -1,159 +0,0 @@ -DEST = /tmp -DEST_LIVETREE = $(DEST)/live_tree -DEST_STAGE2 = $(DEST_LIVETREE)/usr/lib/stage2 - -ISO = /tmp/mdkmove.iso - -DATA_FILES = devices symlinks directories-to-create etcfiles all-etcfiles keyfiles \ - BOOT-800-MOVE.jpg BOOT-1024-MOVE.jpg BOOT-1280-MOVE.jpg BOOT-1600-MOVE.jpg - -PROGRAM_FILES = etc-monitorer.pl tree/startkde_move tree/wait4x tree/netscape tree/alsa_default.pl -LANG_FILES = $(shell perl -ne 'print $$1 if /ALLOWED_LANGS = qw\((.*)\)/' move.pm) - -STAGE1 = ../mdk-stage1 -INSTALL = ../perl-install - -INSTALL_FILES = install2.pm install_steps.pm install_any.pm install_interactive.pm install_steps_gtk.pm install_steps_interactive.pm install_messages.pm install_gtk.pm - -ARCH := $(shell arch | egrep "(x86_64|sparc64|s390x)") -ifneq ("x$(ARCH)", "x") -LIB_NAME = lib64 -else -LIB_NAME = lib -endif - -.PHONY: iso - -default: install - -get_dest_livetree: - @echo -n $(DEST_LIVETREE) - -iso: build install live_tree_boot big_clps only_iso - - -build: stage1 xwait runlevel_set - $(MAKE) -C ../perl-install mo_files - -data/isolinux-graphic.bmp.parameters: data/isolinux-graphic.bmp - perl -I $(INSTALL) $(INSTALL)/standalone/draksplash2 --kernel isolinux/vmlinuz --initrd isolinux/all.rdz $< - -data/i18n_en.list: - cd data ; ./make_i18n_list $(DEST_LIVETREE) - -install: un_live_tree_boot data/i18n_en.list - sudo ./collect-directories-to-create.pl $(DEST_LIVETREE) > data/directories-to-create - sudo find $(DEST_LIVETREE)/etc -type f | perl -pe 's|$(DEST_LIVETREE)||' > data/all-etcfiles - - sudo cp -f $(STAGE1)/init-move $(DEST_LIVETREE)/sbin/init - - $(MAKE) -C ../perl-install/share/po install NAME=libDrakX DATADIR=$(DEST_LIVETREE)/usr/share - - sudo cp -f xwait $(DEST_LIVETREE)/usr/bin - sudo cp -f runlevel_set $(DEST_LIVETREE)/usr/bin - sudo cp -f runstage2 $(DEST_LIVETREE)/usr/bin/runstage2.pl - sudo rm -rf $(DEST_STAGE2) - sudo mkdir -p $(DEST_STAGE2) - sudo sh -c 'echo 1 > $(DEST_STAGE2)/help.pm' - sudo cp -f *.pm $(DEST_STAGE2) - sudo cp -f $(addprefix $(INSTALL)/, $(INSTALL_FILES)) $(DEST_STAGE2) - sudo cp -f $(PROGRAM_FILES) $(DEST_LIVETREE)/usr/bin - sudo rm -f $(DEST_LIVETREE)/usr/bin/{halt,reboot} #- symlinks to consolehelper - sudo cp -f tree/{halt,reboot} $(DEST_LIVETREE)/usr/bin - sudo cp -f tree/X_move $(DEST_LIVETREE)/usr/X11R6/bin - sudo cp -f tree/sound.initscript $(DEST_LIVETREE)/etc/init.d/sound - - sudo rm -rf $(DEST_LIVETREE)/usr/share/langs - sudo mkdir -p $(DEST_LIVETREE)/usr/share/langs - sudo cp -f $(INSTALL)/pixmaps/langs/lang-*.png $(DEST_LIVETREE)/usr/share/langs - - #- overwrite /usr/lib/libDrakX files of the live tree with those in CVS - (cd $(DEST_LIVETREE)/usr/lib/libDrakX ; find -name "*.pm") | egrep -v 'ctxhelp|drakfirsttime' | (cd $(INSTALL) ; sudo cpio -pLumd $(DEST_LIVETREE)/usr/lib/libDrakX/) - - #- overwrite stuff.so of drakxtools because it doesn't contain C_DRAKX stuff - sudo cp -f ../perl-install/c/blib/arch/auto/stuff/stuff.so $(DEST_LIVETREE)/usr/lib/libDrakX/auto/c/stuff - - #- overwrite MDK-Common -# sudo cp -f ../../soft/perl-MDK-Common/MDK/Common/*.pm $(DEST_LIVETREE)/usr/$(LIB_NAME)/perl5/vendor_perl/*/MDK/Common - - #- duplicated :( - sudo perl -pi -e 's/#[-+].*//; $$_ = "\n" if (/^=(head|begin)/ .. /^=cut/) || /use (diagnostics|vars|strict)/' $(DEST_STAGE2)/*.pm `find $(DEST_LIVETREE)/usr/lib/libDrakX -name "*.pm"` - - sudo mkdir -p $(DEST_LIVETREE)/move - sudo cp -f $(addprefix data/, $(DATA_FILES)) $(DEST_LIVETREE)/move - - sudo install -m 440 tree/sudoers $(DEST_LIVETREE)/etc - sudo install -m 644 tree/mdk_move_boot_loop.desktop $(DEST_LIVETREE)/usr/share/autostart - sudo install tree/{mdk_move_loop,mdk_totem,mdk_behind_totem} $(DEST_LIVETREE)/usr/bin - sudo install -m 644 -D tree/mdk_totem.desktop $(DEST_LIVETREE)/usr/share/apps/kdesktop/DesktopLinks/mdk_totem.desktop - sudo install -m 644 tree/{kdedrc,konsolerc} $(DEST_LIVETREE)/usr/share/config - sudo install -m 644 img/Mandrake.png $(DEST_LIVETREE)/usr/share/mdk/backgrounds - sudo install -m 644 img/FE* $(DEST_LIVETREE)/usr/share/wallpapers - - grep ChangeLog $(INSTALL)/CVS/Entries > /tmp/version - sudo cp -f /tmp/version $(DEST_LIVETREE)/usr/share/VERSION - -un_live_tree_boot: - sudo ./make_live_tree_boot -u $(DEST_LIVETREE) - sudo tools/fix-fc-cache.pl $(DEST_LIVETREE) - -live_tree_boot: - rm -f $(DEST)/live_tree*.clp - sudo ./make_live_tree_boot $(DEST_LIVETREE) - sudo tools/fix-fc-cache.pl $(DEST_LIVETREE) - $(MAKE) clps - -clps: - $(MAKE) $(DEST)/live_tree_always.clp - $(MAKE) $(DEST)/live_tree_boot.clp - $(MAKE) $(DEST)/live_tree_totem.clp - -$(MAKE) $(DEST)/live_tree_nvidia.clp - for i in en fr de it es; do $(MAKE) $(DEST)/live_tree_i18n_$$i.clp $(DEST)/live_tree_always_i18n_$$i.clp; done - -big_clps: - $(MAKE) $(DEST)/live_tree.clp - - -only_iso: - rm -rf $(DEST)/iso - mkdir $(DEST)/iso - cp -a isolinux $(DEST)/iso - rm -rf $(DEST)/iso/isolinux/CVS - - mv $(DEST)/*.clp $(DEST)/iso - - touch $(DEST)/iso/isolinux/boot.cat - find $(DEST)/iso/isolinux -type f -printf '%p 100\n' > $(DEST)/iso.sort ; echo '$(DEST)/iso/live_tree_boot.clp 5' >> $(DEST)/iso.sort -# download version: MOVE10DO -# complete version: MOVE10IN - mkisofs -r -J -hide-rr-moved -nobak -cache-inodes -publisher Mandrakesoft -V 'Move' -volset MOVE10IN -b isolinux/isolinux.bin -c isolinux/boot.cat -sort $(DEST)/iso.sort -no-emul-boot -boot-load-size 4 -boot-info-table -o $(ISO) $(DEST)/iso - mv $(DEST)/iso/*.clp $(DEST) - mkcd --addmd5 $(ISO) -# cdrecord -v -eject dev=0,0,0 blank=fast gracetime=2 speed=99 $(ISO) -# ftp://a:a@leia//BIG/mdkmove.iso - - -stage1: - cd $(STAGE1) && ADDITIONAL_DEFS="-DMANDRAKE_MOVE" MOVE=1 make dirs init stage1-full init-move - cd .. ; ./make_boot_img move - -xwait: %: %.c - $(CC) $(CFLAGS) $< -L/usr/X11R6/$(LIB_NAME) -lX11 -o $@ - -runlevel_set: %: %.c - $(CC) $(CFLAGS) $< -o $@ - -clean: - rm -f xwait - -%.clp: % - if [ -e $<.sort ]; then \ - sudo mkisofs -R -sort $<.sort $< | create_compressed_fs - 65536 $@ 2000 2>/dev/null ; \ - else \ - sudo mkisofs -R $< | create_compressed_fs - 65536 $@ 2000 2>/dev/null ; \ - fi - -check_dirs: - for i in `cat data/*.dirs`; do grep "^$$i/" data/*.list && echo "$$i"; done ||: - -# perl tools/busy-files-accesses --no-link --no-dir --full-dirs 'data/always.dirs data/boot.dirs data/totem.dirs' --already-have data/always.list diff --git a/move/collect-directories-to-create.pl b/move/collect-directories-to-create.pl deleted file mode 100755 index 7a5cfd283..000000000 --- a/move/collect-directories-to-create.pl +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/perl - -use strict; -use MDK::Common; - -#- there are programs/packages which fail when the directory -#- in which they try to write doesn't exist. better collect them -#- at build time so that drakx startup can create them. - -chdir $ARGV[0]; -foreach (`find etc var -type d`) { - chomp; - my @l = stat($_); - printf "%o %d %d %s\n", $l[2] & 07777, $l[4], $l[5], $_; -} diff --git a/move/data/.cvsignore b/move/data/.cvsignore deleted file mode 100644 index 1420fea7c..000000000 --- a/move/data/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -all-etcfiles -directories-to-create -i18n_*.list - diff --git a/move/data/BOOT-1024-MOVE.jpg b/move/data/BOOT-1024-MOVE.jpg Binary files differdeleted file mode 100644 index 819268432..000000000 --- a/move/data/BOOT-1024-MOVE.jpg +++ /dev/null diff --git a/move/data/BOOT-1280-MOVE.jpg b/move/data/BOOT-1280-MOVE.jpg Binary files differdeleted file mode 100644 index 705184942..000000000 --- a/move/data/BOOT-1280-MOVE.jpg +++ /dev/null diff --git a/move/data/BOOT-1600-MOVE.jpg b/move/data/BOOT-1600-MOVE.jpg Binary files differdeleted file mode 100644 index d96935f18..000000000 --- a/move/data/BOOT-1600-MOVE.jpg +++ /dev/null diff --git a/move/data/BOOT-800-MOVE.jpg b/move/data/BOOT-800-MOVE.jpg Binary files differdeleted file mode 100644 index 197c64e27..000000000 --- a/move/data/BOOT-800-MOVE.jpg +++ /dev/null diff --git a/move/data/always.dirs b/move/data/always.dirs deleted file mode 100644 index e69de29bb..000000000 --- a/move/data/always.dirs +++ /dev/null diff --git a/move/data/always.list b/move/data/always.list deleted file mode 100644 index 1ccb2f96d..000000000 --- a/move/data/always.list +++ /dev/null @@ -1,143 +0,0 @@ -/bin/bash -/bin/mount -/bin/umount -/etc/ld.so.cache -/etc/nsswitch.conf -/lib/ld-2.3.3.so -/lib/ld-linux.so.2 -/lib/libc-2.3.3.so -/lib/libc.so.6 -/lib/libdl-2.3.3.so -/lib/libdl.so.2 -/lib/libgcc_s-3.3.2.so.1 -/lib/libm-2.3.3.so -/lib/libm.so.6 -/lib/libnsl-2.3.3.so -/lib/libnss_dns-2.3.3.so -/lib/libnss_files-2.3.3.so -/lib/libnss_nis-2.3.3.so -/lib/libnss_nisplus-2.3.3.so -/lib/libpam.so.0.77 -/lib/libpam_misc.so.0.77 -/lib/libpopt.so.0.0.0 -/lib/libpthread-0.10.so -/lib/libpthread.so.0 -/lib/libresolv-2.3.3.so -/lib/librt-2.3.3.so -/lib/librt.so.1 -/lib/libtermcap.so.2 -/lib/libtermcap.so.2.0.8 -/lib/libthread_db-1.0.so -/lib/libutil-2.3.3.so -/lib/libz.so.1.2.1 -/lib/security/pam_console_apply_devfsd.so -/sbin/cardmgr -/sbin/devfsd -/sbin/init -/sbin/klogd -/sbin/losetup -/sbin/syslogd -/usr/X11R6/bin/XFree86 -/usr/X11R6/bin/X_move -/usr/X11R6/bin/xfs -/usr/X11R6/bin/xwait -/usr/X11R6/lib/X11/fonts/75dpi/helvB12-ISO8859-1.pcf.gz -/usr/X11R6/lib/X11/fonts/75dpi/helvB12.pcf.gz -/usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 -/usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 -/usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2 -/usr/X11R6/lib/libGL.so.1.2 -/usr/X11R6/lib/libICE.so.6.3 -/usr/X11R6/lib/libSM.so.6.0 -/usr/X11R6/lib/libX11.so.6.2 -/usr/X11R6/lib/libXcursor.so.1.0 -/usr/X11R6/lib/libXext.so.6.4 -/usr/X11R6/lib/libXfont.so.1.4 -/usr/X11R6/lib/libXft.so.2.1.1 -/usr/X11R6/lib/libXi.so.6.0 -/usr/X11R6/lib/libXinerama.so.1.0 -/usr/X11R6/lib/libXmu.so.6.2 -/usr/X11R6/lib/libXrandr.so.2.0 -/usr/X11R6/lib/libXrender.so.1.2.2 -/usr/X11R6/lib/libXss.so.1.0 -/usr/X11R6/lib/libXt.so.6.0 -/usr/X11R6/lib/libXtst.so.6.1 -/usr/X11R6/lib/libaudio.so.2.3 -/usr/bin/artsd -/usr/bin/dnotify -/usr/bin/eject -/usr/bin/kdeinit -/usr/bin/krandrtray -/usr/bin/kwrapper -/usr/bin/magicdev -/usr/bin/startkde -/usr/bin/startkde_move -/usr/bin/xwait -/usr/lib/gconv/ISO8859-1.so -/usr/lib/gconv/ISO8859-2.so -/usr/lib/gconv/ISO8859-15.so -/usr/lib/gtk-2.0/2.2.0/immodules/im-cedilla.so -/usr/lib/kde3/clock_panelapplet.so -/usr/lib/kde3/dcopserver.so -/usr/lib/kde3/kded.so -/usr/lib/kde3/kded_mountwatcher.so -/usr/lib/kde3/kio_devices.so -/usr/lib/kde3/kio_file.so -/usr/lib/kde3/klauncher.so -/usr/lib/kde3/kmix.so -/usr/lib/kde3/knotify.so -/usr/lib/kde3/konq_sound.so -/usr/lib/kde3/ksmserver.so -/usr/lib/kde3/kwin.so -/usr/lib/kde3/kwin3_mandrake2.so -/usr/lib/kde3/minipager_panelapplet.so -/usr/lib/kde3/plugins/styles/galaxy.so -/usr/lib/kde3/systemtray_panelapplet.so -/usr/lib/kde3/taskbar_panelapplet.so -/usr/lib/libDCOP.so.4.2.0 -/usr/lib/libart_lgpl_2.so.2.3.16 -/usr/lib/libartsflow.so.1.0.0 -/usr/lib/libartsflow_idl.so.1.0.0 -/usr/lib/libartskde.so.1.2.0 -/usr/lib/libasound.so.2.0.0 -/usr/lib/libaudiofile.so.0.0.2 -/usr/lib/libesd.so.0.2.32 -/usr/lib/libexpat.so.0.4.0 -/usr/lib/libfam.so.0.0.0 -/usr/lib/libfontconfig.so.1.0.4 -/usr/lib/libfreetype.so.6.3.5 -/usr/lib/libglib-2.0.so.0.200.3 -/usr/lib/libgmodule-2.0.so.0.200.3 -/usr/lib/libgthread-2.0.so.0.200.3 -/usr/lib/libjpeg.so.62.0.0 -/usr/lib/libkdecorations.so.1.0.0 -/usr/lib/libkdecore.so.4.2.0 -/usr/lib/libkdefx.so.4.2.0 -/usr/lib/libkdeinit_dcopserver.so -/usr/lib/libkdeinit_kded.so -/usr/lib/libkdeinit_klauncher.so -/usr/lib/libkdeinit_kmix.so -/usr/lib/libkdeinit_ksmserver.so -/usr/lib/libkdeinit_kwin.so -/usr/lib/libkdesu.so.4.2.0 -/usr/lib/libkdeui.so.4.2.0 -/usr/lib/libkio.so.4.2.0 -/usr/lib/libkmedia2_idl.so.1.0.0 -/usr/lib/libkonq.so.4.2.0 -/usr/lib/libkparts.so.2.1.0 -/usr/lib/libkutils.so.1.2.0 -/usr/lib/libmad.so.0.2.0 -/usr/lib/libmcop.so.1.0.0 -/usr/lib/libmng.so.1.0.0 -/usr/lib/libogg.so.0.5.0 -/usr/lib/libpng.so.3.1.2.5 -/usr/lib/libqtmcop.so.1.0.0 -/usr/lib/libsoundserver_idl.so.1.0.0 -/usr/lib/libstdc++.so.5.0.5 -/usr/lib/libtaskbar.so.1.2.0 -/usr/lib/libtaskmanager.so.1.0.0 -/usr/lib/libvorbis.so.0.3.0 -/usr/lib/libvorbisfile.so.3.1.0 -/usr/lib/qt3/lib/libqt-mt.so.3.2.3 -/usr/share/fonts/ttf/vera/Vera.ttf -/usr/share/fonts/ttf/vera/VeraBd.ttf diff --git a/move/data/always_i18n.list b/move/data/always_i18n.list deleted file mode 100644 index 5edba2713..000000000 --- a/move/data/always_i18n.list +++ /dev/null @@ -1,33 +0,0 @@ -/usr/share/locale/__LANG__/LC_ADDRESS -/usr/share/locale/__LANG__/LC_COLLATE -/usr/share/locale/__LANG__/LC_CTYPE -/usr/share/locale/__LANG__/LC_IDENTIFICATION -/usr/share/locale/__LANG__/LC_MEASUREMENT -/usr/share/locale/__LANG__/LC_MESSAGES/GConf2.mo -/usr/share/locale/__LANG__/LC_MESSAGES/SYS_LC_MESSAGES -/usr/share/locale/__LANG__/LC_MESSAGES/glib20.mo -/usr/share/locale/__LANG__/LC_MESSAGES/gtk20.mo -/usr/share/locale/__LANG__/LC_MESSAGES/kdelibs.mo -/usr/share/locale/__LANG__/LC_MESSAGES/kdesktop.mo -/usr/share/locale/__LANG__/LC_MESSAGES/khotkeys.mo -/usr/share/locale/__LANG__/LC_MESSAGES/kicker.mo -/usr/share/locale/__LANG__/LC_MESSAGES/kio.mo -/usr/share/locale/__LANG__/LC_MESSAGES/kio_devices.mo -/usr/share/locale/__LANG__/LC_MESSAGES/kmix.mo -/usr/share/locale/__LANG__/LC_MESSAGES/knotify.mo -/usr/share/locale/__LANG__/LC_MESSAGES/krandr.mo -/usr/share/locale/__LANG__/LC_MESSAGES/ksmserver.mo -/usr/share/locale/__LANG__/LC_MESSAGES/ktaskbarapplet.mo -/usr/share/locale/__LANG__/LC_MESSAGES/kwin.mo -/usr/share/locale/__LANG__/LC_MESSAGES/libgnomeui-2.0.mo -/usr/share/locale/__LANG__/LC_MESSAGES/libkonq.mo -/usr/share/locale/__LANG__/LC_MESSAGES/libxine1.mo -/usr/share/locale/__LANG__/LC_MESSAGES/magicdev.mo -/usr/share/locale/__LANG__/LC_MESSAGES/totem.mo -/usr/share/locale/__LANG__/LC_MONETARY -/usr/share/locale/__LANG__/LC_NAME -/usr/share/locale/__LANG__/LC_NUMERIC -/usr/share/locale/__LANG__/LC_PAPER -/usr/share/locale/__LANG__/LC_TELEPHONE -/usr/share/locale/__LANG__/LC_TIME -/usr/share/services/ksycoca-__LANG__ diff --git a/move/data/boot.dirs b/move/data/boot.dirs deleted file mode 100644 index c6c43e7db..000000000 --- a/move/data/boot.dirs +++ /dev/null @@ -1,39 +0,0 @@ -/etc/X11/fs -/etc/X11/xserver -/etc/dynamic/hooks -/etc/pango -/etc/profile.d -/lib/modutils -/usr/X11R6/lib/X11/locale/C -/usr/X11R6/lib/modules/drivers/linux -/usr/lib/libDrakX/Xconfig -/usr/lib/libDrakX/auto/c -/usr/lib/libDrakX/auto/xf86misc -/usr/lib/libDrakX/c -/usr/lib/libDrakX/printer -/usr/lib/libDrakX/sbus_probing -/usr/lib/libDrakX/xf86misc -/usr/lib/perl5/5.8.3/Exporter -/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE -/usr/lib/perl5/5.8.3/i386-linux-thread-multi/File -/usr/lib/perl5/5.8.3/i386-linux-thread-multi/auto/File -/usr/lib/perl5/5.8.3/i386-linux-thread-multi/auto/Socket -/usr/lib/perl5/5.8.3/warnings -/usr/lib/perl5/vendor_perl/5.8.3/MDK -/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/Gtk2/Gdk -/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/auto/Glib -/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/auto/Gtk2 -/usr/lib/stage2 -/usr/share/applnk-mdk -/usr/share/apps/kconf_update -/usr/share/apps/kdisplay/app-defaults -/usr/share/apps/khtml/css -/usr/share/apps/knotify -/usr/share/autostart -/usr/share/icons/default -/usr/share/langs -/usr/share/mimelnk -/usr/share/services/kaddressbook -/usr/share/servicetypes -/usr/share/themes/Default/gtk-2.0 -/usr/share/themes/Galaxy/gtk-2.0 diff --git a/move/data/boot.list b/move/data/boot.list deleted file mode 100644 index 7919509cc..000000000 --- a/move/data/boot.list +++ /dev/null @@ -1,879 +0,0 @@ -/bin/basename -/bin/cat -/bin/chmod -/bin/chown -/bin/cp -/bin/cut -/bin/date -/bin/egrep -/bin/env -/bin/gawk -/bin/gettext -/bin/grep -/bin/gunzip -/bin/hostname -/bin/id -/bin/loadkeys -/bin/mkdir -/bin/mktemp -/bin/mv -/bin/rm -/bin/sed -/bin/sort -/bin/touch -/bin/true -/bin/uname -/etc/DIR_COLORS -/etc/X11/Xresources -/etc/X11/Xsession -/etc/X11/fs -/etc/X11/wmsession.d/01KDE -/etc/X11/wmsession.d/07IceWM -/etc/X11/xdm/Xsession -/etc/X11/xinit.d/Mod_Meta_L_Disable -/etc/X11/xinit.d/menu -/etc/X11/xinit.d/mountloop -/etc/X11/xinit.d/numlock -/etc/X11/xinit/XIM -/etc/X11/xinit/fixkeyboard -/etc/X11/xkb/compat/accessx -/etc/X11/xkb/compat/basic -/etc/X11/xkb/compat/complete -/etc/X11/xkb/compat/iso9995 -/etc/X11/xkb/compat/misc -/etc/X11/xkb/compat/mousekeys -/etc/X11/xkb/compat/xfree86 -/etc/X11/xkb/geometry/pc -/etc/X11/xkb/keycodes/aliases -/etc/X11/xkb/keycodes/xfree86 -/etc/X11/xkb/rules/xfree86 -/etc/X11/xkb/rules/xfree86.lst -/etc/X11/xkb/symbols/en_US -/etc/X11/xkb/symbols/gb -/etc/X11/xkb/symbols/iso9995-3 -/etc/X11/xkb/symbols/srvr_ctrl -/etc/X11/xkb/symbols/us -/etc/X11/xkb/types/basic -/etc/X11/xkb/types/complete -/etc/X11/xkb/types/extra -/etc/X11/xkb/types/iso9995 -/etc/X11/xkb/types/mousekeys -/etc/X11/xkb/types/pc -/etc/X11/xkb/xkbcomp -/etc/X11/xserver -/etc/bash_completion -/etc/bash_completion.d/netprofile -/etc/bash_completion.d/urpmi -/etc/bashrc -/etc/cups/classes.conf -/etc/cups/client.conf -/etc/cups/command.types -/etc/cups/cupsd.conf -/etc/cups/mime.convs -/etc/cups/mime.types -/etc/cups/printers.conf -/etc/cups/pstoraster.convs -/etc/devfs/conf.d/dynamic.conf -/etc/devfsd.conf -/etc/dynamic/hooks -/etc/dynamic/scripts/functions.script -/etc/dynamic/scripts/lp.script -/etc/dynamic/scripts/part.script -/etc/filesystems -/etc/fonts/fonts.conf -/etc/fonts/local.conf -/etc/group -/etc/gtk-2.0/gdk-pixbuf.loaders -/etc/gtk-2.0/gtk.immodules -/etc/hotplug.d/default/default.hotplug -/etc/hotplug/hotplug.functions -/etc/imrc -/etc/initlog.conf -/etc/inputrc -/etc/localtime -/etc/mandrake-release -/etc/modprobe.devfs -/etc/pam.d/other -/etc/pam.d/sudo -/etc/pam.d/system-auth -/etc/pam.d/xserver -/etc/pango -/etc/passwd -/etc/profile -/etc/profile.d -/etc/rc.d/init.d/functions -/etc/rc.d/init.d/mandrake_consmap -/etc/rc.d/init.d/netfs -/etc/rc.d/init.d/numlock -/etc/rc.d/init.d/sound -/etc/rc.d/init.d/syslog -/etc/rc.d/init.d/xfs -/etc/rc.d/rc.local -/etc/rpc -/etc/security/console.perms -/etc/security/fileshare.conf -/etc/security/pam_env.conf -/etc/services -/etc/sudoers -/etc/syslog.conf -/etc/termcap -/etc/tmdns.conf -/etc/xdg/menus/applications-merged-simplified/applications-simplified-configure.menu -/etc/xdg/menus/applications-simplified.menu -/etc/xdg/menus/kontact.menu -/etc/xdg/menus/mdk-configure-kde.menu -/lib/libblkid.so.1.0 -/lib/libcom_err.so.2.1 -/lib/libcrypt-2.3.3.so -/lib/libe2p.so.2.3 -/lib/libext2fs.so.2.4 -/lib/libintl.so.2.4.1 -/lib/libpcre.so.0.0.1 -/lib/libproc.so.3.1.15 -/lib/libuuid.so.1.2 -/lib/module-init-tools/modprobe.compat -/lib/module-init-tools/modprobe.default -/lib/security/pam_console.so -/lib/security/pam_cracklib.so -/lib/security/pam_deny.so -/lib/security/pam_env.so -/lib/security/pam_limits.so -/lib/security/pam_permit.so -/lib/security/pam_rootok.so -/lib/security/pam_stack.so -/lib/security/pam_unix.so -/move/BOOT-800-MOVE.jpg -/move/all-etcfiles -/move/directories-to-create -/move/etcfiles -/sbin/chkconfig -/sbin/consoletype -/sbin/generate-modprobe.conf -/sbin/hotplug -/sbin/initlog -/sbin/mkdosfs -/sbin/mke2fs -/sbin/modprobe-25 -/sbin/pam_console_apply -/sbin/rmmod-25 -/sbin/runlevel -/sbin/service -/sbin/sysctl -/usr/X11R6/bin/Xwrapper -/usr/X11R6/bin/enable_X11_numlock -/usr/X11R6/bin/iceauth -/usr/X11R6/bin/setxkbmap -/usr/X11R6/bin/xdpyinfo -/usr/X11R6/bin/xmodmap -/usr/X11R6/bin/xrdb -/usr/X11R6/bin/xset -/usr/X11R6/bin/xsetroot -/usr/X11R6/lib/X11/XErrorDB -/usr/X11R6/lib/X11/XKeysymDB -/usr/X11R6/lib/X11/locale/C -/usr/X11R6/lib/X11/locale/compose.dir -/usr/X11R6/lib/X11/locale/iso8859-1/Compose -/usr/X11R6/lib/X11/locale/iso8859-1/XI18N_OBJS -/usr/X11R6/lib/X11/locale/iso8859-1/XLC_LOCALE -/usr/X11R6/lib/X11/locale/locale.alias -/usr/X11R6/lib/X11/locale/locale.dir -/usr/X11R6/lib/X11/rgb.txt -/usr/X11R6/lib/libXm.so.2.0.1 -/usr/X11R6/lib/libXmuu.so.1.0 -/usr/X11R6/lib/libXp.so.6.2 -/usr/X11R6/lib/libXxf86misc.so.1.0 -/usr/X11R6/lib/libXxf86vm.so.1.0 -/usr/X11R6/lib/modules/drivers/linux -/usr/X11R6/lib/modules/fonts/libbitmap.a -/usr/X11R6/lib/modules/fonts/libfreetype.a -/usr/X11R6/lib/modules/fonts/libtype1.a -/usr/X11R6/lib/modules/input/mouse_drv.o -/usr/X11R6/lib/modules/libfb.a -/usr/X11R6/lib/modules/libpcidata.a -/usr/X11R6/lib/modules/libramdac.a -/usr/X11R6/lib/modules/libvgahw.a -/usr/bin/cpp-3.3.2 -/usr/bin/dcopserver_shutdown -/usr/bin/dircolors -/usr/bin/dumpkeys -/usr/bin/expr -/usr/bin/getent -/usr/bin/head -/usr/bin/kab2kabc -/usr/bin/killall -/usr/bin/krootwarning -/usr/bin/ksplash -/usr/bin/lnusertemp -/usr/bin/locale -/usr/bin/mandrakegalaxy -/usr/bin/mandrakegalaxy.real -/usr/bin/mdk_move_loop -/usr/bin/nspluginscan -/usr/bin/perl5.8.3 -/usr/bin/qiv -/usr/bin/runlevel_set -/usr/bin/runstage2.pl -/usr/bin/setleds -/usr/bin/sperl5.8.3 -/usr/bin/sudo -/usr/bin/test-windows-key -/usr/bin/tr -/usr/bin/tty -/usr/bin/wait4x -/usr/bin/which -/usr/bin/whoami -/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.2/cc1 -/usr/lib/gconv/gconv-modules -/usr/lib/gtk-2.0/2.2.0/engines/libgalaxy.so -/usr/lib/gtk-2.0/2.2.0/loaders/libpixbufloader-png.so -/usr/lib/kbd/consolefonts/lat0-16.psf.gz -/usr/lib/kbd/consoletrans/iso15.acm.gz -/usr/lib/kbd/consoletrans/iso15.sfm.gz -/usr/lib/kde3/clock_panelapplet.la -/usr/lib/kde3/dcopserver.la -/usr/lib/kde3/kabc_file.la -/usr/lib/kde3/kabc_file.so -/usr/lib/kde3/kbuildsycoca.la -/usr/lib/kde3/kbuildsycoca.so -/usr/lib/kde3/kcm_access.la -/usr/lib/kde3/kcm_access.so -/usr/lib/kde3/kcm_arts.la -/usr/lib/kde3/kcm_arts.so -/usr/lib/kde3/kcm_bell.la -/usr/lib/kde3/kcm_bell.so -/usr/lib/kde3/kcm_energy.la -/usr/lib/kde3/kcm_energy.so -/usr/lib/kde3/kcm_input.la -/usr/lib/kde3/kcm_input.so -/usr/lib/kde3/kcm_keyboard.la -/usr/lib/kde3/kcm_keyboard.so -/usr/lib/kde3/kcm_keys.la -/usr/lib/kde3/kcm_keys.so -/usr/lib/kde3/kcm_kgamma.la -/usr/lib/kde3/kcm_kgamma.so -/usr/lib/kde3/kcm_kmix.la -/usr/lib/kde3/kcm_kmix.so -/usr/lib/kde3/kcm_nsplugins.la -/usr/lib/kde3/kcm_nsplugins.so -/usr/lib/kde3/kcm_randr.la -/usr/lib/kde3/kcm_randr.so -/usr/lib/kde3/kcm_style.la -/usr/lib/kde3/kcm_style.so -/usr/lib/kde3/kcminit.la -/usr/lib/kde3/kcminit.so -/usr/lib/kde3/kconf_update.la -/usr/lib/kde3/kconf_update.so -/usr/lib/kde3/kded.la -/usr/lib/kde3/kded_mountwatcher.la -/usr/lib/kde3/kdesktop.la -/usr/lib/kde3/kgreet_classic.la -/usr/lib/kde3/kgreet_classic.so -/usr/lib/kde3/kicker.la -/usr/lib/kde3/kio_devices.la -/usr/lib/kde3/kio_file.la -/usr/lib/kde3/klauncher.la -/usr/lib/kde3/knotify.la -/usr/lib/kde3/konq_sound.la -/usr/lib/kde3/ksmserver.la -/usr/lib/kde3/ksplashmdk.la -/usr/lib/kde3/ksplashmdk.so -/usr/lib/kde3/kwin.la -/usr/lib/kde3/kwin3_mandrake2.la -/usr/lib/kde3/minipager_panelapplet.la -/usr/lib/kde3/systemtray_panelapplet.la -/usr/lib/kde3/taskbar_panelapplet.la -/usr/lib/krandrinithack.la -/usr/lib/krandrinithack.so -/usr/lib/libDrakX/Xconfig -/usr/lib/libDrakX/any.pm -/usr/lib/libDrakX/auto/c -/usr/lib/libDrakX/auto/xf86misc -/usr/lib/libDrakX/c -/usr/lib/libDrakX/c.pm -/usr/lib/libDrakX/class_discard.pm -/usr/lib/libDrakX/commands.pm -/usr/lib/libDrakX/common.pm -/usr/lib/libDrakX/detect_devices.pm -/usr/lib/libDrakX/devices.pm -/usr/lib/libDrakX/do_pkgs.pm -/usr/lib/libDrakX/fs.pm -/usr/lib/libDrakX/fsedit.pm -/usr/lib/libDrakX/handle_configs.pm -/usr/lib/libDrakX/harddrake/sound.pm -/usr/lib/libDrakX/interactive.pm -/usr/lib/libDrakX/interactive/gtk.pm -/usr/lib/libDrakX/keyboard.pm -/usr/lib/libDrakX/lang.pm -/usr/lib/libDrakX/list_modules.pm -/usr/lib/libDrakX/log.pm -/usr/lib/libDrakX/loopback.pm -/usr/lib/libDrakX/modules.pm -/usr/lib/libDrakX/modules/interactive.pm -/usr/lib/libDrakX/mouse.pm -/usr/lib/libDrakX/network/network.pm -/usr/lib/libDrakX/network/tools.pm -/usr/lib/libDrakX/partition_table.pm -/usr/lib/libDrakX/partition_table/dos.pm -/usr/lib/libDrakX/partition_table/empty.pm -/usr/lib/libDrakX/partition_table/raw.pm -/usr/lib/libDrakX/printer -/usr/lib/libDrakX/run_program.pm -/usr/lib/libDrakX/sbus_probing -/usr/lib/libDrakX/services.pm -/usr/lib/libDrakX/steps.pm -/usr/lib/libDrakX/swap.pm -/usr/lib/libDrakX/timezone.pm -/usr/lib/libDrakX/ugtk2.pm -/usr/lib/libDrakX/xf86misc -/usr/lib/libatk-1.0.so.0.400.1 -/usr/lib/libbeecrypt.so.6.2.0 -/usr/lib/libbz2.so.1.0.0 -/usr/lib/libconsole.so.0.0.0 -/usr/lib/libcrack.so.2.7 -/usr/lib/libctutils.so.0.0.0 -/usr/lib/libelf-0.89.so -/usr/lib/libgdk-1.2.so.0.9.1 -/usr/lib/libgdk-x11-2.0.so.0.200.4 -/usr/lib/libgdk_imlib.so.1.9.14 -/usr/lib/libgdk_pixbuf-2.0.so.0.200.4 -/usr/lib/libglib-1.2.so.0.0.10 -/usr/lib/libgmodule-1.2.so.0.0.10 -/usr/lib/libgobject-2.0.so.0.200.3 -/usr/lib/libgtk-1.2.so.0.9.1 -/usr/lib/libgtk-x11-2.0.so.0.200.4 -/usr/lib/libimlib-jpeg.so -/usr/lib/libkabc.so.1.2.0 -/usr/lib/libkabc_file.so.1.0.0 -/usr/lib/libkdeinit_kbuildsycoca.so -/usr/lib/libkdeinit_kcminit.so -/usr/lib/libkdeinit_kconf_update.so -/usr/lib/libkdeprint.so.4.2.0 -/usr/lib/libkhtml.so.4.2.0 -/usr/lib/libkjs.so.1.2.0 -/usr/lib/libkmid.so.0.0.95 -/usr/lib/libkonq.la -/usr/lib/libkresources.so.1.2.0 -/usr/lib/libksplashthemes.so.0.0.0 -/usr/lib/libkwalletclient.so.1.0.0 -/usr/lib/libpango-1.0.so.0.200.5 -/usr/lib/libpangox-1.0.so.0.200.5 -/usr/lib/libpangoxft-1.0.so.0.200.5 -/usr/lib/libpcreposix.so.0.0.0 -/usr/lib/libpng12.so.0.1.2.5 -/usr/lib/librpm-4.2.so -/usr/lib/librpmdb-4.2.so -/usr/lib/librpmio-4.2.so -/usr/lib/libvcard.so.0.0.0 -/usr/lib/libxine.so.1.8.1 -/usr/lib/pango/1.2.0/modules/pango-basic-xft.so -/usr/lib/perl5/5.8.3/AutoLoader.pm -/usr/lib/perl5/5.8.3/Carp.pm -/usr/lib/perl5/5.8.3/Digest/base.pm -/usr/lib/perl5/5.8.3/Exporter -/usr/lib/perl5/5.8.3/Exporter.pm -/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE -/usr/lib/perl5/5.8.3/i386-linux-thread-multi/Config.pm -/usr/lib/perl5/5.8.3/i386-linux-thread-multi/Digest/MD5.pm -/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm -/usr/lib/perl5/5.8.3/i386-linux-thread-multi/File -/usr/lib/perl5/5.8.3/i386-linux-thread-multi/Socket.pm -/usr/lib/perl5/5.8.3/i386-linux-thread-multi/XSLoader.pm -/usr/lib/perl5/5.8.3/i386-linux-thread-multi/_h2ph_pre.ph -/usr/lib/perl5/5.8.3/i386-linux-thread-multi/asm/unistd.ph -/usr/lib/perl5/5.8.3/i386-linux-thread-multi/auto/Digest/MD5/MD5.so -/usr/lib/perl5/5.8.3/i386-linux-thread-multi/auto/File -/usr/lib/perl5/5.8.3/i386-linux-thread-multi/auto/Socket -/usr/lib/perl5/5.8.3/i386-linux-thread-multi/bits/syscall.ph -/usr/lib/perl5/5.8.3/i386-linux-thread-multi/lib.pm -/usr/lib/perl5/5.8.3/i386-linux-thread-multi/sys/syscall.ph -/usr/lib/perl5/5.8.3/i386-linux-thread-multi/syscall.ph -/usr/lib/perl5/5.8.3/overload.pm -/usr/lib/perl5/5.8.3/strict.pm -/usr/lib/perl5/5.8.3/vars.pm -/usr/lib/perl5/5.8.3/warnings -/usr/lib/perl5/5.8.3/warnings.pm -/usr/lib/perl5/vendor_perl/5.8.3/MDK -/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/Glib.pm -/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/Gtk2.pm -/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/Gtk2/Gdk -/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/auto/Glib -/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/auto/Gtk2 -/usr/lib/stage2 -/usr/sbin/chksession -/usr/sbin/ddcxinfos -/usr/sbin/fileshareset -/usr/sbin/update-alternatives -/usr/share/application-registry/gnome-vfs.applications -/usr/share/applnk-mdk -/usr/share/applnk-mdk-simplified/.hidden/.directory -/usr/share/applnk-mdk-simplified/.hidden/kontact-summary.desktop -/usr/share/applnk-mdk-simplified/Administer your system/.directory -/usr/share/applnk-mdk-simplified/Administer your system/Configure your computer.desktop -/usr/share/applnk-mdk-simplified/Administer your system/KControl.desktop -/usr/share/applnk-mdk-simplified/Administer your system/KFloppy.desktop -/usr/share/applnk-mdk-simplified/Administer your system/ark.desktop -/usr/share/applnk-mdk-simplified/Administer your system/kdepasswd.desktop -/usr/share/applnk-mdk-simplified/Administer your system/konsole.desktop -/usr/share/applnk-mdk-simplified/Enjoy music and video/.directory -/usr/share/applnk-mdk-simplified/Enjoy music and video/Listen to music files.desktop -/usr/share/applnk-mdk-simplified/Enjoy music and video/Mix music.desktop -/usr/share/applnk-mdk-simplified/Enjoy music and video/Record sounds.desktop -/usr/share/applnk-mdk-simplified/Enjoy music and video/Watch television.desktop -/usr/share/applnk-mdk-simplified/Enjoy music and video/Watch videos.desktop -/usr/share/applnk-mdk-simplified/Enjoy music and video/kdenlive.desktop -/usr/share/applnk-mdk-simplified/Enjoy music and video/kmix.desktop -/usr/share/applnk-mdk-simplified/Organize/.directory -/usr/share/applnk-mdk-simplified/Organize/Manage projects.desktop -/usr/share/applnk-mdk-simplified/Organize/Manage your finances.desktop -/usr/share/applnk-mdk-simplified/Organize/karm.desktop -/usr/share/applnk-mdk-simplified/Organize/kontact-knotes.desktop -/usr/share/applnk-mdk-simplified/Organize/kontact-korganizer-time.desktop -/usr/share/applnk-mdk-simplified/Organize/kontact-korganizer.desktop -/usr/share/applnk-mdk-simplified/Play games/.directory -/usr/share/applnk-mdk-simplified/Play games/ArmageTron.desktop -/usr/share/applnk-mdk-simplified/Play games/Cannon Smash.desktop -/usr/share/applnk-mdk-simplified/Play games/Chromium.desktop -/usr/share/applnk-mdk-simplified/Play games/Crack Attack! - Solo.desktop -/usr/share/applnk-mdk-simplified/Play games/Frozen-Bubble.desktop -/usr/share/applnk-mdk-simplified/Play games/LBreakout 2.desktop -/usr/share/applnk-mdk-simplified/Play games/Tuxracer.desktop -/usr/share/applnk-mdk-simplified/Surf the Internet/.directory -/usr/share/applnk-mdk-simplified/Surf the Internet/Kppp.desktop -/usr/share/applnk-mdk-simplified/Surf the Internet/Organize a video conference.desktop -/usr/share/applnk-mdk-simplified/Surf the Internet/kbear.desktop -/usr/share/applnk-mdk-simplified/Surf the Internet/konqueror.desktop -/usr/share/applnk-mdk-simplified/Surf the Internet/kontact-KMail.desktop -/usr/share/applnk-mdk-simplified/Surf the Internet/kontact-KNode.desktop -/usr/share/applnk-mdk-simplified/Surf the Internet/kopete.desktop -/usr/share/applnk-mdk-simplified/Use office tools/.directory -/usr/share/applnk-mdk-simplified/Use office tools/Create a drawing.desktop -/usr/share/applnk-mdk-simplified/Use office tools/Create a presentation.desktop -/usr/share/applnk-mdk-simplified/Use office tools/Create a spreadsheet.desktop -/usr/share/applnk-mdk-simplified/Use office tools/Create a text document.desktop -/usr/share/applnk-mdk-simplified/Use office tools/Create flowcharts and diagrams.desktop -/usr/share/applnk-mdk-simplified/Use office tools/kcalc.desktop -/usr/share/applnk-mdk-simplified/Use office tools/kdeprintfax.desktop -/usr/share/applnk-mdk-simplified/Use office tools/kdict.desktop -/usr/share/applnk-mdk-simplified/Use office tools/kfax.desktop -/usr/share/applnk-mdk-simplified/Use office tools/kontact-kaddressbook.desktop -/usr/share/applnk-mdk-simplified/View, modify and create graphics/.directory -/usr/share/applnk-mdk-simplified/View, modify and create graphics/Edit images and photos.desktop -/usr/share/applnk-mdk-simplified/View, modify and create graphics/View images and photos.desktop -/usr/share/applnk-mdk-simplified/View, modify and create graphics/kimdaba.desktop -/usr/share/applnk-mdk-simplified/View, modify and create graphics/kooka.desktop -/usr/share/applnk-mdk-simplified/View, modify and create graphics/ksnapshot.desktop -/usr/share/apps/kabc/formats/binary.desktop -/usr/share/apps/kconf_update -/usr/share/apps/kdesktop/directory.autostart -/usr/share/apps/kdesktop/directory.desktop -/usr/share/apps/kdesktop/directory.trash -/usr/share/apps/kdisplay/app-defaults -/usr/share/apps/khtml/css -/usr/share/apps/khtml/khtml.rc -/usr/share/apps/khtml/khtml_popupmenu.rc -/usr/share/apps/kicker/applets/clockapplet.desktop -/usr/share/apps/kicker/applets/minipagerapplet.desktop -/usr/share/apps/kicker/applets/systemtrayapplet.desktop -/usr/share/apps/kicker/applets/taskbarapplet.desktop -/usr/share/apps/kicker/default-download-apps-simplified -/usr/share/apps/kicker/pics/disk1.png -/usr/share/apps/kicker/pics/disk10.png -/usr/share/apps/kicker/pics/disk2.png -/usr/share/apps/kicker/pics/disk3.png -/usr/share/apps/kicker/pics/disk4.png -/usr/share/apps/kicker/pics/disk5.png -/usr/share/apps/kicker/pics/disk6.png -/usr/share/apps/kicker/pics/disk7.png -/usr/share/apps/kicker/pics/disk8.png -/usr/share/apps/kicker/pics/disk9.png -/usr/share/apps/knotify -/usr/share/apps/kwin/eventsrc -/usr/share/autostart -/usr/share/config/kcmdisplayrc -/usr/share/config/kcookiejarrc -/usr/share/config/kdebug.areas -/usr/share/config/kdebugrc -/usr/share/config/kdedrc -/usr/share/config/kdeglobals -/usr/share/config/kdeprintrc -/usr/share/config/kdesktoprc -/usr/share/config/kdm/kdmrc -/usr/share/config/khotkeysrc -/usr/share/config/kickerrc -/usr/share/config/klipperrc -/usr/share/config/konquerorrc -/usr/share/config/konsolerc -/usr/share/config/krootwarningrc -/usr/share/config/kwritedrc -/usr/share/config/mountwatcher.desktop -/usr/share/icons/crystalsvg/16x16/apps/desktop-mdk.png -/usr/share/icons/crystalsvg/16x16/apps/kicker.png -/usr/share/icons/crystalsvg/16x16/apps/konqueror.png -/usr/share/icons/crystalsvg/16x16/apps/kontact-mdk.png -/usr/share/icons/crystalsvg/16x16/apps/ksplash.png -/usr/share/icons/crystalsvg/16x16/apps/mandrakegalaxy.png -/usr/share/icons/crystalsvg/16x16/apps/menuk-mdk.png -/usr/share/icons/crystalsvg/16x16/mimetypes/unknown.png -/usr/share/icons/crystalsvg/32x32/apps/desktop-mdk.png -/usr/share/icons/crystalsvg/32x32/apps/konqueror.png -/usr/share/icons/crystalsvg/32x32/apps/kontact-mdk.png -/usr/share/icons/crystalsvg/32x32/apps/ksplash.png -/usr/share/icons/crystalsvg/32x32/apps/mandrakegalaxy.png -/usr/share/icons/crystalsvg/32x32/apps/menuk-mdk.png -/usr/share/icons/crystalsvg/32x32/apps/xapp.png -/usr/share/icons/crystalsvg/32x32/devices/3floppy_mount.png -/usr/share/icons/crystalsvg/32x32/devices/cdrom_mount.png -/usr/share/icons/crystalsvg/32x32/filesystems/trashcan_empty.png -/usr/share/icons/crystalsvg/index.theme -/usr/share/icons/default -/usr/share/icons/hicolor/32x32/apps/ooo_writer.xpm -/usr/share/icons/hicolor/index.theme -/usr/share/icons/totem.png -/usr/share/icons/wilbur.png -/usr/share/langs -/usr/share/ldetect-lst/Cards+ -/usr/share/ldetect-lst/MonitorsDB -/usr/share/ldetect-lst/pcitable -/usr/share/ldetect-lst/usbtable -/usr/share/mdk/backgrounds/Mandrake.png -/usr/share/mdk/faces/ic-tux1.png -/usr/share/mdk/kde/bookmarks/bookmarks-download.xml -/usr/share/mdk/mandrakegalaxy/doc.png -/usr/share/mdk/mandrakegalaxy/mcc.png -/usr/share/mdk/mandrakegalaxy/mdkclub.png -/usr/share/mdk/mandrakegalaxy/mdkexpert.png -/usr/share/mdk/mandrakegalaxy/mdkgalaxy-en.html -/usr/share/mdk/mandrakegalaxy/mdksoft.png -/usr/share/mdk/mandrakegalaxy/mdkstore.png -/usr/share/mimelnk -/usr/share/services/about.protocol -/usr/share/services/ar.protocol -/usr/share/services/ark_part.desktop -/usr/share/services/audiocd.protocol -/usr/share/services/bmp.kimgio -/usr/share/services/bzip.protocol -/usr/share/services/bzip2.protocol -/usr/share/services/cgi.protocol -/usr/share/services/chatwindow.desktop -/usr/share/services/configcolors.desktop -/usr/share/services/configfonts.desktop -/usr/share/services/configfreebusy.desktop -/usr/share/services/configgroupautomation.desktop -/usr/share/services/configgroupscheduling.desktop -/usr/share/services/configmain.desktop -/usr/share/services/configtime.desktop -/usr/share/services/configviews.desktop -/usr/share/services/cursorthumbnail.desktop -/usr/share/services/data.protocol -/usr/share/services/devices.protocol -/usr/share/services/djvuthumbnail.desktop -/usr/share/services/eps.kimgio -/usr/share/services/file.protocol -/usr/share/services/finger.protocol -/usr/share/services/fish.protocol -/usr/share/services/floppy.protocol -/usr/share/services/fonts.protocol -/usr/share/services/fontthumbnail.desktop -/usr/share/services/ftp.protocol -/usr/share/services/ghelp.protocol -/usr/share/services/gif.kimgio -/usr/share/services/gsthumbnail.desktop -/usr/share/services/gzip.protocol -/usr/share/services/help.protocol -/usr/share/services/htmlthumbnail.desktop -/usr/share/services/http.protocol -/usr/share/services/http_cache_cleaner.desktop -/usr/share/services/https.protocol -/usr/share/services/ico.kimgio -/usr/share/services/imagethumbnail.desktop -/usr/share/services/imap4.protocol -/usr/share/services/imaps.protocol -/usr/share/services/info.protocol -/usr/share/services/jpeg.kimgio -/usr/share/services/kabconfig.desktop -/usr/share/services/kabldapconfig.desktop -/usr/share/services/kaccess.desktop -/usr/share/services/kaddressbook -/usr/share/services/kamera.protocol -/usr/share/services/katedefaultproject.desktop -/usr/share/services/katepart.desktop -/usr/share/services/kbearftp.protocol -/usr/share/services/kbeargftimportfilter.desktop -/usr/share/services/kbearkrusaderimportfilter.desktop -/usr/share/services/kbearncftpimportfilter.desktop -/usr/share/services/kbearoldimportfilter.desktop -/usr/share/services/kbearwincommanderimportfilter.desktop -/usr/share/services/kbearws_ftpimportfilter.desktop -/usr/share/services/kbzip2filter.desktop -/usr/share/services/kcertpart.desktop -/usr/share/services/kcmweather.desktop -/usr/share/services/kcmweatherservice.desktop -/usr/share/services/kconfiguredialog/kopete_autoreplace_config.desktop -/usr/share/services/kconfiguredialog/kopete_cryptography_config.desktop -/usr/share/services/kconfiguredialog/kopete_highlight_config.desktop -/usr/share/services/kconfiguredialog/kopete_history_config.desktop -/usr/share/services/kconfiguredialog/kopete_msn_config.desktop -/usr/share/services/kconfiguredialog/kopete_nowlistening_config.desktop -/usr/share/services/kconfiguredialog/kopete_texteffect_config.desktop -/usr/share/services/kconfiguredialog/kopete_translator_config.desktop -/usr/share/services/kconfiguredialog/kopete_webpresence_config.desktop -/usr/share/services/kded/favicons.desktop -/usr/share/services/kded/kcookiejar.desktop -/usr/share/services/kded/kdeprintd.desktop -/usr/share/services/kded/konqy_preloader.desktop -/usr/share/services/kded/kpasswdserver.desktop -/usr/share/services/kded/kssld.desktop -/usr/share/services/kded/kwalletd.desktop -/usr/share/services/kded/mountwatcher.desktop -/usr/share/services/kded/proxyscout.desktop -/usr/share/services/kdeprint_part.desktop -/usr/share/services/kfile_au.desktop -/usr/share/services/kfile_avi.desktop -/usr/share/services/kfile_bmp.desktop -/usr/share/services/kfile_dvi.desktop -/usr/share/services/kfile_font.desktop -/usr/share/services/kfile_ico.desktop -/usr/share/services/kfile_jpeg.desktop -/usr/share/services/kfile_m3u.desktop -/usr/share/services/kfile_mp3.desktop -/usr/share/services/kfile_ogg.desktop -/usr/share/services/kfile_pcx.desktop -/usr/share/services/kfile_pdf.desktop -/usr/share/services/kfile_png.desktop -/usr/share/services/kfile_pnm.desktop -/usr/share/services/kfile_ps.desktop -/usr/share/services/kfile_tga.desktop -/usr/share/services/kfile_tiff.desktop -/usr/share/services/kfile_vcf.desktop -/usr/share/services/kfile_wav.desktop -/usr/share/services/kfile_xbm.desktop -/usr/share/services/kfindpart.desktop -/usr/share/services/kfontviewpart.desktop -/usr/share/services/kgzipfilter.desktop -/usr/share/services/khelpcenter.desktop -/usr/share/services/khtml.desktop -/usr/share/services/khtmlimage.desktop -/usr/share/services/kio_uiserver.desktop -/usr/share/services/kjavaappletviewer.desktop -/usr/share/services/kmailservice.protocol -/usr/share/services/kmanpart.desktop -/usr/share/services/kmixctrl_restore.desktop -/usr/share/services/kmultipart.desktop -/usr/share/services/knewsservice.protocol -/usr/share/services/knotify.desktop -/usr/share/services/kntsrcfilepropsdlg.desktop -/usr/share/services/konq_aboutpage.desktop -/usr/share/services/konq_detailedlistview.desktop -/usr/share/services/konq_iconview.desktop -/usr/share/services/konq_infolistview.desktop -/usr/share/services/konq_multicolumnview.desktop -/usr/share/services/konq_sidebartng.desktop -/usr/share/services/konq_textview.desktop -/usr/share/services/konq_treeview.desktop -/usr/share/services/konqueror_config.desktop -/usr/share/services/konsole-script.desktop -/usr/share/services/konsolepart.desktop -/usr/share/services/kontact/kaddressbookplugin.desktop -/usr/share/services/kontact/kmailplugin.desktop -/usr/share/services/kontact/knodeplugin.desktop -/usr/share/services/kontact/knotesplugin.desktop -/usr/share/services/kontact/korganizerplugin.desktop -/usr/share/services/kontact/summaryplugin.desktop -/usr/share/services/kontact/todoplugin.desktop -/usr/share/services/kontact/weatherplugin.desktop -/usr/share/services/kontactconfig.desktop -/usr/share/services/kopete_accountconfig.desktop -/usr/share/services/kopete_aim.desktop -/usr/share/services/kopete_appearanceconfig.desktop -/usr/share/services/kopete_autoreplace.desktop -/usr/share/services/kopete_behaviorconfig.desktop -/usr/share/services/kopete_connectionstatus.desktop -/usr/share/services/kopete_contactnotes.desktop -/usr/share/services/kopete_cryptography.desktop -/usr/share/services/kopete_highlight.desktop -/usr/share/services/kopete_history.desktop -/usr/share/services/kopete_icq.desktop -/usr/share/services/kopete_irc.desktop -/usr/share/services/kopete_jabber.desktop -/usr/share/services/kopete_msn.desktop -/usr/share/services/kopete_nowlistening.desktop -/usr/share/services/kopete_sms.desktop -/usr/share/services/kopete_texteffect.desktop -/usr/share/services/kopete_translator.desktop -/usr/share/services/kopete_webpresence.desktop -/usr/share/services/kopete_yahoo.desktop -/usr/share/services/korganizer/birthdays.desktop -/usr/share/services/korganizer/datenums.desktop -/usr/share/services/korganizer/exchange.desktop -/usr/share/services/korganizer/hebrew.desktop -/usr/share/services/korganizer/holidays.desktop -/usr/share/services/korganizer/projectview.desktop -/usr/share/services/korganizer/webexport.desktop -/usr/share/services/kpfpropertiesdialogplugin.desktop -/usr/share/services/kresources/kabc/dir.desktop -/usr/share/services/kresources/kabc/file.desktop -/usr/share/services/kresources/kabc/imap.desktop -/usr/share/services/kresources/kabc/ldapkio.desktop -/usr/share/services/kresources/kabc/net.desktop -/usr/share/services/kresources/kcal/imap.desktop -/usr/share/services/kresources/kcal/kabc.desktop -/usr/share/services/kresources/kcal/local.desktop -/usr/share/services/kresources/kcal/localdir.desktop -/usr/share/services/kresources/kcal/remote.desktop -/usr/share/services/kshorturifilter.desktop -/usr/share/services/ksplash.desktop -/usr/share/services/ksplashdefault.desktop -/usr/share/services/ksplashmdk.desktop -/usr/share/services/ksplashredmond.desktop -/usr/share/services/ksplashstandard.desktop -/usr/share/services/ksycoca-en_US -/usr/share/services/ktexteditor_insertfile.desktop -/usr/share/services/ktexteditor_isearch.desktop -/usr/share/services/ktexteditor_kdatatool.desktop -/usr/share/services/kuriikwsfilter.desktop -/usr/share/services/kurisearchfilter.desktop -/usr/share/services/kwallet_config.desktop -/usr/share/services/kwalletmanager_show.desktop -/usr/share/services/kweatherservice.desktop -/usr/share/services/kwrited.desktop -/usr/share/services/kxkb.desktop -/usr/share/services/ldap.protocol -/usr/share/services/ldifvcardthumbnail.desktop -/usr/share/services/localdomainurifilter.desktop -/usr/share/services/mac.protocol -/usr/share/services/man.protocol -/usr/share/services/metainfo.protocol -/usr/share/services/mms.protocol -/usr/share/services/nfs.protocol -/usr/share/services/nntp.protocol -/usr/share/services/pbm.kimgio -/usr/share/services/pcx.kimgio -/usr/share/services/pgm.kimgio -/usr/share/services/picturethumbnail.desktop -/usr/share/services/png.kimgio -/usr/share/services/pop3.protocol -/usr/share/services/pop3s.protocol -/usr/share/services/popmail-conduit.desktop -/usr/share/services/ppm.kimgio -/usr/share/services/print.protocol -/usr/share/services/printdb.protocol -/usr/share/services/programs.protocol -/usr/share/services/rdp.protocol -/usr/share/services/rlogin.protocol -/usr/share/services/rssservice.desktop -/usr/share/services/rtsp.protocol -/usr/share/services/scanservice.desktop -/usr/share/services/searchproviders/acronym.desktop -/usr/share/services/searchproviders/alexa.desktop -/usr/share/services/searchproviders/alexa_url.desktop -/usr/share/services/searchproviders/alltheweb.desktop -/usr/share/services/searchproviders/altavista.desktop -/usr/share/services/searchproviders/appsy.desktop -/usr/share/services/searchproviders/austronaut.desktop -/usr/share/services/searchproviders/bugft.desktop -/usr/share/services/searchproviders/bugno.desktop -/usr/share/services/searchproviders/call.desktop -/usr/share/services/searchproviders/citeseer.desktop -/usr/share/services/searchproviders/cpan.desktop -/usr/share/services/searchproviders/ctan.desktop -/usr/share/services/searchproviders/ctan_cat.desktop -/usr/share/services/searchproviders/de2en.desktop -/usr/share/services/searchproviders/dmoz.desktop -/usr/share/services/searchproviders/docbook.desktop -/usr/share/services/searchproviders/doi.desktop -/usr/share/services/searchproviders/en2de.desktop -/usr/share/services/searchproviders/en2es.desktop -/usr/share/services/searchproviders/en2fr.desktop -/usr/share/services/searchproviders/en2it.desktop -/usr/share/services/searchproviders/es2en.desktop -/usr/share/services/searchproviders/excite.desktop -/usr/share/services/searchproviders/feedster.desktop -/usr/share/services/searchproviders/foldoc.desktop -/usr/share/services/searchproviders/fr2en.desktop -/usr/share/services/searchproviders/freshmeat.desktop -/usr/share/services/searchproviders/froogle.desktop -/usr/share/services/searchproviders/google.desktop -/usr/share/services/searchproviders/google_advanced.desktop -/usr/share/services/searchproviders/google_groups.desktop -/usr/share/services/searchproviders/google_images.desktop -/usr/share/services/searchproviders/google_lucky.desktop -/usr/share/services/searchproviders/google_news.desktop -/usr/share/services/searchproviders/hotbot.desktop -/usr/share/services/searchproviders/hyperdictionary.desktop -/usr/share/services/searchproviders/hyperdictionary_thesaurus.desktop -/usr/share/services/searchproviders/imdb.desktop -/usr/share/services/searchproviders/it2en.desktop -/usr/share/services/searchproviders/jeeves.desktop -/usr/share/services/searchproviders/kde.desktop -/usr/share/services/searchproviders/kde_webcvs.desktop -/usr/share/services/searchproviders/leo.desktop -/usr/share/services/searchproviders/lycos.desktop -/usr/share/services/searchproviders/mamma.desktop -/usr/share/services/searchproviders/metacrawler.desktop -/usr/share/services/searchproviders/msdn.desktop -/usr/share/services/searchproviders/netcraft.desktop -/usr/share/services/searchproviders/nl-telephone.desktop -/usr/share/services/searchproviders/nl-teletekst.desktop -/usr/share/services/searchproviders/pgpkeys.desktop -/usr/share/services/searchproviders/php.desktop -/usr/share/services/searchproviders/python.desktop -/usr/share/services/searchproviders/qt.desktop -/usr/share/services/searchproviders/rae.desktop -/usr/share/services/searchproviders/rfc.desktop -/usr/share/services/searchproviders/rpmfind.desktop -/usr/share/services/searchproviders/ruby_application_archive.desktop -/usr/share/services/searchproviders/seek.desktop -/usr/share/services/searchproviders/sourceforge.desktop -/usr/share/services/searchproviders/thesaurus.desktop -/usr/share/services/searchproviders/vivisimo.desktop -/usr/share/services/searchproviders/voila.desktop -/usr/share/services/searchproviders/webster.desktop -/usr/share/services/searchproviders/whatis.desktop -/usr/share/services/searchproviders/wikipedia.desktop -/usr/share/services/searchproviders/wordref.desktop -/usr/share/services/settings.protocol -/usr/share/services/sftp.protocol -/usr/share/services/shellscript.desktop -/usr/share/services/sieve.protocol -/usr/share/services/smb.protocol -/usr/share/services/smtp.protocol -/usr/share/services/smtps.protocol -/usr/share/services/ssh.protocol -/usr/share/services/system.protocol -/usr/share/services/tar.protocol -/usr/share/services/telnet.protocol -/usr/share/services/textthumbnail.desktop -/usr/share/services/tga.kimgio -/usr/share/services/thumbnail.protocol -/usr/share/services/tiff.kimgio -/usr/share/services/useragentstrings/ie401onwinnt4.desktop -/usr/share/services/useragentstrings/ie45onwinnt5.desktop -/usr/share/services/useragentstrings/ie501onwinnt5.desktop -/usr/share/services/useragentstrings/ie50onppc.desktop -/usr/share/services/useragentstrings/ie50onwin95.desktop -/usr/share/services/useragentstrings/ie55onwin98.desktop -/usr/share/services/useragentstrings/ie55onwinnt5.desktop -/usr/share/services/useragentstrings/ie60onwinnt51.desktop -/usr/share/services/useragentstrings/lynxoncurrent.desktop -/usr/share/services/useragentstrings/mozoncurrent.desktop -/usr/share/services/useragentstrings/mozonwin2000.desktop -/usr/share/services/useragentstrings/mozonwinnt4.desktop -/usr/share/services/useragentstrings/nn301oncurrent.desktop -/usr/share/services/useragentstrings/nn475oncurrent.desktop -/usr/share/services/useragentstrings/nn475onwin95.desktop -/usr/share/services/useragentstrings/nn476onppc.desktop -/usr/share/services/useragentstrings/op403onwinnt4.desktop -/usr/share/services/useragentstrings/safari.desktop -/usr/share/services/useragentstrings/w3moncurrent.desktop -/usr/share/services/useragentstrings/wgetoncurrent.desktop -/usr/share/services/videothumbnail.desktop -/usr/share/services/webcal.protocol -/usr/share/services/webdav.protocol -/usr/share/services/webdavs.protocol -/usr/share/services/xbm.kimgio -/usr/share/services/xpm.kimgio -/usr/share/services/xv.kimgio -/usr/share/services/zip.protocol -/usr/share/servicetypes -/usr/share/themes/Default/gtk-2.0 -/usr/share/themes/Galaxy/gtk-2.0 diff --git a/move/data/devices b/move/data/devices deleted file mode 100644 index d409df63b..000000000 --- a/move/data/devices +++ /dev/null @@ -1,4 +0,0 @@ -/dev/console c 5 1 -/dev/tty4 c 4 4 -/dev/tty3 c 4 3 -/dev/tty2 c 4 2 diff --git a/move/data/etcfiles b/move/data/etcfiles deleted file mode 100644 index 721681766..000000000 --- a/move/data/etcfiles +++ /dev/null @@ -1,36 +0,0 @@ -# READ directories/files that will be read (we let only non trivial things here) -/etc/bonobo-activation -/etc/esd.conf -/etc/gimp -/etc/gnucash -/etc/host.conf -/etc/imrc -/etc/initlog.conf -/etc/localtime -/etc/openoffice -/etc/rpc -/etc/termcap -/etc/tmdns.conf -/var/lib/clamav/daily.cvd -/var/lib/clamav/main.cvd - -# OVERWRITE files that will be overwritten -/etc/modules -/etc/modprobe.preload -/etc/ntp.conf -/etc/.pwd.lock -/etc/inittab -/etc/ppp/options -/etc/ppp/chap-secrets -/etc/ppp/pap-secrets -/etc/ppp/pppoe.conf -/var/log/clamav/freshclam.log - -# DIR mandatory directories because files will be written in -/etc/profile.d -/etc/rpm -/etc/sysconfig -/etc/sysconfig/console/consolefonts -/etc/sysconfig/console/consoletrans -/etc/sysconfig/network-scripts -/etc/X11/xinit.d diff --git a/move/data/etcfiles-report b/move/data/etcfiles-report deleted file mode 100644 index 0e8aa0908..000000000 --- a/move/data/etcfiles-report +++ /dev/null @@ -1,151 +0,0 @@ -read: - /etc/DIR_COLORS - /etc/X11/fs/config - /etc/X11/xserver/SecurityPolicy - /etc/bashrc - /etc/bonobo-activation/bonobo-activation-config.xml - /etc/cups/client.conf - /etc/devfs/conf.d/dynamic.conf - /etc/devfsd.conf - /etc/dynamic/scripts/functions.script - /etc/dynamic/scripts/part.script - /etc/esd.conf - /etc/fonts/fonts.conf - /etc/fonts/local.conf - /etc/fstab - /etc/gconf/2/path - /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/audio_codecs/%gconf.xml - /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/audio_settings/%gconf.xml - /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/call_forwarding/%gconf.xml - /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/contacts/%gconf.xml - /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/devices/%gconf.xml - /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/gatekeeper/%gconf.xml - /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/general/%gconf.xml - /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/history/%gconf.xml - /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/ldap/%gconf.xml - /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/personal_data/%gconf.xml - /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/ports/%gconf.xml - /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/video_display/%gconf.xml - /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/video_settings/%gconf.xml - /etc/gconf/gconf.xml.defaults/apps/gnomemeeting/view/%gconf.xml - /etc/gconf/gconf.xml.defaults/desktop/gnome/interface/%gconf.xml - /etc/gconf/gconf.xml.defaults/desktop/gnome/sound/%gconf.xml - /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/audio_settings/%gconf.xml - /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/call_forwarding/%gconf.xml - /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/contacts/%gconf.xml - /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/devices/%gconf.xml - /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/gatekeeper/%gconf.xml - /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/general/%gconf.xml - /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/history/%gconf.xml - /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/ldap/%gconf.xml - /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/personal_data/%gconf.xml - /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/ports/%gconf.xml - /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/video_display/%gconf.xml - /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/video_settings/%gconf.xml - /etc/gconf/gconf.xml.defaults/schemas/apps/gnomemeeting/view/%gconf.xml - /etc/gconf/gconf.xml.defaults/schemas/desktop/gnome/interface/%gconf.xml - /etc/gconf/gconf.xml.defaults/schemas/desktop/gnome/sound/%gconf.xml - /etc/gimp/1.2/gimprc - /etc/gimp/1.2/gimprc_user - /etc/gimp/1.2/gtkrc - /etc/gimp/1.2/gtkrc_user - /etc/gimp/1.2/unitrc - /etc/gnome-vfs-2.0/modules/cdda-module.conf - /etc/gnome-vfs-2.0/modules/default-modules.conf - /etc/gnome-vfs-2.0/modules/ssl-modules.conf - /etc/gnucash/config - /etc/group - /etc/gtk-2.0/gdk-pixbuf.loaders - /etc/gtk-2.0/gtk.immodules - /etc/host.conf - /etc/hotplug/blacklist - /etc/hotplug/hotplug.functions - /etc/hotplug/scsi.agent - /etc/hotplug/usb.agent - /etc/hotplug/usb.handmap - /etc/hotplug/usb.usermap - /etc/hotplug/usb/usb-storage - /etc/imrc - /etc/initlog.conf - /etc/inittab - /etc/inputrc - /etc/ld.so.cache - /etc/localtime - /etc/login.defs - /etc/modules - /etc/modules.conf - /etc/modules.devfs - /etc/nsswitch.conf - /etc/openoffice/autoresponse.conf - /etc/openoffice/openoffice.conf - /etc/pam.d/other - /etc/pam.d/su - /etc/pam.d/sudo - /etc/pam.d/system-auth - /etc/pam.d/xserver - /etc/pango/pango.modules - /etc/passwd - /etc/passwd- - /etc/profile.d/10lang.sh - /etc/profile.d/alias.sh - /etc/profile.d/configure_keyboard.sh - /etc/profile.d/glib20.sh - /etc/profile.d/inputrc.sh - /etc/profile.d/kde3.sh - /etc/profile.d/msec.sh - /etc/profile.d/qtdir3.sh - /etc/profile.d/screen.sh - /etc/profile.d/ssh-client.sh - /etc/profile.d/tmpdir.sh - /etc/profile.d/xhost.sh - /etc/rc.d/init.d/functions - /etc/rc.d/init.d/mandrake_consmap - /etc/rc.d/init.d/syslog - /etc/rc.d/init.d/xfs - /etc/resolv.conf - /etc/rpc - /etc/security/console.perms - /etc/security/fileshare.conf - /etc/security/limits.conf - /etc/security/pam_env.conf - /etc/services - /etc/shells - /etc/skel/.bash_logout - /etc/skel/.bash_profile - /etc/skel/.bashrc - /etc/skel/.mailcap - /etc/skel/.screenrc - /etc/sudoers - /etc/sysconfig/i18n - /etc/sysconfig/init - /etc/sysconfig/msec - /etc/sysconfig/syslog - /etc/sysconfig/usb - /etc/syslog.conf - /etc/termcap - /etc/tmdns.conf -wrote: - /etc/group - /etc/inittab - /etc/modules - /etc/modules.conf - /etc/passwd - /etc/passwd- - /etc/sysconfig/i18n -new: - /etc/X11/XF86Config - /etc/X11/XF86Config-4 - /etc/X11/XF86Config-4.old - /etc/X11/XF86Config.old - /etc/hosts - /etc/mcc.conf - /etc/profile.d/proxy.csh - /etc/profile.d/proxy.sh - /etc/rpm/macros - /etc/shadow - /etc/sysconfig/autologin - /etc/sysconfig/console/consolefonts/lat0-16.psf.gz - /etc/sysconfig/console/consoletrans/iso15.acm.gz - /etc/sysconfig/console/consoletrans/iso15.sfm.gz - /etc/sysconfig/network - /etc/sysconfig/network-scripts/ifcfg-eth0 diff --git a/move/data/isolinux-graphic.bmp b/move/data/isolinux-graphic.bmp Binary files differdeleted file mode 100644 index 3d004d2d0..000000000 --- a/move/data/isolinux-graphic.bmp +++ /dev/null diff --git a/move/data/isolinux-graphic.bmp.parameters b/move/data/isolinux-graphic.bmp.parameters deleted file mode 100755 index babeff953..000000000 --- a/move/data/isolinux-graphic.bmp.parameters +++ /dev/null @@ -1,10 +0,0 @@ -progress_w=6 -progress_real_w=468 -clear_h=800 -progress_c=191 -progress_h=13 -mode=259 -clear_w=600 -isolinux_mode=1 -progress_x=165 -progress_y=403 diff --git a/move/data/keyfiles b/move/data/keyfiles deleted file mode 100644 index d414c83ba..000000000 --- a/move/data/keyfiles +++ /dev/null @@ -1,24 +0,0 @@ -/etc/fstab -/etc/group -/etc/modules -/etc/modules.conf -/etc/modprobe.preload -/etc/modprobe.conf -/etc/passwd -/etc/resolv.conf -/etc/sudoers -/etc/cups/* -/etc/devfs/conf.d/* -/etc/profile.d/* -/etc/sane.d/* -/etc/security/fileshare.conf -/etc/shorewall/* -/etc/sysconfig/* -/etc/sysconfig/console/consolefonts/* -/etc/sysconfig/console/consoletrans/* -/etc/sysconfig/harddrake2/previous_hw -/etc/sysconfig/network-scripts/* -/etc/sysconfig/suspend-scripts/suspend.d/* -/etc/X11/XF86Config-4 -/etc/X11/X -/etc/rc.d/rc.local diff --git a/move/data/make_i18n_list b/move/data/make_i18n_list deleted file mode 100755 index df53d39fb..000000000 --- a/move/data/make_i18n_list +++ /dev/null @@ -1,47 +0,0 @@ -#!/usr/bin/perl - -use MDK::Common; - -my $prefix = $ARGV[0]; -my $rpm = "rpm --root $prefix"; - -unlink glob("i18n_*.list"); - -my %have; -foreach my $list (glob("*.list")) { - $have{$_} = $list foreach chomp_(cat_($list)); -} - -my @pkg_langs = map { /locales-(.*)/ } `$rpm -qa --qf "%{name}\n" locales-*`; - -my %extra_pkgs = ( - hy => 'fonts-ttf-armenian', - ja => 'fonts-ttf-japanese', - kn => 'fonts-ttf-kannada', - ko => 'fonts-ttf-korean', - ta => 'fonts-ttf-tamil fonts-ttf-tscii fonts-bitmap-tscii', - th => 'fonts-ttf-thai', - zh => 'fonts-ttf-gb2312 taipeifonts fonts-ttf-big5', - el => 'fonts-type1-greek', -); - -foreach my $i18n (@pkg_langs) { - #- $i18n_re is different from $i18n because of things like locales-no giving nb|nn|no - my $i18n_re = join('|', uniq($i18n, map { if_(/locales-(\S+)/, $1) } `$rpm -q --provides locales-$i18n`)); - - my @pkgs = uniq("locales-$i18n", chomp_(`$rpm -q --qf "%{name}\n" --whatrequires locales-$i18n`)); - push @pkgs, split(' ', $extra_pkgs{$i18n} || ''); - my @l = grep { !m!^/usr/share/locale/en_ZA! } uniq(chomp_(`$rpm -ql @pkgs`)); - my ($dirs, $files) = partition { -d "$prefix$_" } @l; - - my @i18n_dirs = uniq(grep { m!/($i18n_re) (_[^/]*)? (\.[^/]*)? (\@[^/]*)?$!x } @$dirs); - my $i18n_dirs_re = join('|', map { quotemeta $_ } @i18n_dirs); - my @files = grep { !m!^($i18n_dirs_re)/! } @$files; - - my $list = "i18n_$i18n.list"; - foreach (@i18n_dirs, @files) { - $have{$_} and die "$_ would be twice: in $have{$_} and $list\n"; - $have{$_} = $list; - } - output($list, map { "$_\n" } @i18n_dirs, @files); -} diff --git a/move/data/nvidia.list b/move/data/nvidia.list deleted file mode 100644 index 01fd67a6c..000000000 --- a/move/data/nvidia.list +++ /dev/null @@ -1,5 +0,0 @@ -/usr/lib/libGLcore.so.1 -/usr/lib/libGLcore.so.1.0.6106 -/usr/lib/libnvidia-tls.so.1 -/usr/lib/libnvidia-tls.so.1.0.6106 -/usr/X11R6/lib/modules/extensions/libglx.so.1.0.6106 diff --git a/move/data/symlinks b/move/data/symlinks deleted file mode 100644 index b6601d4e1..000000000 --- a/move/data/symlinks +++ /dev/null @@ -1,4 +0,0 @@ -/sbin -/lib -/bin -/opt diff --git a/move/data/totem.dirs b/move/data/totem.dirs deleted file mode 100644 index bc73094f8..000000000 --- a/move/data/totem.dirs +++ /dev/null @@ -1,2 +0,0 @@ -/usr/share/totem -/usr/lib/xine diff --git a/move/data/totem.list b/move/data/totem.list deleted file mode 100644 index ab0adbbee..000000000 --- a/move/data/totem.list +++ /dev/null @@ -1,68 +0,0 @@ -/bin/sleep -/etc/gnome-vfs-mime-magic -/usr/X11R6/lib/libXi.so.6.0 -/usr/X11R6/lib/libXrandr.so.2.0 -/usr/X11R6/lib/libXtst.so.6.1 -/usr/bin/mdk_behind_totem -/usr/bin/totem -/usr/lib/GConf/2/libgconfbackend-xml.so -/usr/lib/gconfd-2 -/usr/lib/gnome-vfs-2.0/modules/libfile.so -/usr/lib/gtk-2.0/2.2.0/engines/libgalaxy.so -/usr/lib/gtk-2.0/2.2.0/loaders/libpixbufloader-png.so -/usr/lib/kde3/libkshorturifilter.so -/usr/lib/kde3/libkuriikwsfilter.so -/usr/lib/kde3/libkurisearchfilter.so -/usr/lib/kde3/liblocaldomainurifilter.so -/usr/lib/libSDL-1.2.so.0.7.0 -/usr/lib/libORBit-2.so.0.0.0 -/usr/lib/libORBitCosNaming-2.so.0.0.0 -/usr/lib/libartsc.so.0.0.0 -/usr/lib/libartscbackend.so.0.0.0 -/usr/lib/libatk-1.0.so.0.400.1 -/usr/lib/libbonobo-2.so.0.0.0 -/usr/lib/libbonobo-activation.so.4.0.0 -/usr/lib/libbonoboui-2.so.0.0.0 -/usr/lib/libcdio.so.0.0.0 -/usr/lib/libcrypto.so.0.9.7 -/usr/lib/libcurl.so.2.0.2 -/usr/lib/libgconf-2.so.4.1.0 -/usr/lib/libgdk-x11-2.0.so.0.200.4 -/usr/lib/libgdk_pixbuf-2.0.so.0.200.4 -/usr/lib/libglade-2.0.so.0.0.1 -/usr/lib/libglade/2.0/libbonobo.so -/usr/lib/libglade/2.0/libgnome.so -/usr/lib/libgnome-2.so.0.400.0 -/usr/lib/libgnome-desktop-2.so.2.1.9 -/usr/lib/libgnomecanvas-2.so.0.400.0 -/usr/lib/libgnomeui-2.so.0.400.0 -/usr/lib/libgnomevfs-2.so.0.400.2 -/usr/lib/libgobject-2.0.so.0.200.3 -/usr/lib/libgtk-x11-2.0.so.0.200.4 -/usr/lib/libiso9660.so.0.0.0 -/usr/lib/liblirc_client.so.0.0.0 -/usr/lib/libpango-1.0.so.0.200.5 -/usr/lib/libpangoft2-1.0.so.0.200.5 -/usr/lib/libpangox-1.0.so.0.200.5 -/usr/lib/libpangoxft-1.0.so.0.200.5 -/usr/lib/libpng12.so.0.1.2.5 -/usr/lib/libspeex.so.1.1.0 -/usr/lib/libssl.so.0.9.7 -/usr/lib/libstartup-notification-1.so.0.0.0 -/usr/lib/libvcd.so.0.0.0 -/usr/lib/libvcdinfo.so.0.0.0 -/usr/lib/libxine.so.1.8.1 -/usr/lib/libxml2.so.2.6.6 -/usr/lib/pango/1.2.0/modules/pango-basic-xft.so -/usr/lib/xine -/usr/share/alsa -/usr/share/totem -/usr/lib/gnome-vfs-2.0/modules/libcdda.so -/usr/lib/libcdda_interface.so.0 -/usr/lib/libcdda_interface.so.0.9.8 -/usr/lib/libcdda_paranoia.so.0 -/usr/lib/libcdda_paranoia.so.0.9.8 -/sbin/ifplugd -/sbin/dhcpcd -/sbin/dhclient -/sbin/zcip diff --git a/move/doc/README b/move/doc/README deleted file mode 100644 index 28865cdba..000000000 --- a/move/doc/README +++ /dev/null @@ -1,95 +0,0 @@ -MandrakeMove is Copyright (c) 2003 Mandrakesoft - -MandrakeMove is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - - MandrakeMove README - - - General overview. - -Mandrake Move is a "live" Mandrake Linux Discovery based system, -an OS which boots off a removable device (a CDROM in our case) -without needing any installation on hard drive (it doesn't need -any harddrive in computer actually). - -Mandrake Move brings two main innovations: - -- ability to eject the CDROM which Move was booted from, still - running a multimedia player, so that user can play - ogg/mp3/vcd/avi/dvd discs without needing a second CDROM drive - -- transparently saving user and system data to a USB key - - - Technical aspects. - - CDROM ejecting. - -Works by killing most unneeded running application (open-office, -frozen-bubble, gimp, etc), then transfering X/kde/totem files -(already pertaining to a loopback) into memory, then CDROM drive -is not busy anymore. - - Paths of boot. - -MandrakeMove should work in three different paths of boot: - -- mode 1: no USB key - - automatic X configuration, DrakX starts up, asks for language, - license, asks for a key (we answer we have no key), possibly - for mouse and keyboard, username/password, auto-detects sound, - printer and network devices, starts up KDE - - this is a normal live mode, nothing particular - -- mode 2: USB key but doesn't yet contain MandrakeMove files - - automatic X configuration, DrakX starts up, asks for language, - license, set up configuration files on the key, possibly asks - for mouse and keyboard, username/password, starts up KDE - - once KDE is booted, we are in full Move move, in which user - data and system configuration data are saved on the usb key - - the USB key is mounted on /home, and some symlinks are created - from a selection of /etc system files to a per-host directory - on the USB key (based in /home/.sysconf) - - a daemon is monitoring modifications made to /etc, and - transparently copy modified/new files to the USB key; hence - Mandrake Move is much extensible, any modification on /etc will - be saved - -- mode 3: USB key, contains MandrakeMove files - - - 3.1: we are running on the same machine - - DrakX GUI not even shows up as we use existing configuration - files, we set up stuff of the usb key (/home etc) and we start - up KDE - - - 3.2: we are running on another machine - - We use language, username/password, and homedir from USB key, - but other system configuration need to be re-asked: - - automatic X configuration, DrakX starts up, possibly asks for - mouse and keyboard, starts up KDE - - - - gc, pixel diff --git a/move/doc/errata.1 b/move/doc/errata.1 deleted file mode 100644 index 8f8924bbf..000000000 --- a/move/doc/errata.1 +++ /dev/null @@ -1,44 +0,0 @@ - - -<p align="justify">Some users have encountered problems -installing or using MandrakeMove due to specific configuration -situations that we did not have an opportunity to fully test. -Please use the patches or recommendations included below for each -scenario if it applies to you.</p> - -<p align="justify"><b>Note on using Patches:</b> To use any of -the <i>patch.pl</i> patches that are noted below, you must copy the -appropriate patch onto a floppy disk, with the name patch.pl. -Then you can boot off of your CD-ROM with the "linux patch" -command at the boot prompt (obtained by pressing F1 at the splash -screen), and making sure that the floppy containing the patch is -in the floppy disk drive.</p> - - -<p> -<a name="webcam"></a> - -<i>Error scenario:</i> <b>no program seem to see my webcam, whereas on -regular Mandrake 9.2 it works perfectly (may apply to other USB -devices as well).</b> - -<br><i>Why:</i> "hotplug" automatic loading of drivers is disabled due to a -bug on our side. - -<br><i>Solution:</i> add the following to the last line of -/etc/rc.d/rc.local : -<pre> -sysctl -w kernel.hotplug=/sbin/hotplug -</pre> -and be sure to plug your webcam after boot and KDE startup is -finished, not before booting. - -<br><i>Solution for download version:</i> run the following -command in a console at the end of KDE startup, and then plug in -your webcam: -<pre> -sysctl -w kernel.hotplug=/sbin/hotplug -</pre> - -</p> - diff --git a/move/etc-monitorer.pl b/move/etc-monitorer.pl deleted file mode 100755 index 231b9f772..000000000 --- a/move/etc-monitorer.pl +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/perl - -use MDK::Common; - -sub outpend { my $f = shift; local *F; open F, ">>$f" or die "outpend in file $f failed: $!\n"; print F foreach @_ } -sub logit { outpend "/var/log/etc-monitorer.log", sprintf("[%s] @_\n", chomp_(`date`)) } - -foreach my $dir (@ARGV) { - my $destdir = '/home/.sysconf/' . cat_('/var/lib/machine_ident'); - my @etcfiles = glob_("$dir/*"); - foreach (@etcfiles) { - if ($_ eq '/etc/sudoers' #- /etc/sudoers can't be a link - || $_ eq '/etc/mtab' #- same for /etc/mtab - || !-f - || -l && readlink =~ m|^/|) { #- we want to trap relative symlinks only - next; - } - my $dest = "$destdir$_"; - mkdir_p(dirname($dest)); #- case of newly created directories - logit("restoring broken symlink $_ -> $dest"); - if (-l) { - system("cp $_ $dest 2>/dev/null"); - } else { - system("mv $_ $dest 2>/dev/null"); - } - symlinkf($dest, $_); - } - foreach (difference2([ grep { -f && s/^\Q$destdir\E// } glob_("$destdir$dir/*") ], [ @etcfiles ])) { - logit("removing $destdir$_ because of deleted $_"); - unlink "$destdir$_"; - } -} diff --git a/move/img/FE92-1024-MOVE1.jpg b/move/img/FE92-1024-MOVE1.jpg Binary files differdeleted file mode 100644 index 4abb003a3..000000000 --- a/move/img/FE92-1024-MOVE1.jpg +++ /dev/null diff --git a/move/img/FE92-1024-MOVE2.jpg b/move/img/FE92-1024-MOVE2.jpg Binary files differdeleted file mode 100644 index 46af01bec..000000000 --- a/move/img/FE92-1024-MOVE2.jpg +++ /dev/null diff --git a/move/img/FE92-1024-MOVE3.jpg b/move/img/FE92-1024-MOVE3.jpg Binary files differdeleted file mode 100644 index 32c7debdc..000000000 --- a/move/img/FE92-1024-MOVE3.jpg +++ /dev/null diff --git a/move/img/FE92-1024-MOVE4.jpg b/move/img/FE92-1024-MOVE4.jpg Binary files differdeleted file mode 100644 index d3340b9c9..000000000 --- a/move/img/FE92-1024-MOVE4.jpg +++ /dev/null diff --git a/move/img/FE92-1024-MOVE5.jpg b/move/img/FE92-1024-MOVE5.jpg Binary files differdeleted file mode 100644 index c3e3fd7d0..000000000 --- a/move/img/FE92-1024-MOVE5.jpg +++ /dev/null diff --git a/move/img/FE92-1280-MOVE1.jpg b/move/img/FE92-1280-MOVE1.jpg Binary files differdeleted file mode 100644 index cc11b0b0c..000000000 --- a/move/img/FE92-1280-MOVE1.jpg +++ /dev/null diff --git a/move/img/FE92-1280-MOVE2.jpg b/move/img/FE92-1280-MOVE2.jpg Binary files differdeleted file mode 100644 index bee10753f..000000000 --- a/move/img/FE92-1280-MOVE2.jpg +++ /dev/null diff --git a/move/img/FE92-1280-MOVE3.jpg b/move/img/FE92-1280-MOVE3.jpg Binary files differdeleted file mode 100644 index 17135e024..000000000 --- a/move/img/FE92-1280-MOVE3.jpg +++ /dev/null diff --git a/move/img/FE92-1280-MOVE4.jpg b/move/img/FE92-1280-MOVE4.jpg Binary files differdeleted file mode 100644 index 545643e68..000000000 --- a/move/img/FE92-1280-MOVE4.jpg +++ /dev/null diff --git a/move/img/FE92-1280-MOVE5.jpg b/move/img/FE92-1280-MOVE5.jpg Binary files differdeleted file mode 100644 index cafbbcaf6..000000000 --- a/move/img/FE92-1280-MOVE5.jpg +++ /dev/null diff --git a/move/img/Mandrake.png b/move/img/Mandrake.png Binary files differdeleted file mode 100644 index 0f7577e65..000000000 --- a/move/img/Mandrake.png +++ /dev/null diff --git a/move/isolinux/.cvsignore b/move/isolinux/.cvsignore deleted file mode 100644 index a7edff342..000000000 --- a/move/isolinux/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -boot.msg -all.rdz -isolinux.bin -vmlinuz diff --git a/move/isolinux/help.msg b/move/isolinux/help.msg Binary files differdeleted file mode 100644 index 3f89e4f11..000000000 --- a/move/isolinux/help.msg +++ /dev/null diff --git a/move/isolinux/isolinux.cfg b/move/isolinux/isolinux.cfg deleted file mode 100644 index 1b734525d..000000000 --- a/move/isolinux/isolinux.cfg +++ /dev/null @@ -1,14 +0,0 @@ -default linux -prompt 1 -timeout 150 -display boot.msg -F1 help.msg -F2 boot.msg - -label linux - kernel vmlinuz - append initrd=all.rdz acpi=ht quiet devfs=nomount automatic=method:cdrom - -label acpi - kernel vmlinuz - append initrd=all.rdz quiet devfs=nomount automatic=method:cdrom diff --git a/move/isolinux/make.pl b/move/isolinux/make.pl deleted file mode 100644 index 4a946fd98..000000000 --- a/move/isolinux/make.pl +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/perl - -use MDK::Common; - -output 'help.msg', pack("C*", 0x0E, 0x80, 0x03, 0x00), -" - 0aWelcome to 09Move0a help07 - -In most cases, the best way to get started is to simply press the 0e<Enter>07 key. -If you experience problems, you can try to add on the command line : - - o 0fnoauto07 to disable automatic detection (generally used with 0fexpert07). - o 0fupdatemodules07 to use the special update floppy containing modules updates. - o 0fpatch07 to use a patch from the floppy (file named 09patch.pl07). - o 0fcleankey07 to remove previously saved system config files from the USB key. - o 0fformatkey07 to format the USB key (ie: erase all data) - o 0fwaitkey07 to wait 15 more seconds at boot time while detecting the USB key, - that might be useful for some keys for which detection doesn't work nicely - o 0fvirtual_key=09/dev/hda10f,09/key07 to use file 09/key07 on device 09/dev/hda107 as a - virtual key instead of a physical one (must be an existing file containing - a valid filesystem - e.g. a loopback). - -You can also pass some 0f<specific kernel options>07 to the Linux kernel. -For example, try 0flinux mem=128M07 if your system has 128Mb of RAM but we -don't detect the amount correctly. -0cNOTE07: You cannot pass options to modules (SCSI, ethernet card) or devices -such as CD-ROM drives in this way. If you need to do so, use expert mode. - -0c[F1-Help] [F2-Main]07\n"; diff --git a/move/make_live b/move/make_live deleted file mode 100755 index 0ddca9ace..000000000 --- a/move/make_live +++ /dev/null @@ -1,268 +0,0 @@ -#!/usr/bin/perl - -use lib "../perl-install"; -use common; -use pkgs; -use lang; - -@ARGV <= 1 or die "usage: make_live [live_location=/tmp/live_tree]\n"; - -my $kernel_version = do { - my @l = glob_('/export/Mandrake/RPMS/kernel-2.6*'); - @l >= 1 or die "can't find kernel"; - @l <= 1 or die "too many kernels"; - first(`rpm -qp --qf '%{name}' $l[0]` =~ /kernel-(.*)/); -}; - -sub installPackages() { - output_p("$::prefix/etc/rpm/macros", "%_install_langs all\n"); - rename '/etc/rpm/macros', '/etc/rpm/macros.'; - system('cp', "$::prefix/etc/rpm/macros", '/etc/rpm/macros'); - - mkdir_p("$::prefix/var/lib/rpm"); - mkdir_p("$::prefix/root/drakx"); - - - undef *install_any::setDefaultPackages; - *install_any::setDefaultPackages = sub {}; - - undef *install_any::getFile; - *install_any::getFile = sub { - my ($f, $o_method) = @_; - log::l("getFile $f:$o_method"); - open(my $F, '/export/' . install_any::relGetFile($f)) or return; - $F; - }; - - undef *c::kernel_version; - *c::kernel_version = sub { $kernel_version }; - - install_any::setPackages(my $o = $::o = { - prefix => $::prefix, - meta_class => 'desktop', - default_packages => [ - qw(XFree86-server XFree86-xfs XFree86-FBDev), - qw(openssh-server), #- fred wants it - qw(alsa-utils newt), #- newt - qw(davfs nfs-utils samba-server sane-backends xsane xsane-gimp ntp), - qw(acpi acpid), #- so that removing acpi=ht will work - qw(mountloop), #- crypted folders - qw(dnotify), #- notification of /etc changes - qw(mandrake-doc-drakxtools-en mandrake-doc-drakxtools-fr mandrake-doc-drakxtools-es mandrake-doc-drakxtools-it), - qw(synaptics), - #- network conf: - qw(wireless-tools pcmcia-cs), - #- zeroconf: - qw(zcip dhcpcd tmdns), - #- cnx stuff: - qw(dhcp-client ppp kdenetwork-kppp ppp-pppoatm ppp-pppoe pptp-linux pptp-adsl rp-pppoe), - #- ISDN stuff: - qw(isdn4net ibod isdn4k-utils), - #- network file sharing: - qw(nfs-utils-clients samba-client), - #- network drivers and firmwares: - qw(eagle-usb speedtouch speedtouch_mgmt unicorn), - qw(cups cups-drivers foomatic-db gimpprint hpoj libnet-snmp mtools mtoolsfm nmap printer-filters printer-testpages printer-utils scli xojpanel xpp), #- printer stuff - qw(ATI_GLX ATI_GLX-utils NVIDIA_GLX), - qw(hcfpcimodem hsflinmodem ltmodem ipw2100), - qw(nxclient), #- proprietary soft from powerpack - qw(xinput), #- for some mice - qw(perl-Term-Readline-Gnu binutils bash-completion), #- allow debugging move - qw(openssh-askpass-gnome), #- openssh-askpass for mountloop doesn't allow to click on ok/cancel buttons - qw(clanbomber freeciv-client freeciv-server crack-attack kdegames), #- more games - qw(numlock shorewall clamav unison mozilla), - qw(xawtv zapping), #- tv apps - qw(scribus scribus-i18n-de scribus-i18n-fr), #- John Jablonski says it's so much useful - ], - }); - - my %compssUsersChoice = map { $_ => 1 } map { @{$_->{flags}} } values %{$o->{compssUsers}}; - $compssUsersChoice{$_} = 1 foreach qw(SYSTEM DVD USB SOUND BURNER UTF8 DOCS TV 3D INSTALL PHOTO); - $compssUsersChoice{qq(LOCALES"$_")} = 1 foreach lang::langsLANGUAGE({ all => 1 }); - - #- we don't want those - foreach (qw(mdkonline quanta)) { - my $pkg = pkgs::packageByName($o->{packages}, $_) or die "$_ not there anymore"; - $pkg->set_rate(0); - } - - pkgs::setSelectedFromCompssList($o->{packages}, \%compssUsersChoice, 4, 0); - - my @toInstall = pkgs::packagesToInstall($o->{packages}); - local $ENV{DURING_INSTALL} = 1; - $ENV{LD_LIBRARY_PATH} = "/lib:/usr/lib:/usr/X11R6/lib:/usr/lib/qt3/lib"; - pkgs::install($::prefix, 0, \@toInstall, $o->{packages}); - - eval { fs::umount("$::prefix/proc") }; - - unlink "/etc/rpm/macros"; - rename "/etc/rpm/macros.", "/etc/rpm/macros"; -} - -sub config_X_proprietary_drivers() { - unlink "$::prefix/usr/lib/libGL.so"; - - my %name_to_Driver = (NVIDIA_GLX => 'nvidia', ATI_GLX => 'fglrx'); - - my $lib = 'libGL.so.1'; - symlinkf("/etc/X11/$lib", "$::prefix/usr/lib/$lib"); - foreach (keys %name_to_Driver) { - my ($full_name) = run_program::rooted_get_stdout($::prefix, 'rpm', '-ql', $_) =~ m!/usr/lib/(\Q$lib\E\..*)! or die ''; - symlinkf($full_name, "$::prefix/usr/lib/$lib.$name_to_Driver{$_}"); - } - - #- nvidia's libglx.so is hardwired to the tls version, change this - system("cd $::prefix/usr/X11R6/lib/modules/extensions ; ln -sf libglx.so.* libglx.so"); - - #- remove the dirty hack done by NVIDIA_kernel-xxx proprietary package - #- we do it by hand when needed - substInFile { $_ = '' if $_ eq 'nvidia' } "$::prefix/etc/modules"; -} - -$::prefix = `make get_dest_livetree`; -print "Making live in $::prefix directory.\n"; - -eval { fs::umount("$::prefix/proc") }; -eval { rm_rf($::prefix) }; -output_p("$::prefix/etc/fstab", "none /proc proc defaults 0 0\n"); - -installPackages(); - -run_program::rooted($::prefix, 'ldconfig'); -any::fix_broken_alternatives(); -run_program::rooted($::prefix, 'fc-cache'); #- generate cache in all directories mentioned in config file - -run_program::rooted_or_die($::prefix, '/usr/lib/mozilla-1.6/mozilla-rebuild-databases.pl'); - - #- system - -# de-complexify, use the default on any arch -eval { rm_rf("$::prefix$_") } foreach '/lib/i686', '/lib/tls', '/usr/lib/tls', '/usr/X11R6/lib/tls', '/usr/X11R6/lib/modules/extensions/tls', '/usr/X11R6/lib/modules/dri/tls'; - -eval { config_X_proprietary_drivers() }; - -substInFile { - #- /lib is ro, for the moment we don't save, we'll see later if we may want to save (using /var/dev-state for example) - s|.*lib/dev-state.*||; -} "$::prefix/etc/devfsd.conf"; - -substInFile { - #- don't use shadow passwords since pwconv overwrites /etc/shadow hence contents will be lost for usb key - s|\s*shadow||; -} "$::prefix/etc/pam.d/system-auth"; - -substInFile { - #- remove this line which D-state mounting /home again - #- we don't know what this line is for - $_ = "# $_" if /Mounting other filesystems/; -} "$::prefix/etc/init.d/netfs"; - -#- remove services we start ourselves from chkconfig system -substInFile { - s|chkconfig:|chkconfig-disabled:|; -} "$::prefix/etc/rc.d/init.d/$_" foreach qw(xfs dm devfsd syslog); - -#- we're not using sysv init, we need to replace these -unlink "$::prefix/sbin/$_" foreach qw(halt reboot); - -#- provide a way for speedtouch users of free version to escape -if (!-e "$::prefix/usr/share/speedtouch/mgmt.o") { - symlink '/etc/mgmt.o', "$::prefix/usr/share/speedtouch/mgmt.o"; -} - -#- we don't want everyone to have the same ssh key :) -system("rm -f $::prefix/etc/ssh/*key*"); - - - #- XFree - -#- don't want the relative path, prefering the absolute path -symlinkf('/var/lib/xkb', "$::prefix/etc/X11/xkb/compiled"); - -#- Xsession wants to start first-time -unlink "$::prefix/usr/X11R6/bin/drakfw"; - - - #- KDE - -unlink "$::prefix/usr/share/autostart/$_.desktop" foreach 'klipper', 'korgac', 'kalarmd.autostart'; - -update_gnomekderc("$::prefix/usr/share/config/kdesktoprc", ScreenSaver => (Lock => 'true')); - -#- remove "Login Manager" module from kcontrol, rpmdrake stuff -unlink "$::prefix/usr/lib/menu/$_" foreach qw(kdebase-kdm rpmdrake); - -touch("$::prefix/etc/menu/enable_simplified"); - -substInFile { - s/mandrake_doc-(en|fr)/mandrake_doc-move-$1/g; - $_ = '' if m!/usr/sbin/drakbackup!; -} "$::prefix/usr/lib/menu/simplified/mandrake_desk"; - -substInFile { - s!/es/Starter.html/!/en/Starter.html/!; -} "$::prefix/usr/share/mdk/mandrakegalaxy/mdkgalaxy-es.html"; - -substInFile { - if (!/mimetypes=/) { - chomp; - $_ .= ' mimetypes="image/gif;image/jpeg;image/png;image/tiff;image/x-xbm;image/x-xpm;image/bmp;image/fits;image/pcx;image/pix;image/pnm;image/x-bmp"'; - $_ .= ' kde_opt="InitialPreference=15"' . "\n"; - } -} "$::prefix/usr/lib/menu/gqview"; - -{ - local $ENV{LC_ALL} = 'en_US'; #- update-menus doesn't work when there is no locale (aka locale "C") - local $ENV{HOME} = '/'; #- savekdemimetypes.pl needs this otherwise it's tmp file fails - run_program::rooted($::prefix, 'update-menus', '-n'); -} - -run_program::rooted($::prefix, 'nspluginscan'); #- must be run before kbuildsycoca for the ksycoca to be flash plugin aware - -$ENV{HELP_BROWSER} = "kfmclient openProfile webbrowsing"; -$ENV{BROWSER} = "kfmclient openProfile webbrowsing"; -$ENV{DESKTOP} = "kde"; -foreach my $lang (lang::list_langs()) { - local $ENV{LC_ALL} = lang::getLANGUAGE($lang); - unlink "$::prefix/usr/share/services/ksycoca"; - run_program::rooted($::prefix, 'kbuildsycoca', '--global'); - rename("$::prefix/usr/share/services/ksycoca", "$::prefix/usr/share/services/ksycoca-$lang"); -} -symlinkf('/etc/X11/ksycoca', "$::prefix/usr/share/services/ksycoca"); - -cp_af("$::prefix/usr/share/applnk-mdk/System/Configuration/Hardware/krandrtray.desktop", "$::prefix/usr/share/autostart"); - - #- Mandrake - -substInFile { - s|Mandrake Linux release (\S+) \(.*\)|Mandrake Move release $1 (Moyoto)|; -} "$::prefix/etc/mandrake-release"; - -#- remove documentation link in mdkgalaxy -foreach (glob("$::prefix/usr/share/mdk/mandrakegalaxy/mdkgalaxy-*.html")) { - my $nb; - substInFile { - if (m!/Starter.html! ... m!^\s*</td>$!) { - $_ = ''; - $nb++; - } - } $_; - $nb % 4 == 0 or die "bad $_\n"; -} - -rm_rf("$::prefix/usr/share/locale/en_ZA"); - -#- remove uncessary wizards, especially from appearing in MCC -unlink "$::prefix/usr/sbin/$_" foreach qw(drakautoinst drakboot drakfloppy drakgw drakbackup drakedm drakfont drakperm draksec rpmdrake MandrakeUpdate rpmdrake-remove edit-urpm-sources.pl); -unlink "$::prefix/usr/bin/$_" foreach qw(userdrake); - -#- selecting language must be done from drakx anyway -unlink "$::prefix/usr/bin/localedrake"; - -#- fix openoffice autopilote feature -foreach (glob("$::prefix/usr/lib/openoffice/share/template/*")) { - symlink '../../english/wizard/bitmap', "$_/wizard/bitmap"; -} - -# fix nxclient -system("chmod a+x $::prefix/etc/profile.d/nx*"); diff --git a/move/make_live_tree_boot b/move/make_live_tree_boot deleted file mode 100755 index e7cd9d617..000000000 --- a/move/make_live_tree_boot +++ /dev/null @@ -1,177 +0,0 @@ -#!/usr/bin/perl - -use lib qw(../perl-install); -use common; -use lang; -use Getopt::Long; - -GetOptions(u => \ (my $un_build)) or die ''; - -my $prefix = $ARGV[0] || `make get_dest_livetree`; - - -sub create_light_tree { - my ($livetree_prefix, $live_name, $list) = @_; - my $light_prefix = $prefix . '_' . $live_name; - - -e $light_prefix and die "you can't make_live_tree_boot since one already exists -Maybe you should remove it first with 'make_live_tree_boot -u'\n"; - - foreach my $f (@$list) { - my $dest = "$light_prefix$f"; - my $orig = "$livetree_prefix$f"; - - mkdir_p(dirname($dest)); - - if (-l $orig) { - symlink readlink($orig), $dest; - } else { - my $link = $orig; - $link =~ s|^$livetree_prefix|/image_$live_name|; - - rename $orig, $dest or die "moving $orig to $dest failed: $!\n"; - symlink $link, $orig or die "symlinking from $dest to $orig failed: $!\n"; - } - } -} - -sub create_totem_links { - my ($live_name, $list) = @_; - my $light_prefix = $prefix . '_' . $live_name; - - #- creating all the dirs, even when things are in the "always" tree - foreach my $f (@$list) { - my $dest = "$light_prefix$f"; - my $orig = "$prefix$f"; - mkdir_p(dirname($dest)) if ! (-e $dest || -l $dest); - - if (-l $orig) { - symlink readlink($orig), $dest; - } - } - - foreach my $dir (chomp_(`cd $light_prefix ; find usr -type d`)) { - foreach my $f (all("$prefix/$dir")) { - my $link; - my $fl = $f; - while (my $l = readlink("$prefix/$dir/$fl")) { - if ($l =~ /^\w/) { - $fl = $l; - next; - } elsif ($l =~ m!^/!) { - $link = $l; - } - last; - } - $link ||= "/image/$dir/$fl"; - symlink $link, "$light_prefix/$dir/$f"; - } - } -} - -sub remove_light_tree { - my ($live_name, $list) = @_; - my $light_prefix = $prefix . '_' . $live_name; - - -d $light_prefix or return; - - foreach my $f (@$list) { - my $dest = "$prefix$f"; - my $orig = "$light_prefix$f"; - - if (-l $orig) { - unlink $orig; - } elsif (-e $orig) { - if (-e $dest && -s $dest != -s $orig) { - warn "ERROR: $dest already exist, skipping\n"; - } elsif (!-d $dest || -l $dest) { - unlink $dest or die "removing $dest failed: $!\n"; - rename $orig, $dest or die "moving $orig to $dest failed: $!\n"; - } - } - } - rmdir($_) foreach reverse(chomp_(`find $light_prefix -type d`)); - - if (-e $light_prefix) { - unlink($_) foreach chomp_(`find $light_prefix -type l`); - - foreach my $orig (chomp_(`find $light_prefix -type f`)) { - my $dest = $orig; - $dest =~ s|^$light_prefix|$prefix|; - if (my $orig2 = readlink($dest)) { - $orig2 =~ s!/image_$live_name/!$light_prefix/! or next; - $orig2 eq $orig or next; - } else { - next if -e $dest && -s $dest != -s $orig; - } - unlink $dest or die "removing $dest failed: $!\n"; - rename $orig, $dest or die "moving $orig to $dest failed: $!\n"; - } - system("rm -rf $light_prefix/usr/bin/stage2/*.pm"); - system("rm -rf $light_prefix/usr/lib/libDrakX/*.pm"); - system("rm -rf $light_prefix/usr/share/langs/*.png"); - - rmdir($_) foreach reverse(chomp_(`find $light_prefix -type d`)); - } - - if (-e $light_prefix) { - print "still there:\n"; - system('find', $light_prefix); - } -} -my @i18n = map { if_(/i18n_(.*)\.list$/, $1) } all('data'); -my @clps = ('always', 'boot', 'totem', 'nvidia', map { "i18n_$_" } @i18n); - -my %lists = map { - $_ => [ chomp_(cat_("data/$_.list")) ]; -} @clps, 'always_i18n'; - -my %i18n_to_locales = do { - my %useful = map { lang::l2locale($_) => 1 } lang::list_langs(); - map_each { - if (my ($i18n) = $::a =~ /i18n_(.*)/) { - $i18n => [ map { if_(m!^/usr/share/locale/([^/]*)! && $useful{$1}, $1) } @$::b ]; - } else { - (); - } - } %lists; -}; - - -$lists{always_simpl} = [ uniq(@{$lists{always}}, intersection($lists{boot}, $lists{totem})) ]; -$lists{boot_simpl} = [ difference2($lists{boot}, $lists{always_simpl}) ]; -$lists{totem_simpl} = [ difference2($lists{totem}, $lists{always_simpl}) ]; - -foreach (@clps, map { "always_i18n_$_" } @i18n) { - remove_light_tree($_, $lists{$_ . '_simpl'} || $lists{$_} || []); -} - -if (!$un_build) { - foreach my $i18n (@i18n) { - $lists{"always_i18n_$i18n"} = [ map { - my $pattern = $_; - my @l = map { - (my $f = $pattern) =~ s/__LANG__/$_/; - if (readlink("$prefix$f") =~ m!^[^/]!) { - system('cp', "$prefix$f", "$prefix$f-"); - rename "$prefix$f-", "$prefix$f"; - $f; - } elsif (-e "$prefix$f") { - $f; - } else { - (); - } - } $i18n, @{$i18n_to_locales{$i18n}}; - } @{$lists{always_i18n}} ]; - } - - foreach my $i18n (@i18n) { - create_light_tree($prefix, "always_i18n_$i18n", $lists{"always_i18n_$i18n"}); - } - foreach (@clps) { - my $list = $lists{$_ . '_simpl'} || $lists{$_}; - next if $_ eq 'nvidia' && ! -e "$prefix$list->[0]"; - create_light_tree($prefix, $_, $list); - } - create_totem_links('totem', $lists{totem}); -} diff --git a/move/move.pm b/move/move.pm deleted file mode 100644 index 1ca46710f..000000000 --- a/move/move.pm +++ /dev/null @@ -1,809 +0,0 @@ -package move; # $Id$ $ - -#- Copyright (c) 2003-2004 Mandriva -#- -#- This program is free software; you can redistribute it and/or modify -#- it under the terms of the GNU General Public License as published by -#- the Free Software Foundation; either version 2, or (at your option) -#- any later version. -#- -#- This program is distributed in the hope that it will be useful, -#- but WITHOUT ANY WARRANTY; without even the implied warranty of -#- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -#- GNU General Public License for more details. -#- -#- You should have received a copy of the GNU General Public License -#- along with this program; if not, write to the Free Software -#- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -use diagnostics; -use strict; - -use modules; -use common; -use fs; -use fsedit; -use run_program; -use partition_table qw(:types); -use swap; -use log; -use lang; -use Digest::MD5 qw(md5_hex); - -my $key_disabled; - -my ($using_existing_user_config, $using_existing_host_config); -my $key_sysconf = '/home/.sysconf'; -my $key_part; -my $virtual_key_part; -my $key_mountopts = 'umask=077,uid=501,gid=501,shortname=mixed,nobadchars'; - -sub symlinkf_short { - my ($dest, $file) = @_; - if (my $l = readlink $dest) { - $dest = $l if $l =~ m!^/!; - } - -d $file and log::l("$file already exists and is a directory! writing in directory may be needed, not overwriting"), return; - symlinkf($dest, $file); -} - -sub handle_etcfiles { - my (@allowed_modes) = @_; - #- non-trivial files listed from tools/scan-etc.pl - my ($mode, $allowed); - foreach (chomp_(cat_('/image/move/etcfiles'))) { - if (m|^# (\S+)|) { - $mode = $1; - $allowed = member($mode, @allowed_modes); - } elsif (m|^/| && $allowed) { - if ($mode eq 'READ') { - mkdir_p(dirname($_)); - symlinkf_short("/image$_", $_) if !-e $_; - } elsif ($mode eq 'OVERWRITE') { - mkdir_p(dirname($_)); - cp_f("/image$_", $_); #- need copy contents - } elsif ($mode eq 'DIR') { - mkdir_p $_; - } - } - } - -} - -sub handle_virtual_key() { - return if $key_disabled; - if (my ($device, $file, $options) = cat_('/proc/cmdline') =~ /\bvirtual_key=([^,\s]+),([^,\s]+)(,\S+)?/) { - log::l("using device=$device file=$file as a virtual key with options $options"); - my $dir = '/virtual_key_mount'; - mkdir $dir; - run_program::run('mount', $device, $dir); - if ($options =~ /format/) { - if (! -e "$dir$file") { - require commands; - commands::dd("if=/dev/zero", "of=$dir$file", "bs=1M", "count=40"); - } - run_program::run('mkdosfs', "$dir$file"); - } - require devices; - my $loop = devices::find_free_loop(); - run_program::run('losetup', $loop, "$dir$file"); - run_program::run('mount', $loop, '/home', '-o', $key_mountopts); - $virtual_key_part = { device => $loop, mntpoint => '/home', type => 0xc, isMounted => 1 }; - } -} - -sub setup_userconf { - my ($o) = @_; - if (is_empty_array_ref($o->{users}) && `getent passwd 501` =~ /([^:]+):/) { - log::l("passwd/501 is $1"); - $o->{users} = [ { name => $1 } ]; - $ENV{HOME} = "/home/$1"; #- used by lang::read() :-/ - print "using existing user configuration\n"; - $using_existing_user_config = 1; - } -} - -sub lang2move_clp_name { - my ($lang) = @_; - my $dir = '/usr/share/locale/' . lang::l2locale($lang); - my $link = readlink($dir) or return -d $dir ? '' : 'ERROR'; - my ($name) = $link =~ m!image_(i18n_.*?)/! or log::l("ERROR: bad link $link for $dir"), return 'ERROR'; - $name; -} - -#- run very soon at stage2 start, setup things on tmpfs rw / that -#- were not necessary to start stage2 itself (there were setup -#- by stage1 of course) -sub init { - my ($o) = @_; - - $::testing and goto drakx_stuff; - - #- rw things - mkdir "/$_" foreach qw(home mnt root root/tmp etc var); - - mkdir "/etc/$_" foreach qw(X11); - touch '/etc/modules.conf'; - touch '/etc/modprobe.conf'; - cp_f('/proc/mounts', '/etc/mtab'); - - #- these files need be writable but we need a sensible first contents - cp_f("/image/etc/$_", '/etc') foreach qw(passwd passwd- group sudoers fstab); - - #- these files are typically opened in read-write mode, we need them copied - mkdir_p("/etc/$_"), cp_f(glob_("/image/etc/$_/*"), "/etc/$_") - foreach qw(cups profile.d sysconfig devfs/conf.d); - - #- TODO: cp_af is broken for symlinks to directories - #- replace below with cp_af is fixed in perl-MDK-Common - run_program::run('cp', '-a', glob("/image/etc/rc[0-6].d"), '/etc'); - - #- directories we badly need as non-links because files will be written in - handle_etcfiles('DIR'); - - #- for /etc/sysconfig/networking/ifcfg-lo - mkdir "/etc/sysconfig/networking"; - - #- ro things - symlinkf_short("/image/etc/$_", "/etc/$_") - foreach qw(alternatives man.config services shells pam.d inputrc ld.so.conf - DIR_COLORS bashrc profile init.d devfsd.conf gtk-2.0 pango fonts modules.devfs - dynamic hotplug gnome-vfs-2.0 gnome-vfs-mime-magic gtk gconf menu menu-methods nsswitch.conf default login.defs - skel ld.so.cache openoffice xinetd.d xinetd.conf syslog.conf sysctl.conf sysconfig/networking/ifcfg-lo - ifplugd); - symlinkf_short("/image/etc/X11/$_", "/etc/X11/$_") - foreach qw(encodings.dir app-defaults applnk fs lbxproxy proxymngr rstart wmsession.d xinit xkb xserver xsm); - symlinkf_short("/image/root/$_", "/root/$_") foreach qw(.bashrc); - - mkdir_p(dirname("/var/$_")), symlinkf_short("/image/var/$_", "/var/$_") foreach qw(lib/samba lib/rpm cache/gstreamer-0.6); - - #- non-trivial files/directories that need be readable, files that will be overwritten - handle_etcfiles('READ', 'OVERWRITE'); - - run_program::run('chown', 'clamav.clamav', '/var/log/clamav/freshclam.log'); - - #- create remaining /etc and /var subdirectories if not already copied or symlinked, - #- because programs most often will not try to create the missing subdir before trying - #- to write a file, leading to obscure unexpected failures - foreach (cat_('/image/move/directories-to-create')) { - my ($mode, $uid, $gid, $name) = split; - next if -d $name; - mkdir($name); - chmod(oct($mode), $name); - chown($uid, $gid, $name); - } - - chmod 01777, '/tmp', '/var/tmp'; #- /var/tmp -> badly needed for printing from OOo - - #- remaining non existent /etc files are symlinked from the RO volume, - #- better to have them RO than non existent. - #- PB: problems arise when programs try to open then in O_WRONLY - #- or O_RDWR -> in that case, they should be handled in the - #- OVERWRITE section of data/etcfiles) - foreach (chomp_(cat_('/image/move/all-etcfiles'))) { - -f $_ or symlinkf_short("/image$_", $_); - } - - #- free up stage1 memory - eval { fs::umount($_) } foreach qw(/stage1/proc/bus/usb /stage1/proc /stage1); - - #- devfsd needed for devices accessed by old names - fs::mount("none", "/dev", "devfs", 0); - fs::mount("none", "/dev/pts", "devpts", 0); - run_program::run('/sbin/devfsd', '/dev'); - - -d '/lib/modules/' . c::kernel_version() or warn("ERROR: kernel package " . c::kernel_version() . " not installed\n"), c::_exit(1); - - $key_disabled = !-e '/cdrom/live_tree_nvidia.clp' && cat_('/proc/mounts') !~ /nfs/; - - run_program::run('/sbin/service', 'syslog', 'start'); - run_program::run('sysctl', '-w', 'kernel.hotplug=/bin/true'); - modules::load_category('bus/usb'); - eval { modules::load('usb-storage', 'sd_mod') }; - handle_virtual_key(); - $o->{pcmcia} ||= !$::noauto && c::pcmcia_probe(); - cat_('/proc/cmdline') =~ /\bwaitkey\b/ and sleep 15; - install_steps::setupSCSI($o); - run_program::run('sysctl', '-w', 'kernel.hotplug=/sbin/hotplug'); - - if (cat_('/proc/cmdline') =~ /\bformatkey\b/) { - #- waiting until X is launched - } else { - key_mount($o); - } - if (cat_('/proc/cmdline') =~ /\bcleankey\b/) { - eval { rm_rf $key_sysconf, glob_('/home/.mdkmove*') }; - } - key_installfiles('simple'); - setup_userconf($o); - if (-f '/etc/X11/X') { - print "using existing host configuration\n"; - $using_existing_host_config = 1; - - #- so that /etc/devfsd/conf.d/mouse.conf is used and /dev/mouse created - run_program::run('/sbin/service', 'devfsd', 'reload'); - } - if (-s '/etc/sysconfig/i18n') { - lang::set($o->{locale} = lang::read('', 0)); #- read ~/.i18n first if it exists - } - - touch '/var/run/rebootctl'; - -drakx_stuff: - $o->{steps}{$_} = { reachable => 1, text => $_ } - foreach qw(initGraphical autoSelectLanguage verifyKey configMove startMove); - $o->{orderedSteps_orig} = $o->{orderedSteps}; - $o->{orderedSteps} = [ $using_existing_host_config ? - qw(initGraphical verifyKey startMove) - : $using_existing_user_config ? - qw(initGraphical autoSelectLanguage verifyKey selectMouse selectKeyboard configMove startMove) - : qw(initGraphical selectLanguage acceptLicense verifyKey selectMouse selectKeyboard configMove startMove) ]; - $o->{steps}{first} = $o->{orderedSteps}[0]; - - #- do not use shadow passwords since pwconv overwrites /etc/shadow hence contents will be lost for usb key - delete $o->{authentication}{shadow}; - - foreach my $lang (keys %lang::langs) { - my $clp_name = lang2move_clp_name($lang) or next; - if (! -e "/cdrom/live_tree_$clp_name.clp") { - log::l("disabling lang $lang"); - delete $lang::langs{$lang}; - } - } -} - -sub lomount_clp { - my ($name, $needed_file) = @_; - my ($clp, $dir) = ("/cdrom/live_tree_$name.clp", "/image_$name"); - - -e "$dir$needed_file" and return; - - if (! -e $clp || cat_('/proc/cmdline') =~ /\blive\b/) { - symlink "/cdrom/live_tree_$name", $dir; - return; - } - - log::l("lomount_clp: lomounting $name"); - - mkdir_p($dir); - my $dev = devices::find_free_loop(); - run_program::run('losetup', '-r', '-e', 'gz', $dev, $clp); - run_program::run('mount', '-r', $dev, $dir); -} - -sub install2::autoSelectLanguage { - my $o = $::o; - - install_steps::selectLanguage($o); -} - -sub handleI18NClp { - my ($lang) = @_; - - my $clp_name = lang2move_clp_name($lang) or return; - log::l("move: handleI18NClp (lang=$lang, clp_name=$clp_name)"); - lomount_clp($clp_name, '/usr'); - lomount_clp("always_$clp_name", '/usr'); -} - -sub clean_partition_table_and_format_key { - my ($in) = @_; - my @keys = grep { detect_devices::isKeyUsb($_) } detect_devices::getSCSI() or return; - my $key = $in->ask_from_listf('', N("Which USB key do you want to format?"), - sub { "$_->{usb_description} ($_->{device})" }, - \@keys); - - $in->ask_warn('', N("You are about to format a USB device \"%s\". This will delete all data on it. -Make sure that the selected device is the USB key you want to format. -We advise you to unplug all other USB storage devices while doing this operation.", $key->{usb_description})); - - $key->{prefix} ||= $key->{device}; - add2hash_($key, partition_table::raw::get_geometry($key->{file} = devices::make($key->{device}))); - partition_table::raw::zero_MBR($key); - my ($part) = partition_table::get_normal_parts_and_holes($key); - $part->{type} = 0xb; - partition_table::add($key, $part); - partition_table::write($key); - fs::real_format_part($part); -} - -sub key_parts { - my ($o) = @_; - - return () if $key_disabled; - - my @keys = grep { detect_devices::isKeyUsb($_) } @{$o->{all_hds}{hds}}; - my @parts = (fsedit::get_fstab(@keys), grep { detect_devices::isKeyUsb($_) } @{$o->{all_hds}{raw_hds}}); - grep { isFat({ type => fsedit::typeOfPart($_->{device}) }) } @parts; -} - -sub key_mount { - my ($o, $o_reread) = @_; - - if ($o_reread) { - $o->{all_hds} = fsedit::empty_all_hds(); - install_any::getHds($o, $o); - } - if ($virtual_key_part) { - #- :/ merge_from_mtab did not got my virtual key, need to add it manually - push @{$o->{fstab}}, $virtual_key_part; - $key_part = $virtual_key_part; - return; - } - - foreach (key_parts($o)) { - if ($key_part) { - log::l("trying another usb key partition than $key_part->{device}"); - fs::umount_part($key_part); - delete $key_part->{mntpoint}; - undef $key_part; - } - $_->{mntpoint} = '/home'; - $_->{options} = "$key_mountopts,sync"; - my $ok = eval { fs::mount_part($_); 1 }; - if ($ok) { - my ($kb_size) = MDK::Common::System::df('/home'); - log::l("$_->{device} is $kb_size KB"); - $ok = $kb_size > 10 * 1024; #- at least 10 MB - fs::umount_part($_) if !$ok; - } - if ($ok) { - $key_part = $_; - last if -e $key_sysconf; - } else { - delete $_->{mntpoint}; - } - } - - -} - -sub machine_ident() { - #- , c::get_hw_address('eth0'); before detect of network :( - md5_hex(join '', (map { (split)[1] } cat_('/proc/bus/pci/devices'))); -} - -sub key_installfiles { - my ($mode) = @_; - - my $done if 0; - $done and return; - - mkdir $key_sysconf; - my $sysconf = "$key_sysconf/" . machine_ident(); - - my $copy_userinfo = sub { - my (@files) = @_; - my @etcpasswords = glob("$key_sysconf/*/etc/passwd"); - if (@etcpasswords > 1) { - print "inconsistency: more than one /etc/passwd on key! can not proceed, please clean the key\n"; - exit 1; - } - return if !@etcpasswords; - my ($path) = $etcpasswords[0] =~ m|(.*)/etc/passwd|; - run_program::run('cp', '-f', "$path$_", $_) foreach @files; - run_program::run('rm', '-f', $etcpasswords[0]); - }; - - if (!-d $sysconf) { - if ($mode eq 'full') { - log::l("key_installfiles: installing config files in $sysconf"); - mkdir $sysconf; - foreach (chomp_(cat_('/image/move/keyfiles'))) { - mkdir_p($sysconf . dirname($_)); - my @l = /\*$/ ? glob_($_) : $_; - foreach (@l) { - eval { cp_f($_, "$sysconf$_") }; - symlinkf("$sysconf$_", $_); - } - } - eval { cp_f('/image/move/README.adding.more.files', $key_sysconf) }; - $done = 1; - } else { - #- not in full mode and no host directory, grab user config from first existing host directory if possible - log::l("key_installfiles: only looking for user config files"); - $copy_userinfo->(qw(/etc/passwd /etc/group /etc/sysconfig/i18n)); - } - } else { - log::l("key_installfiles: installing symlinks to key"); - if (!-e "$sysconf/etc/passwd") { - log::l("key_installfiles: /etc/passwd not here, trying to copy from previous host boot"); - $copy_userinfo->(qw(/etc/passwd /etc/group)); - } - foreach (chomp_(`find $sysconf -type f`)) { - my ($path) = /^\Q$sysconf\E(.*)/; - mkdir_p(dirname($path)); - symlinkf($_, $path); - } - $done = 1; - $::o->{steps}{configMove}{done} = 1; - } - - #- /etc/sudoers can not be a link - unlink($_), cp_f("/image$_", $_) foreach qw(/etc/sudoers); -} - -sub reboot() { - output('/var/run/rebootctl', "reboot"); #- tell X_move to not respawn - run_program::run('killall', 'X'); #- kill it ourselves to be sure that it will not lock console when killed by our init - exit 0; -} - - -sub check_key { - my ($o) = @_; - - if ($key_part) { - my $tmp = '/home/.touched'; - #- can we write? - if (eval { output($tmp, 'foo'); cat_($tmp) eq 'foo' && unlink $tmp }) { - return 1; - } - - #- argh, key is read-only - #- try umounting - if (eval { fs::umount_part($key_part); undef $key_part; 1 }) { - modules::unload('usb-storage'); #- it will not notice change on write protection otherwise :/ - - $o->ask_okcancel_({ title => N("Key is not writable"), - messages => formatAlaTeX( -N("The USB key seems to have write protection enabled. Please -unplug it, remove write protection, and then plug it again.")), - ok => N("Retry"), - cancel => N("Continue without USB key") }) or return; - - modules::load('usb-storage'); - sleep 2; - } else { - #- this case happens when the user boots with a write-protected key containing - #- all user and host data, /etc/X11/X which is on key busyfies it - $o->ask_okcancel_({ title => N("Key is not writable"), - messages => formatAlaTeX( -N("The USB key seems to have write protection enabled, but we can not safely -unplug it now. - - -Click the button to reboot the machine, unplug it, remove write protection, -plug the key again, and launch Mandriva Move again.")), - ok => N("Reboot") }); - reboot(); - } - } else { - my $message = key_parts($o) ? -N("Your USB key does not have any valid Windows (FAT) partitions. -We need one to continue (beside, it's more standard so that you -will be able to move and access your files from machines -running Windows). Please plug in an USB key containing a -Windows partition instead. - - -You may also proceed without an USB key - you'll still be -able to use Mandriva Move as a normal live Mandriva -Operating System.") : -N("We did not detect any USB key on your system. If you -plug in an USB key now, Mandriva Move will have the ability -to transparently save the data in your home directory and -system wide configuration, for next boot on this computer -or another one. Note: if you plug in a key now, wait several -seconds before detecting again. - - -You may also proceed without an USB key - you'll still be -able to use Mandriva Move as a normal live Mandriva -Operating System."); - $o->ask_okcancel_({ title => N("Need a key to save your data"), - messages => formatAlaTeX($message), - ok => N("Detect USB key again"), - cancel => N("Continue without USB key") }) or return; - - } - key_mount($o, 'reread'); - check_key($o); -} - -sub install2::verifyKey { - my $o = $::o; - - log::l("automatic transparent key support is disabled"), return if $key_disabled; - - if (cat_('/proc/cmdline') =~ /\bformatkey\b/) { - clean_partition_table_and_format_key($o); - key_mount($o, 'reread'); - } - - check_key($o) or return; - - my $_wait = $using_existing_host_config - || $o->wait_message(N("Setting up USB key"), N("Please wait, setting up system configuration files on USB key...")); - - if (eval { fs::umount_part($key_part); 1 }) { - log::l("remounting without sync option"); - $key_part->{options} = $key_mountopts; - fs::mount_part($key_part); - } - - key_installfiles('full'); - - setup_userconf($o); -} - -sub enable_service { - run_program::run('/sbin/chkconfig', '--level', 5, $_[0], 'on'); -} - -sub install2::configMove { - my $o = $::o; - - #- just in case - lomount_clp("always_i18n_$o->{locale}{lang}", '/usr'); - - if (!$using_existing_user_config) { - if (cat_('/proc/cmdline') =~ /\buser=(\w+)/) { - $o->{users} = [ { name => $1 } ]; - } else { - require any; - any::ask_user_one($o, $o->{users} ||= [], $o->{security}, - additional_msg => N("Enter your user information, password will be used for screensaver"), noaccept => 1, needauser => 1, noicons => 1); - } - #- force uid/gid to 501 as it was used when mounting key, addUser may choose 502 when key already holds user data - put_in_hash($o->{users}[0], { uid => 501, gid => 501 }); - require install_steps; - install_steps::addUser($o); - } - - $::noauto and goto after_autoconf; - - my $_wait = $o->wait_message(N("Auto configuration"), N("Please wait, detecting and configuring devices...")); - - #- automatic printer, timezone, network configs - require install_steps_interactive; - if (cat_('/proc/mounts') !~ /nfs/) { - install_steps_interactive::configureNetwork($o); - touch('/etc/resolv.conf'); - enable_service('network'); - } - enable_service('netfs'); - install_steps_interactive::summaryBefore($o); - - modules::load_category('multimedia/sound'); - enable_service('sound'); - - detect_devices::isLaptop() or enable_service('numlock'); - -after_autoconf: - require timezone; - timezone::write($o->{timezone}); - - $o->{useSupermount} = 'magicdev'; - fs::set_removable_mntpoints($o->{all_hds}); - fs::set_all_default_options($o->{all_hds}, %$o, lang::fs_options($o->{locale})); - - require install_any; - install_any::write_fstab($o); - - modules::write_conf(); - require mouse; - mouse::write_conf($o, $o->{mouse}, 1); #- write xfree mouse conf - detect_devices::install_addons(''); - - { - my $user = $o->{users}[0]{name}; - my $confdir = "/home/$user/.kde/share/config"; - mkdir_p($confdir); - output("$confdir/kdeglobals", cat_("/usr/share/config/kdeglobals")); - lang::configure_kdeglobals($o->{locale}, $confdir); - - run_program::run('chown', '-R', "$user.$user", "/home/$user/.kde"); - } - - foreach my $step (@{$o->{orderedSteps_orig}}) { - next if member($step, @{$o->{orderedSteps}}); - while (my $f = shift @{$o->{steps}{$step}{toBeDone} || []}) { - log::l("doing remaining toBeDone for undone step $step"); - eval { &$f() }; - $o->ask_warn(N("Error"), [ -N("An error occurred, but I do not know how to handle it nicely. -Continue at your own risk."), formatError($@) ]) if $@; - } - } -} - -sub install_TrueFS_in_home { - my ($o) = @_; - - my $home = fsedit::mntpoint2part('/home', $o->{fstab}) or return; - - my %loopbacks = map { - my $part = { - type => 0x83, - device => "/home/.mdkmove-$_", - loopback_file => "/.mdkmove-$_", loopback_device => $home, - mntpoint => "/home/$_/.mdkmove-truefs", size => 6 << 11, - toFormat => ! -e "/home/.mdkmove-$_", - }; - $_ => $part; - } list_users(); - $home->{loopback} = [ values %loopbacks ]; - fsedit::recompute_loopbacks($o->{all_hds}); - fs::formatMount_all([], $home->{loopback}, $o->{prefix}); - - foreach my $user (keys %loopbacks) { - my $dir = $loopbacks{$user}{mntpoint}; - - foreach (qw(.kde .openoffice)) { - if (-d "/home/$user/$_" && ! -d "$dir/$_") { - run_program::run('mv', "/home/$user/$_", "$dir/$_"); - } - mkdir $_ foreach "/home/$user/$_", "$dir/$_"; - - run_program::run('mount', '-o', 'bind', "$dir/$_", "/home/$user/$_"); - } - - my $cache = "/tmp/.$user-cache"; - foreach (qw(.kde/share/cache)) { - mkdir_p("$cache/$_"); - mkdir_p("/home/$user/" . dirname($_)); - symlink "$cache/$_", "/home/$user/$_"; - } - run_program::run('chown', '-R', "$user.$user", $dir); - run_program::run('chown', '-R', "$user.$user", $cache); - - $ENV{XAUTHORITY} = "$dir/.Xauthority"; - $ENV{ICEAUTHORITY} = "$dir/.ICEauthority"; - } -} - -sub errorInStep { - my ($o, $err) = @_; - - if (!fsedit::mntpoint2part('/home', $o->{fstab})) { - $o->ask_warn(N("Error"), [ N("An error occurred"), formatError($err) ]); - return; - } - - $o->ask_okcancel_({ title => N("Error"), - messages => formatAlaTeX( -N("An error occurred: - - -%s - -This may come from corrupted system configuration files -on the USB key, in this case removing them and then -rebooting Mandriva Move would fix the problem. To do -so, click on the corresponding button. - - -You may also want to reboot and remove the USB key, or -examine its contents under another OS, or even have -a look at log files in console #3 and #4 to try to -guess what's happening.", formatError($err))), - ok => N("Remove system config files"), - cancel => N("Simply reboot") }) or goto reboot; - eval { rm_rf $key_sysconf }; -reboot: - reboot(); -} - -sub install2::initGraphical { - my $xdim = $::rootwidth; - $xdim < 800 and $xdim = 800; - $xdim > 1600 and $xdim = 1600; - run_program::run('qiv', '--root', "/image/move/BOOT-$xdim-MOVE.jpg"); - - undef *install_steps_interactive::errorInStep; - *install_steps_interactive::errorInStep = \&errorInStep; -} - -sub install2::startMove { - my $o = $::o; - - $::WizardWindow->destroy if $::WizardWindow; - require ugtk2; - ugtk2::flush(); - - #- get info from existing fstab. This will not do anything if we already wrote fstab in configMove - fs::get_info_from_fstab($o->{all_hds}, ''); - foreach (fsedit::get_really_all_fstab($o->{all_hds})) { - if (isSwap($_)) { - eval { swap::swapon($_->{device}) }; - } elsif ($_->{mntpoint} && !$_->{isMounted} && !$::noauto) { - mkdir_p($_->{mntpoint}); - run_program::run('mount', $_->{mntpoint}) if $_->{options} !~ /noauto/; - } - } - - symlinkf("/usr/share/services/ksycoca-$o->{locale}{lang}", '/etc/X11/ksycoca'); - - install_TrueFS_in_home($o); - - my $username = $o->{users}[0]{name} or die 'no user'; - output('/var/run/console.lock', $username); - output("/var/run/console/$username", 1); - run_program::run('pam_console_apply'); - - run_program::run('hwclock', '-s', '--localtime'); - run_program::run('chown', "$username.root", '/var/run/rebootctl'); - substInFile { $_ = '' if m!\s/home\s! } $_ foreach '/etc/fstab', '/etc/mtab'; - - touch '/var/run/utmp'; - run_program::run('runlevel_set', '5'); - foreach (glob('/etc/rc.d/rc5.d/*')) { - next if member($_, qw(xfs dm devfsd syslog)); - next if /~$/; - run_program::run($_, 'start'); - } - - #- allow user customisation of startup through /etc/rc.d/rc.local - run_program::run('/etc/rc.d/rc.local'); - - if ($key_part) { - output '/var/lib/machine_ident', machine_ident(); - run_program::run('/usr/bin/etc-monitorer.pl', uniq map { dirname($_) } (chomp_(`find /etc -type f`), - grep { readlink($_) !~ m|^/| } chomp_(`find /etc -type l`))); - run_program::raw({ detach => 1 }, '/usr/bin/dnotify', '-MCRD', '/etc', '-r', '-e', '/usr/bin/etc-monitorer.pl', '{}') or die "dnotify not found!"; - } - - #- password in screensaver does not make sense if we keep the shell - if (cat_('/proc/cmdline') !~ /\bshell\b/) { - kill 9, cat_('/var/run/drakx_shell.pid'); - output('/dev/tty2', "Killed\n"); - } - - if (fork()) { - sleep 1; - log::l("DrakX waves bye-bye"); - - open STDOUT, ">>/tmp/.kde-errors"; #- do not display startkde shit on first console - open STDERR, ">>/tmp/.kde-errors"; - - my (undef, undef, $uid, $gid, undef, undef, undef, $home, $shell) = getpwnam($username); - $( = $) = "$gid $gid"; - $< = $> = $uid; - $ENV{LOGNAME} = $ENV{USER} = $username; - $ENV{HOME} = $home; - $ENV{SHELL} = $shell; - $ENV{XDM_MANAGED} = '/var/run/rebootctl,maysd,mayfn,sched'; #- for reboot/halt availability of "logout" by kde - $ENV{GDMSESSION} = 1; #- disable ~/.xsession-errors in Xsession (waste of usb key writes) - $ENV{LD_LIBRARY_PATH} = "$home/lib"; - chdir $home; - exec 'startkde_move'; - } else { - exec 'xwait', '-permanent' or c::_exit(0); - } -} - -sub automatic_xconf { - my ($o) = @_; - - if (!$using_existing_host_config) { - - log::l('automatic XFree configuration'); - - any::devfssymlinkf($o->{mouse}, 'mouse'); - local $o->{mouse}{device} = 'mouse'; - - require Xconfig::default; - $o->{raw_X} = Xconfig::default::configure(class_discard->new, { KEYBOARD => 'uk' }, $o->{mouse}); #- using uk instead of us for now to have less warnings - - require Xconfig::main; - require class_discard; - - Xconfig::main::configure_everything_auto_install($o->{raw_X}, class_discard->new, {}, install_any::X_options_from_o($o)); - } - - modules::load_category('various/agpgart'); - - my $file = '/etc/X11/XF86Config'; - $file = "$file-4" if -e "$file-4"; - my ($Driver) = cat_($file) =~ /Section "Device".*Driver\s*"(.*?)"/s; - if ($Driver eq 'nvidia') { - modules::load('nvidia'); - lomount_clp('nvidia', '/usr/lib/libGLcore.so.1'); - } - my $lib = 'libGL.so.1'; - symlinkf_short(-e "/usr/lib/$lib.$Driver" ? "/usr/lib/$lib.$Driver" : "/usr/X11R6/lib/$lib", "/etc/X11/$lib"); -} - - -1; diff --git a/move/pkgs.pm b/move/pkgs.pm deleted file mode 100644 index 66f163504..000000000 --- a/move/pkgs.pm +++ /dev/null @@ -1,32 +0,0 @@ -#- $Id$ $ - -package urpm_pkg; - -sub flag_available { - return 1; -} - - -package pkgs; -use log; - -sub rpmDbOpen { - #- install_steps:343 -} - -sub packageByName { - #- install_steps:344 - return bless {}, 'urpm_pkg'; #- we'll need to call flag_available on it -} - -sub selectPackage { - #- install_steps:344 -} - -sub packagesToInstall { - #- install_steps:346 - return (); -} - - -1; diff --git a/move/runlevel_set.c b/move/runlevel_set.c deleted file mode 100644 index 94f7b5933..000000000 --- a/move/runlevel_set.c +++ /dev/null @@ -1,25 +0,0 @@ -#include <stdlib.h> -#include <unistd.h> -#include <stdio.h> -#include <string.h> -#include <utmp.h> - -int main(int argc, char **argv) -{ - struct utmp utmp; - - if (argc <= 1) { - fprintf(stderr, "need an argument\n"); - return 1; - } - - memset(&utmp, 0, sizeof(utmp)); - utmp.ut_type = RUN_LVL; - utmp.ut_pid = argv[1][0]; - - setutent(); - pututline(&utmp); - endutent(); - - return 0; -} diff --git a/move/runstage2 b/move/runstage2 deleted file mode 100755 index 481b8579c..000000000 --- a/move/runstage2 +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/perl - -#- Copyright (c) 2003 Mandrakesoft -#- -#- This program is free software; you can redistribute it and/or modify -#- it under the terms of the GNU General Public License as published by -#- the Free Software Foundation; either version 2, or (at your option) -#- any later version. -#- -#- This program is distributed in the hope that it will be useful, -#- but WITHOUT ANY WARRANTY; without even the implied warranty of -#- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -#- GNU General Public License for more details. -#- -#- You should have received a copy of the GNU General Public License -#- along with this program; if not, write to the Free Software -#- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -use lib qw(../perl-install /usr/lib/stage2 /usr/lib/libDrakX); -use install2; - -$::isStandalone = 0; -install2::main(@ARGV, '--move'); - -c::_exit(0); diff --git a/move/todo b/move/todo deleted file mode 100644 index 8a0f34158..000000000 --- a/move/todo +++ /dev/null @@ -1,39 +0,0 @@ - startup - - - drakx - -what security level? - -resize .mdkmove-user loopback if it gets too stuffed - -put .mdkmove-user loopback file at the place it will be mouted so -that user can't see the loop file on the filesystem and so can't -shoot herself by removing it - - - kde - -at startup: - Can't get own host name. Your system is serveral misconfigured -although "hostname" binary answers localhost.localdomain (set by -sethostname from init of stage1) - -font of konsole still too large and non proportional (same -problem as 9.2 it seems) - - - system running - -Click on the Menu/Doc/Howtos > Fail - - - usb key - -/etc/X11/X - is a link but vfat doesn't handle links :( - - - shutdown - -cd won't eject when there is an NFS mounted partition diff --git a/move/tools/busy-files b/move/tools/busy-files deleted file mode 100755 index 7426e785a..000000000 --- a/move/tools/busy-files +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/perl - -use MDK::Common; - -my @pids = grep { $_ ne $$ && /^(\d+)$/ } all('/proc'); - -my @l = map { - grep { - $_ && !m!^(/proc/|/dev/|pipe:|socket:)!; - } map { readlink($_) } "/proc/$_/exe", glob_("/proc/$_/fd/*"); -} @pids; - -push @l, grep { $_ } map { (split)[5] } map { cat_("/proc/$_/maps") } @pids; - -if ($ARGV[0] eq '--totem') { - @l = grep { m!/(image(_boot)?|cdrom)/! } @l; - $ARGV[0] = '--server'; -} -foreach (uniq @l) { - if ($ARGV[0] eq '--server') { - s!/image(_always|_boot|_totem)?/!/tmp/live_tree/!; - s!/cdrom/live_tree!/tmp/live_tree!; - } - print "$_\n"; -} diff --git a/move/tools/busy-files-accesses b/move/tools/busy-files-accesses deleted file mode 100644 index 241b68405..000000000 --- a/move/tools/busy-files-accesses +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/perl - -use MDK::Common; -use Getopt::Long; - -GetOptions('no-link' => \ (my $no_link), - 'no-dir' => \ (my $no_dir), - 'full-dirs=s', \ (my $full_dirs), - 'already-have=s', \ (my $already_have), -); - -if ($full_dirs) { - my @l = map { chomp_(MDK::Common::File::cat_or_die($_)) } split(' ', $full_dirs); - $full_dirs = '/tmp/live_tree(' . join('|', map { quotemeta } @l) . ')/'; -} -if ($already_have) { - my @l = map { chomp_(MDK::Common::File::cat_or_die($_)) } split(' ', $already_have); - $already_have = '(' . join('|', map { quotemeta } @l) . ')'; -} - -my ($file_list) = @ARGV; -foreach my $file (cat_($file_list)) { - chomp $file; - - $file =~ m!/tmp/live_tree! or next; - $already_have && $file =~ /^$already_have$/ and next; - - if (-l $file ? !$no_link : -d $file ? !$no_dir : 1) { - my $s = $full_dirs && $file =~ /^$full_dirs/ ? "/tmp/live_tree$1" : $file; - push @l, $s; - } -} - -print "$_\n" foreach sort(uniq(@l)); diff --git a/move/tools/check-fc-cache.pl b/move/tools/check-fc-cache.pl deleted file mode 100644 index 42902835f..000000000 --- a/move/tools/check-fc-cache.pl +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/perl - -# check if files are more recent (fc-cache will slow down starting of drakx) - -use MDK::Common; - -sub stat_ { - my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,$blksize,$blocks) = stat $_[0]; - max($mtime, $ctime); -} - -my $prefix = $ARGV[0] || '/tmp/live_tree'; - -my @conf = cat_("$prefix/etc/fonts/fonts.conf"); - -foreach my $line (@conf) { - while ($line =~ m|<dir>([^<]+)</dir|g) { - my $dir = $1; - $dir =~ m|^/| or next; - print "dir $prefix$dir\n"; - foreach my $d (chomp_(`find $prefix$dir -type d 2>/dev/null`)) { - my $ref = stat_("$d/fonts.cache-1"); - stat_($_) > $ref and print "\t$_\n" foreach glob("$d/*"); - } - } -} - diff --git a/move/tools/fix-fc-cache.pl b/move/tools/fix-fc-cache.pl deleted file mode 100755 index 720c94141..000000000 --- a/move/tools/fix-fc-cache.pl +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/perl - -# touch fontconfig cache files so that fc-cache will not slow down starting of drakx - -use MDK::Common; - -my ($prefix) = @ARGV or die "usage: $0 <prefix>\n"; - -my @conf = cat_("$prefix/etc/fonts/fonts.conf"); - -print "touching fontconfig cache files...\n"; -foreach my $line (@conf) { - while ($line =~ m|<dir>([^<]+)</dir|g) { - my $dir = $1; - $dir =~ m|^/| or next; - foreach my $d (chomp_(`find $prefix$dir -type d 2>/dev/null`)) { - touch "$d/fonts.cache-1"; - } - } -} - diff --git a/move/tools/kernel-nfsd.patch b/move/tools/kernel-nfsd.patch deleted file mode 100644 index a169edb14..000000000 --- a/move/tools/kernel-nfsd.patch +++ /dev/null @@ -1,61 +0,0 @@ ---- linux-2.6.3/fs/nfsd/vfs.c.pix 2004-02-18 04:57:29.000000000 +0100 -+++ linux-2.6.3/fs/nfsd/vfs.c 2004-04-05 15:56:35.423508058 +0200 -@@ -444,6 +444,41 @@ - - - -+static unsigned int i2a(char* dest,unsigned int x) { -+ register unsigned int tmp=x; -+ register unsigned int len=0; -+ if (x>=100) { *dest++=tmp/100+'0'; tmp=tmp%100; ++len; } -+ if (x>=10) { *dest++=tmp/10+'0'; tmp=tmp%10; ++len; } -+ *dest++=tmp+'0'; -+ return len+1; -+} -+ -+static char *inet_ntoa_r(struct in_addr in,char* buf) { -+ unsigned int len; -+ unsigned char *ip=(unsigned char*)∈ -+ len=i2a(buf,ip[0]); buf[len]='.'; ++len; -+ len+=i2a(buf+ len,ip[1]); buf[len]='.'; ++len; -+ len+=i2a(buf+ len,ip[2]); buf[len]='.'; ++len; -+ len+=i2a(buf+ len,ip[3]); buf[len]=0; -+ return buf; -+} -+ -+static char *inet_ntoa(struct in_addr in) { -+ static char buf[20]; -+ return inet_ntoa_r(in,buf); -+} -+ -+static void printk_debug_file_access(struct svc_rqst *rqstp, struct dentry *dentry) { -+ printk("nfsd (%s): ", inet_ntoa(rqstp->rq_addr.sin_addr)); -+ while (1) { -+ if (dentry == dentry->d_parent) break; -+ printk("%s/", dentry->d_name.name); -+ dentry = dentry->d_parent; -+ } -+ printk("\n"); -+} -+ -+ - /* - * Open an existing file or directory. - * The access argument indicates the type of open (read/write/lock) -@@ -502,6 +537,8 @@ - } else if (access & MAY_WRITE) - put_write_access(inode); - -+ if (err == 0) printk_debug_file_access(rqstp, dentry); -+ - out_nfserr: - if (err) - err = nfserrno(err); -@@ -1156,6 +1193,7 @@ - goto out_nfserr; - *lenp = err; - err = 0; -+ printk_debug_file_access(rqstp, dentry); - out: - return err; - diff --git a/move/tools/nfs-accesses b/move/tools/nfs-accesses deleted file mode 100755 index f27de0d37..000000000 --- a/move/tools/nfs-accesses +++ /dev/null @@ -1,67 +0,0 @@ -#!/usr/bin/perl - -use MDK::Common; -use Getopt::Long; - -my $first_file; -my $log_file = '/var/log/kernel/warnings'; - -GetOptions('no-link' => \ (my $no_link), - 'no-dir' => \ (my $no_dir), - 'full-dirs=s', \ (my $full_dirs), - 'ip=s' => \ (my $wanted_ip), - 'log-file=s' => \$log_file, - 'first-file=s' => \ (my $first_file), - 'from-time=s', => \ (my $from_time), - 'already-have=s', \ (my $already_have), - ); - -my @skipped_dirs = ( - '/usr/share/fonts', - '/lib/modules/2.4.22-21mdk', - '/usr/X11R6/lib/modules/extensions', - '/usr/X11R6/lib/X11/fonts', - '/usr/lib/kbd/keymaps', - '/usr/share/locale', - '/etc/skel', - ); - -my $skipped_dirs = '/tmp/live_tree(' . join('|', map { quotemeta } @skipped_dirs) . ')/'; -if ($full_dirs) { - my @l = chomp_(map { MDK::Common::File::cat_or_die($_) } split(' ', $full_dirs)); - $full_dirs = '/tmp/live_tree(' . join('|', map { quotemeta } @l) . ')/'; -} -if ($already_have) { - my @l = map { chomp_(MDK::Common::File::cat_or_die($_)) } split(' ', $already_have); - $already_have = '(' . join('|', map { quotemeta } @l) . ')'; -} - -open(my $F, "tac $log_file |"); - -my @l; -while (<$F>) { - my ($time, $ip, $rfile) = /(\d+:\d+:\d+).*kernel: nfsd \((.*?)\): (.*)/ or next; - - if ($wanted_ip) { - $wanted_ip eq $ip or next; - } else { - warn "choosing $ip\n"; - $wanted_ip = $ip; - } - my $file = join('/', '', reverse split('/', $rfile)); - - last if $file =~ m!/tmp/live_tree/move/(devices|symlinks)!; - last if $from_time && $time le $from_time; - - $already_have && $file =~ /^$already_have$/ and next; - - if ($file !~ /^$skipped_dirs/) { - if (-l $file ? !$no_link : -d $file ? !$no_dir : 1) { - my $s = $full_dirs && $file =~ /^$full_dirs/ ? "/tmp/live_tree$1" : $file; - unshift @l, $s; - } - } - last if $first_file && ($file eq "/tmp/live_tree$first_file" || $rfile eq $first_file); -} - -print "$_\n" foreach sort(uniq(@l)); diff --git a/move/tools/scan-etc.pl b/move/tools/scan-etc.pl deleted file mode 100755 index 66415d4de..000000000 --- a/move/tools/scan-etc.pl +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/perl - -# To be used replacing move::init handling of etc files with: -# -# system("cp -a /image/etc /"); -# symlinkf "/proc/mounts", "/etc/mtab"; -# system("find /etc -type f > /tmp/filelist"); -# touch '/dummy'; -# m|^/var| && !-d $_ and mkdir_p $_ foreach chomp_(cat_('/image/move/directories-to-create')); -# sleep 2; -# goto meuh; - -use MDK::Common; - -sub stat_ { - my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,$blksize,$blocks) = stat $_[0]; - [ $atime, max($mtime, $ctime) ]; -} - -our $reference = (stat_('/dummy'))->[0]; - -our @old_filelist = chomp_(cat_("/tmp/filelist")); -foreach (chomp_(`find /etc -type f`)) { - if (!member($_, @old_filelist)) { - push @new, $_; - } else { - $times = stat_($_); - $times->[0] > $reference and push @read, $_; - $times->[1] > $reference and push @wrote, $_; - } -} - -print "read:\n"; -print "\t$_\n" foreach sort @read; - -print "wrote:\n"; -print "\t$_\n" foreach sort @wrote; - -print "new:\n"; -print "\t$_\n" foreach sort @new; - diff --git a/move/tree/X_move b/move/tree/X_move deleted file mode 100755 index dde4bcc32..000000000 --- a/move/tree/X_move +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -ok=0 -lastdate1=0 -lastdate0=0 -while [ "$ok" == 0 -a ! -s /var/run/rebootctl ]; do - lastdate2=$lastdate1 - lastdate1=$lastdate0 - lastdate0=`date +%s` - if [ `expr $lastdate0 - $lastdate2` -lt 40 ]; then - echo "X server respawning too fast :(, dropping to a shell" - bash - fi - X $@ - ok=$? -done diff --git a/move/tree/alsa_default.pl b/move/tree/alsa_default.pl deleted file mode 100755 index 28b06cc04..000000000 --- a/move/tree/alsa_default.pl +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/perl -pi - -# state machine: -if (/\s*control\./) { - ($min, $max) = (0, 0); -} elsif (/\s*name '/) { - # skip masks and blacklist sb live and the like: - $ignore = /\s*name '.*(3D Control|AC97 Playback Volume|Audigy Analog\/Digital Output Jack|External Amplifier Power Down|Exchange DAC|IEC958 input monitor|IEC958 Capture Monitor|IEC958 Playback Switch|mask|Mic Boost \(\+20dB\)|Mic Playback Switch|Output Jack|Surround down mix)/i; -} elsif (!$ignore) { - if (/s*comment.range '(\d+) - (\d+)'/) { - ($min, $max) = ($1, $2); - } elsif (/s*value/) { - # enable switches: - s/(value\w*\S*)\s* false/\1 true/; - # set volume to 80%: - my $val = int($max*0.8); - s/(value\w*\S*)\s* \d+/\1 $val/; - } -} diff --git a/move/tree/halt b/move/tree/halt deleted file mode 100755 index c8431ac03..000000000 --- a/move/tree/halt +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -echo "halt" > /var/run/rebootctl -sudo killall -USR1 startkde_move -sudo killall X diff --git a/move/tree/kdedrc b/move/tree/kdedrc deleted file mode 100644 index a58482a55..000000000 --- a/move/tree/kdedrc +++ /dev/null @@ -1,7 +0,0 @@ -[General] -CheckSycoca=false -CheckUpdates=false -CheckHostname=false - -[Move] -Rebuild=false diff --git a/move/tree/konsolerc b/move/tree/konsolerc deleted file mode 100644 index fb7658ad3..000000000 --- a/move/tree/konsolerc +++ /dev/null @@ -1,19 +0,0 @@ -[Desktop Entry] -ActiveSession=0 -DefaultSession=shell.desktop -Height 600=410 -Width 800=582 -bellmode=1 -defaultfont=Fixed,13,-1,5,48,0,0,0,1,0 -history=0 -historyenabled=true -keytab=default - -[konsole-mainwindow#1 Toolbar style] -Hidden=false -IconSize=22 -IconText=IconOnly -Index=0 -NewLine=false -Offset=-1 -Position=Bottom diff --git a/move/tree/mdk_behind_totem b/move/tree/mdk_behind_totem deleted file mode 100755 index 028077821..000000000 --- a/move/tree/mdk_behind_totem +++ /dev/null @@ -1,106 +0,0 @@ -#!/bin/bash - -ok=1 - -while [ -n "$1" ]; do - case "$1" in - --lang) - lang="$2" - shift - shift - ;; - --i18n-loop) - i18n_loop="$2" - shift - shift - ;; - --boot-loop) - boot_loop="$2" - shift - shift - ;; - --main-loop) - main_loop="$2" - shift - shift - ;; - --totem-pid) - totem_pid="$2" - shift - shift - ;; - --user) - USER="$2" - shift - shift - ;; - --restore-cmd) - RESTORE_CMD="$2" - shift - shift - ;; - *) - ok='' - shift - esac -done - -if [ -z "$totem_pid" -o -z "$ok" ]; then - printf "Usage: mdk_behind_totem [--boot-loop <loop>] [--main-loop <loop>] --totem-pid <pid>\n" - exit 1 -fi - -exec &> /tmp/mdk_behind_totem.log - -trap 'umount_cd' USR1 - -umount_cd() { - echo umount_cd - - umount /image_i18n_$lang - losetup -d /dev/$i18n_loop - - umount /image_boot - losetup -d /dev/$boot_loop - - ln -sf /image_always/lib / - - if [ -L /image ]; then - rm -f /image - else - umount /image && \ - /image_always/sbin/losetup -d /dev/$main_loop || { mount_cd; kill $totem_pid; exec mdk_totem; } - fi - - /image_always/usr/bin/eject -} - -mount_cd() { - echo mount_cd - if [ -e /cdrom/live_tree.clp ]; then - /image_always/sbin/losetup -r -e gz /dev/$main_loop /cdrom/live_tree.clp - /image_always/bin/mount -r /dev/$main_loop /image - else - ln -sf /cdrom/live_tree /image - fi - - losetup -r -e gz /dev/$boot_loop /cdrom/live_tree_boot.clp - mount -r /dev/$boot_loop /image_boot - - losetup -r -e gz /dev/$i18n_loop /cdrom/live_tree_i18n_$lang.clp - mount -r /dev/$i18n_loop /image_i18n_$lang - - ln -sf /image/lib / - - mdk_move_loop to_cdrom always always_i18n totem nvidia - - # restore killed kde apps - su -c "$RESTORE_CMD" $USER -} - -while [ -e "/proc/$totem_pid" ]; do - echo "waiting..." - /image_totem/bin/sleep 1 -done - -mount_cd diff --git a/move/tree/mdk_move_boot_loop.desktop b/move/tree/mdk_move_boot_loop.desktop deleted file mode 100644 index 5d82a7875..000000000 --- a/move/tree/mdk_move_boot_loop.desktop +++ /dev/null @@ -1,8 +0,0 @@ -[Desktop Entry] -Name=Move Move Loop -Exec=mdk_move_loop to_cdrom always always_i18n boot totem -Type=Application -Terminal=0 -X-KDE-autostart-after=panel -X-KDE-autostart-after=mdkhtmlbrowser -X-KDE-StartupNotify=false diff --git a/move/tree/mdk_move_loop b/move/tree/mdk_move_loop deleted file mode 100755 index b98c4a417..000000000 --- a/move/tree/mdk_move_loop +++ /dev/null @@ -1,56 +0,0 @@ -#!/usr/bin/perl - -sub name2file { - my ($name) = @_; - "live_tree_$name.clp"; -} - -sub get_file2loop { - my %file2loop; - foreach (0 .. 9) { - my ($file) = `sudo losetup /dev/loop$_ 2>/dev/null` =~ m!\([^)]*/([^)]*)\)! or last; - $file2loop{$file} = "loop$_"; - } - %file2loop; -} - -sub to_memory { - my ($loop, $file) = @_; - - return if -e "/tmp/$file"; - - if (-e "/$file") { - system("sudo mv /$file /tmp"); - } else { - system("sudo cp /cdrom/$file /tmp"); - } - system("sudo losetup /dev/$loop /tmp/$file"); -} - -sub to_cdrom { - my ($loop, $file) = @_; - my $f = -e "/$file" ? "/$file" : -e "/tmp/$file" ? "/tmp/$file" : return; - system("sudo losetup /dev/$loop /cdrom/$file"); - system("sudo rm $f"); -} - -sub usage() { die "usage: mdk_move_loop <to_cdrom | to_memory> [names ...]\n" } - -my ($direction, @names) = @ARGV; -my $f = $direction eq 'to_memory' && \&to_memory || $direction eq 'to_cdrom' && \&to_cdrom; -$f && @names or usage(); - -my %file2loop = get_file2loop(@names); - -foreach my $name (@names) { - if ($name eq 'always_i18n') { - /(always_i18n.*)\.clp/ and $name = $1 foreach keys %file2loop; - } - my $file = name2file($name); - my $loop = $file2loop{$file} or next; - $f->($loop, $file); -} - -if ($ENV{GIVE_LOOP}) { - print "$_=$file2loop{$_}\n" foreach keys %file2loop; -} diff --git a/move/tree/mdk_totem b/move/tree/mdk_totem deleted file mode 100755 index 0a54248ac..000000000 --- a/move/tree/mdk_totem +++ /dev/null @@ -1,125 +0,0 @@ -#!/usr/bin/perl - -use lib qw(../../perl-install /usr/lib/libDrakX); -use common; -use interactive; - -sub busy_pids_and_files() { - my @pids = grep { $_ ne $$ && /^(\d+)$/ } all('/proc'); - - map { - - my @l1 = grep { - $_ && !m!^(/proc/|/dev/|pipe:|socket:)!; - } map { readlink($_) } "/proc/$_/exe", glob_("/proc/$_/fd/*"); - - my @l2 = grep { $_ } map { (split)[5] } cat_("/proc/$_/maps"); - - if (my @l = grep { m!^/(image(_boot)?|cdrom/live_tree)/! } @l1, @l2) { - my $cmdline = join(' ', split('\0', cat_("/proc/$_/cmdline"))); - my $exe = readlink("/proc/$_/exe"); - { pid => $_, cmdline => $cmdline, exe => $exe, files => [ sort(uniq(@l)) ] }; - } else { - (); - } - } @pids; -} - -my @to_restart_progs = qw(kded kdesktop kicker); -my $restart_progs = join(";", @to_restart_progs); -my @simple_daemons = qw(kdesud kio_uiserver klaptopdaemon artsd portmap); -sub simple_daemon { - my ($e) = @_; - my $re = join('|', @to_restart_progs, @simple_daemons); - $e->{cmdline} =~ m!\b($re)\b! -} - -my $in = interactive->vnew; - -my @busy = busy_pids_and_files(); - -my $needed_processes = join('|', map { quotemeta } - 'init', - 'xfs', - 'kdeinit: Running...', - '/etc/X11/X', - '/sbin/devfsd', - ); - -if (!$ENV{DEBUG} && find { $_->{cmdline} =~ /^($needed_processes)/ } @busy) { - exec 'totem' if $in->ask_okcancel('', N("You can only run with no CDROM support")); - $in->exit(1); -} - -my ($simple_daemons, $bad_busy) = partition { simple_daemon($_) } @busy; -if (@$bad_busy) { - warn '*' x 80, "\n"; - warn join("\n", "$_->{exe} ($_->{cmdline}) =>", map { " $_" } @{$_->{files}}) . "\n" foreach @$bad_busy; - warn '*' x 80, "\n"; - - my @progs = map { - my $s = $_->{cmdline}; - $s =~ s!^/usr/bin/perl\s+([^-]\S*).*!$1!; - $s =~ s!/.*/!!; - $s =~ s!^kdeinit:\s+(\S+).*!$1!; - $s =~ s!\s.*!!; - $s; - } @$bad_busy; - - my $choice = 'quit'; - my @l = my %l = ( - kill => N("Kill those programs"), - keep => N("No CDROM support"), - ); - - $in->ask_from_({ - title => N("Read carefully!"), - messages => N("You can not use another CDROM when the following programs are running: -%s", join(", ", uniq(sort @progs))) }, - [ { type => 'list', val => \$choice, list => first(list2kv(@l)), format => sub { $l{$_[0]} } } ]) or $in->exit; - - if ($choice eq 'keep') { - exec 'totem' or $in->exit; - } else { - system('sudo', 'kill', map { $_->{pid} } @$bad_busy); - sleep 2; - system('sudo', 'kill', '-9', map { $_->{pid} } @$bad_busy); - } -} - -kill 15, map { $_->{pid} } @$simple_daemons; -sleep 1; - -@busy = busy_pids_and_files(); #- update list -if (@busy) { - system($restart_progs); - exec 'totem' if $in->ask_okcancel('', N("You can only run with no CDROM support")); - $in->exit(1); -} - -my %file2loop = do { - my $_w = $in->wait_message('', N("Copying to memory to allow removing the CDROM")); - `GIVE_LOOP=1 mdk_move_loop to_memory always always_i18n totem nvidia` =~ /(.*?)=(.*)/g; -}; - -ugtk2::gtkset_mousecursor_normal(); #- for restoring a normal in any case -ugtk2::flush(); - -my ($lang) = map { if_(/live_tree_i18n_(.*)\.clp/, $1) } keys %file2loop; -my $totem_pid = $$; - -if (my $pid = fork()) { - $ENV{MDKMOVE} = $pid; - $ENV{G_BROKEN_FILENAMES} = 1; - exec 'totem'; -} else { - exec 'sudo', 'mdk_behind_totem', - '--lang', $lang, - '--i18n-loop', $file2loop{"live_tree_i18n_$lang.clp"}, - '--boot-loop', $file2loop{'live_tree_boot.clp'}, - '--boot-loop', $file2loop{'live_tree_boot.clp'}, - '--main-loop', $file2loop{'live_tree.clp'}, - '--totem-pid', $totem_pid, - '--user', $ENV{USER}, - '--restore-cmd', $restart_progs; -} diff --git a/move/tree/mdk_totem.desktop b/move/tree/mdk_totem.desktop deleted file mode 100644 index 85511c1db..000000000 --- a/move/tree/mdk_totem.desktop +++ /dev/null @@ -1,12 +0,0 @@ -[Desktop Entry] -Name=Multimedia Player for CDs/DVDs -Comment=Play movies and songs -Exec=mdk_totem -Icon=totem.png -Type=Application -Terminal=false - -Name[fr]=Lecteur Multimédia pour CDs/DVDs -Name[it]=Lettore Multimediale di CD/DVDs -Name[de]=Multimedia-Player für CDs/DVDs -Name[es]=Reproductor multimedios para CD/DVD diff --git a/move/tree/netscape b/move/tree/netscape deleted file mode 100755 index 922d33bc5..000000000 --- a/move/tree/netscape +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -$BROWSER "$@" diff --git a/move/tree/reboot b/move/tree/reboot deleted file mode 100755 index b4b1d4ede..000000000 --- a/move/tree/reboot +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -echo "reboot" > /var/run/rebootctl -sudo killall -USR1 startkde_move -sudo killall X diff --git a/move/tree/sound.initscript b/move/tree/sound.initscript deleted file mode 100755 index 919a9b875..000000000 --- a/move/tree/sound.initscript +++ /dev/null @@ -1,116 +0,0 @@ -#!/bin/sh -# (c) Mandrakesoft, Chmouel Boudjnah <chmouel@mandrakesoft.com> -# $Id$ -# -# sound: This shell script launch the sound on your system. -# -# chkconfig: 2345 18 69 -# description: This shell script launch the sound on your system. - -. /etc/rc.d/init.d/functions - -PKLVL=$(cut -f1 /proc/sys/kernel/printk) -sysctl -n -w kernel.printk=0 - -function start_mixer () { - # ALSA - if [ -d /proc/asound ] && [ -x /usr/sbin/alsactl ]; then - # is ALSA already configured ? - if [[ ! -r /etc/asound.state ]]; then - # provide decent default sound level for alsa drivers - if [ -d /proc/asound ] && [ -x /usr/sbin/alsactl ];then - MIXER_SETTINGS=/root/tmp/asound.state_tmp - alsactl -f $MIXER_SETTINGS store - # set some sane default volume and unmute needed channels: - /usr/bin/alsa_default.pl $MIXER_SETTINGS - action "Setting mixer settings" alsactl -f $MIXER_SETTINGS restore - rm -f $MIXER_SETTINGS - return 0 - fi - # if we've not alsa-utils, we'll fallback on OSS initialization below - else - # Not first boot: - # Done by alsa service but only if sound service is not - # enabled (hance this code path). - # We'll merge in back aksa service once mdk9.2 is released. - # [but we'll still handle both aumix & alsactl in order - # to manage packages removing / driver switch] - action "Loading mixer settings" /usr/sbin/alsactl restore - return 0 - fi - fi - # OSS - if egrep -q '(sparcaudio|sound)' /proc/devices 2>/dev/null && \ - [ "$retval" -eq 0 ] && [ -x /usr/bin/aumix ];then - if [ ! -r /etc/.aumixrc ];then - action "Setting mixer settings" /usr/bin/aumix -v80 -w80 -c80 - else - action "Loading mixer settings" /usr/bin/aumix -f /etc/.aumixrc -L - fi - fi -} - -function stop_mixer () { - if [ -d /proc/asound ] && [ -x /usr/sbin/alsactl ];then - # done by alsa service (to merge back after mdk9.2 release) - #action "Saving mixer settings" /usr/sbin/alsactl store - return 0; - fi - if egrep -q '(sparcaudio|sound)' /proc/devices 2>/dev/null && [ -x /usr/bin/aumix ];then - action "Saving mixer settings" /usr/bin/aumix -f /etc/.aumixrc -S - fi -} - -function module () { - opt="" - phrase=$1 - alias=$2 - [ -n "$3" ] && opt="-r" - module=`/sbin/modprobe -c | egrep -s "^alias( |\t)+"$alias"( |\t)+" | awk '{ print $3 }'` - if [ -n "$module" ] && [ "$module" != "off" ];then - action "$phrase ($module)" modprobe "$opt" $module - return $? - fi -} - -case $1 in - start) - retval=0 - if [ ! -d /proc/asound ];then - module "Loading sound module" sound || retval=1 - /sbin/modprobe -c | awk '/^((alias)|(probe)) +sound-slot-[0-9]/ {print $2}' | ( \ - while read line; do - [[ $line = snd-card-* ]] && continue #we do it via alsa script - module "Loading sound module" $line || retval=1 - done - ) - module "Loading midi module" midi - fi - start_mixer; - touch /var/lock/subsys/sound - ;; - stop) - # i should have the same semantic of alsa script than oss script, - # but i do not :-(, patches welcome. - stop_mixer; - rm -f /var/lock/subsys/sound - ;; - status) - if egrep -q '(sparcaudio|sound)' /proc/devices;then - gprintf "Sound loaded" - echo - fi - ;; - reload) - ;; - restart) - $0 stop - $0 start - ;; - *) - echo "Usage: %s\n" "$(basename $0) {start|stop|restart|status}" - exit 0 -esac - -sysctl -n -w kernel.printk=$PKLVL -exit 0 diff --git a/move/tree/startkde_move b/move/tree/startkde_move deleted file mode 100755 index a455ee580..000000000 --- a/move/tree/startkde_move +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -#- exit cleanly on SIGUSR1, so that our init can see a clean shutdown and automatically reboot -reboot () { - exit 0 -} -trap 'reboot' SIGUSR1 - -while true; do - wait4x || exit 1 - xwait -permanent & - xdim=`xdpyinfo | perl -ne 'print $1 if /dimensions:\s*(\d+)/'` - qiv --root /image/move/BOOT-$xdim-MOVE.jpg - /etc/X11/xdm/Xsession KDE #- call it with KDE parameter to keep background image - sudo killall X - sleep 2 -done diff --git a/move/tree/sudoers b/move/tree/sudoers deleted file mode 100644 index 49615de98..000000000 --- a/move/tree/sudoers +++ /dev/null @@ -1 +0,0 @@ -ALL ALL = NOPASSWD: ALL diff --git a/move/tree/wait4x b/move/tree/wait4x deleted file mode 100755 index a3158f1bd..000000000 --- a/move/tree/wait4x +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/perl - -use MDK::Common; -use lib qw(/usr/lib/libDrakX); -use xf86misc::main; - -my $nb = 0; -$| = 1; -print "waiting for X"; -foreach (1..30) { - print "."; - sleep 1; - print("no X server :(\n"), exit 1 if !fuzzy_pidofs(qr/\bX_move\b/); - $nb++ if xf86misc::main::Xtest(':0'); - if ($nb > 2) { #- one succeeded test is not enough :-( - print "found\n"; - exit 0; - } -} -print "not found\n"; -exit 1; diff --git a/move/xwait.c b/move/xwait.c deleted file mode 100644 index 07a693514..000000000 --- a/move/xwait.c +++ /dev/null @@ -1,19 +0,0 @@ -#include <stdlib.h> -#include <X11/Xlib.h> - -int main(int argc, char **argv) { - int permanent = argc > 1 && !strcmp(argv[1], "-permanent"); - Display *display = XOpenDisplay(NULL); - - if (display) { - XEvent event; - - XSelectInput(display, DefaultRootWindow(display), SubstructureNotifyMask); - do { - XNextEvent(display, &event); - } while (event.type != CreateNotify || permanent); - XCloseDisplay(display); - } - - exit(display == NULL); -} |