diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-10-22 16:20:24 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-10-22 16:20:24 +0000 |
commit | 4a5604021581abcbf0d9c8c5eb88f18cfb1c83df (patch) | |
tree | 78142e34d0052b92dad7fda17d59dc45dae19826 /move | |
parent | 12b36a5be288c96173918b72f2ad58afba177215 (diff) | |
download | drakx-backup-do-not-use-4a5604021581abcbf0d9c8c5eb88f18cfb1c83df.tar drakx-backup-do-not-use-4a5604021581abcbf0d9c8c5eb88f18cfb1c83df.tar.gz drakx-backup-do-not-use-4a5604021581abcbf0d9c8c5eb88f18cfb1c83df.tar.bz2 drakx-backup-do-not-use-4a5604021581abcbf0d9c8c5eb88f18cfb1c83df.tar.xz drakx-backup-do-not-use-4a5604021581abcbf0d9c8c5eb88f18cfb1c83df.zip |
add make_live_tree_boot
Diffstat (limited to 'move')
-rw-r--r-- | move/Makefile | 14 | ||||
-rw-r--r-- | move/data/boot.list | 495 | ||||
-rwxr-xr-x | move/make_live_tree_boot | 60 |
3 files changed, 568 insertions, 1 deletions
diff --git a/move/Makefile b/move/Makefile index 3f94b72cd..dcf7aa6cd 100644 --- a/move/Makefile +++ b/move/Makefile @@ -56,10 +56,22 @@ install: build sudo rm -f $(DEST_LIVETREE)/lock +live_tree_boot: + ./make_live_tree_boot + $(MAKE) /tmp/live_tree_boot.clp + +un_live_tree_boot: + ./make_live_tree_boot -u + xwait: %: %.c $(CC) $(CFLAGS) $< -L/usr/X11R6/$(LIB_NAME) -lX11 -o $@ clean: rm -f xwait -# mkisofs -D -U -r $(DEST_LIVETREE) | create_compressed_fs - 65536 $(DEST_LIVETREE).clp 2000 2>/dev/null +%.clp: % + if [ -e $<.sort ]; then \ + mkisofs -r -sort $<.sort $< | create_compressed_fs - 65536 $@ 2000 2>/dev/null ; \ + else \ + mkisofs -r $< | create_compressed_fs - 65536 $@ 2000 2>/dev/null ; \ + fi
\ No newline at end of file diff --git a/move/data/boot.list b/move/data/boot.list new file mode 100644 index 000000000..02d8748cf --- /dev/null +++ b/move/data/boot.list @@ -0,0 +1,495 @@ +/tmp/live_tree/usr/bin/runstage2.pl +/tmp/live_tree/lib/libnsl-2.3.2.so +/tmp/live_tree/lib/libdl-2.3.2.so +/tmp/live_tree/lib/libcrypt-2.3.2.so +/tmp/live_tree/lib/libutil-2.3.2.so +/tmp/live_tree/usr/lib/perl5/5.8.1/i386-linux-thread-multi/lib.pm +/tmp/live_tree/usr/lib/perl5/5.8.1/i386-linux-thread-multi/Config.pm +/tmp/live_tree/usr/lib/perl5/5.8.1/strict.pm +/tmp/live_tree/usr/lib/libDrakX/steps.pm +/tmp/live_tree/usr/lib/perl5/vendor_perl/5.8.1/MDK/Common.pm +/tmp/live_tree/usr/lib/perl5/vendor_perl/5.8.1/MDK/Common/DataStructure.pm +/tmp/live_tree/usr/lib/perl5/vendor_perl/5.8.1/MDK/Common/Math.pm +/tmp/live_tree/usr/lib/perl5/5.8.1/vars.pm +/tmp/live_tree/usr/lib/perl5/5.8.1/Carp.pm +/tmp/live_tree/usr/lib/perl5/vendor_perl/5.8.1/MDK/Common/Func.pm +/tmp/live_tree/usr/lib/perl5/vendor_perl/5.8.1/MDK/Common/File.pm +/tmp/live_tree/usr/lib/perl5/vendor_perl/5.8.1/MDK/Common/String.pm +/tmp/live_tree/usr/lib/perl5/vendor_perl/5.8.1/MDK/Common/System.pm +/tmp/live_tree/usr/lib/perl5/vendor_perl/5.8.1/MDK/Common/Various.pm +/tmp/live_tree/usr/lib/libDrakX/run_program.pm +/tmp/live_tree/usr/lib/libDrakX/log.pm +/tmp/live_tree/usr/lib/perl5/5.8.1/i386-linux-thread-multi/DynaLoader.pm +/tmp/live_tree/usr/lib/perl5/5.8.1/AutoLoader.pm +/tmp/live_tree/lib/libext2fs.so.2.4 +/tmp/live_tree/usr/X11R6/lib/libX11.so.6.2 +/tmp/live_tree/usr/X11R6/lib/libXext.so.6.4 +/tmp/live_tree/usr/lib/librpm-4.2.so +/tmp/live_tree/usr/lib/librpmdb-4.2.so +/tmp/live_tree/usr/lib/librpmio-4.2.so +/tmp/live_tree/lib/libpopt.so.0.0.0 +/tmp/live_tree/lib/libz.so.1.1.4 +/tmp/live_tree/lib/libcom_err.so.2.1 +/tmp/live_tree/usr/lib/libelf-0.84.so +/tmp/live_tree/usr/lib/libbz2.so.1.0.0 +/tmp/live_tree/usr/lib/libDrakX/partition_table.pm +/tmp/live_tree/usr/lib/libDrakX/partition_table/raw.pm +/tmp/live_tree/usr/lib/libDrakX/devices.pm +/tmp/live_tree/usr/lib/libDrakX/detect_devices.pm +/tmp/live_tree/usr/lib/perl5/5.8.1/i386-linux-thread-multi/syscall.ph +/tmp/live_tree/usr/lib/perl5/5.8.1/i386-linux-thread-multi/_h2ph_pre.ph +/tmp/live_tree/usr/lib/perl5/5.8.1/i386-linux-thread-multi/sys/syscall.ph +/tmp/live_tree/usr/lib/perl5/5.8.1/i386-linux-thread-multi/asm/unistd.ph +/tmp/live_tree/usr/lib/perl5/5.8.1/i386-linux-thread-multi/bits/syscall.ph +/tmp/live_tree/usr/lib/libDrakX/fsedit.pm +/tmp/live_tree/usr/lib/libDrakX/loopback.pm +/tmp/live_tree/usr/lib/libDrakX/fs.pm +/tmp/live_tree/usr/lib/libDrakX/swap.pm +/tmp/live_tree/usr/lib/libDrakX/modules.pm +/tmp/live_tree/usr/lib/libDrakX/list_modules.pm +/tmp/live_tree/usr/lib/libDrakX/lang.pm +/tmp/live_tree/usr/lib/perl5/5.8.1/i386-linux-thread-multi/XSLoader.pm +/tmp/live_tree/usr/lib/libDrakX/any.pm +/tmp/live_tree/usr/lib/libDrakX/keyboard.pm +/tmp/live_tree/usr/lib/libDrakX/mouse.pm +/tmp/live_tree/usr/share/VERSION +/tmp/live_tree/etc/modules.conf +/tmp/live_tree/etc/man.config +/tmp/live_tree/etc/services +/tmp/live_tree/etc/shells +/tmp/live_tree/etc/inputrc +/tmp/live_tree/etc/ld.so.conf +/tmp/live_tree/etc/DIR_COLORS +/tmp/live_tree/etc/bashrc +/tmp/live_tree/etc/profile +/tmp/live_tree/etc/devfsd.conf +/tmp/live_tree/etc/modules.devfs +/tmp/live_tree/etc/gnome-vfs-mime-magic +/tmp/live_tree/etc/nsswitch.conf +/tmp/live_tree/etc/login.defs +/tmp/live_tree/etc/ld.so.cache +/tmp/live_tree/etc/X11/encodings.dir +/tmp/live_tree/etc/passwd +/tmp/live_tree/etc/group +/tmp/live_tree/sbin/devfsd +/tmp/live_tree/lib/libnss_files-2.3.2.so +/tmp/live_tree/lib/security/pam_console_apply_devfsd.so +/tmp/live_tree/etc/devfs/conf.d//dynamic.conf +/tmp/live_tree/etc/security/console.perms +/tmp/live_tree/etc/dynamic/scripts/part.script +/tmp/live_tree/lib/libtermcap.so.2.0.8 +/tmp/live_tree/etc/dynamic/scripts/functions.script +/tmp/live_tree/bin/basename +/tmp/live_tree/bin/gawk +/tmp/live_tree/bin/grep +/tmp/live_tree/lib/libpcre.so.0.0.1 +/tmp/live_tree/sbin/runlevel +/tmp/live_tree/usr/share/ldetect-lst/pcitable +/tmp/live_tree/sbin/modprobe-24 +/tmp/live_tree/bin/bash +/tmp/live_tree/usr/lib/libDrakX/modules/interactive.pm +/tmp/live_tree/usr/lib/libDrakX/interactive.pm +/tmp/live_tree/bin/id +/tmp/live_tree/etc/profile.d/10lang.sh +/tmp/live_tree/etc/profile.d/alias.sh +/tmp/live_tree/usr/bin/dircolors +/tmp/live_tree/usr/bin/locale +/tmp/live_tree/etc/profile.d/configure_keyboard.sh +/tmp/live_tree/usr/lib/libDrakX/interactive/gtk.pm +/tmp/live_tree/bin/uname +/tmp/live_tree/usr/lib/libDrakX/ugtk2.pm +/tmp/live_tree/usr/bin/dumpkeys +/tmp/live_tree/usr/lib/libctutils.so.0.0.0 +/tmp/live_tree/usr/lib/libconsole.so.0.0.0 +/tmp/live_tree/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi/Gtk2.pm +/tmp/live_tree/usr/bin/tty +/tmp/live_tree/etc/profile.d/glib20.sh +/tmp/live_tree/etc/profile.d/inputrc.sh +/tmp/live_tree/etc/profile.d/kde3.sh +/tmp/live_tree/etc/profile.d/msec.sh +/tmp/live_tree/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi/Glib.pm +/tmp/live_tree/etc/profile.d/qtdir3.sh +/tmp/live_tree/etc/profile.d/screen.sh +/tmp/live_tree/etc/profile.d/ssh-client.sh +/tmp/live_tree/etc/profile.d/tmpdir.sh +/tmp/live_tree/etc/profile.d/xhost.sh +/tmp/live_tree/usr/lib/libgobject-2.0.so.0.200.3 +/tmp/live_tree/usr/lib/libgthread-2.0.so.0.200.3 +/tmp/live_tree/usr/lib/libglib-2.0.so.0.200.3 +/tmp/live_tree/usr/lib/perl5/5.8.1/overload.pm +/tmp/live_tree/usr/lib/libgtk-x11-2.0.so.0.200.4 +/tmp/live_tree/usr/lib/libgdk-x11-2.0.so.0.200.4 +/tmp/live_tree/usr/lib/libatk-1.0.so.0.400.0 +/tmp/live_tree/usr/lib/libgdk_pixbuf-2.0.so.0.200.4 +/tmp/live_tree/usr/lib/libpangoxft-1.0.so.0.200.5 +/tmp/live_tree/usr/lib/libpangox-1.0.so.0.200.5 +/tmp/live_tree/usr/lib/libpango-1.0.so.0.200.5 +/tmp/live_tree/usr/lib/libgmodule-2.0.so.0.200.3 +/tmp/live_tree/usr/X11R6/lib/libXrandr.so.2.0 +/tmp/live_tree/usr/X11R6/lib/libXi.so.6.0 +/tmp/live_tree/usr/X11R6/lib/libXft.so.2.1 +/tmp/live_tree/usr/X11R6/lib/libXrender.so.1.2 +/tmp/live_tree/usr/lib/libfontconfig.so.1.0.4 +/tmp/live_tree/usr/lib/libfreetype.so.6.3.3 +/tmp/live_tree/usr/lib/libexpat.so.0.4.0 +/tmp/live_tree/bin/ps +/tmp/live_tree/lib/libproc.so.3.1.11 +/tmp/live_tree/usr/lib/libDrakX/harddrake/sound.pm +/tmp/live_tree/usr/sbin/serial_probe +/tmp/live_tree/usr/sbin/ddcxinfos +/tmp/live_tree/usr/share/ldetect-lst/MonitorsDB +/tmp/live_tree/usr/share/ldetect-lst/Cards+ +/tmp/live_tree/usr/X11R6/bin/XFree86 +/tmp/live_tree/sbin/service +/tmp/live_tree/bin/cut +/tmp/live_tree/etc/init.d/xfs +/tmp/live_tree/etc/rc.d/init.d/functions +/tmp/live_tree/sbin/consoletype +/tmp/live_tree/bin/gettext +/tmp/live_tree/lib/libintl.so.2.2.0 +/tmp/live_tree/bin/mkdir +/tmp/live_tree/bin/chmod +/tmp/live_tree/bin/rm +/tmp/live_tree/sbin/initlog +/tmp/live_tree/usr/X11R6/bin/xfs +/tmp/live_tree/usr/X11R6/lib/libXfont.so.1.4 +/tmp/live_tree/usr/X11R6/lib/X11/fs/config +/tmp/live_tree/lib/libnss_nisplus-2.3.2.so +/tmp/live_tree/sbin/minilogd +/tmp/live_tree/lib/libnss_nis-2.3.2.so +/tmp/live_tree/bin/touch +/tmp/live_tree/usr/X11R6/bin/Xwrapper +/tmp/live_tree/lib/libpam.so.0.77 +/tmp/live_tree/lib/libpam_misc.so.0.77 +/tmp/live_tree/etc/pam.d/xserver +/tmp/live_tree/lib/security/pam_rootok.so +/tmp/live_tree/lib/security/pam_console.so +/tmp/live_tree/usr/lib/libglib-1.2.so.0.0.10 +/tmp/live_tree/lib/security/pam_permit.so +/tmp/live_tree/etc/pam.d/other +/tmp/live_tree/lib/security/pam_deny.so +/tmp/live_tree/usr/share/fonts/default/Type1/fonts.dir +/tmp/live_tree/usr/share/fonts/default/Type1/fonts.alias +/tmp/live_tree/usr/share/fonts/ttf/vera/fonts.dir +/tmp/live_tree/usr/share/fonts/ttf/decoratives/fonts.dir +/tmp/live_tree/usr/share/fonts/ttf/western/fonts.dir +/tmp/live_tree/usr/X11R6/lib/X11/locale/locale.alias +/tmp/live_tree/usr/X11R6/lib/X11/locale/locale.dir +/tmp/live_tree/usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 +/tmp/live_tree/usr/share/locale/locale.alias +/tmp/live_tree/usr/lib/perl5/vendor_perl/5.8.1/packdrake.pm +/tmp/live_tree/usr/lib/perl5/5.8.1/utf8.pm +/tmp/live_tree/usr/lib/perl5/5.8.1/utf8_heavy.pl +/tmp/live_tree/usr/lib/perl5/5.8.1/unicore/Exact.pl +/tmp/live_tree/usr/lib/perl5/5.8.1/unicore/lib/SpacePer.pl +/tmp/live_tree/usr/lib/gconv/gconv-modules.cache +/tmp/live_tree/usr/lib/gconv/gconv-modules +/tmp/live_tree/usr/lib/gconv/ISO8859-1.so +/tmp/live_tree/usr/X11R6/lib/libXcursor.so.1.0 +/tmp/live_tree/etc/fonts/fonts.conf +/tmp/live_tree/etc/fonts/local.conf +/tmp/live_tree/usr/share/fonts/fonts.cache-1 +/tmp/live_tree/usr/share/fonts/default/fonts.cache-1 +/tmp/live_tree/usr/share/fonts/override/fonts.cache-1 +/tmp/live_tree/usr/share/fonts/otf/fonts.cache-1 +/tmp/live_tree/usr/share/fonts/ttf/fonts.cache-1 +/tmp/live_tree/usr/share/fonts/afms/fonts.cache-1 +/tmp/live_tree/usr/share/fonts/default/ghostscript/fonts.cache-1 +/tmp/live_tree/usr/share/fonts/default/Type1/fonts.cache-1 +/tmp/live_tree/usr/share/fonts/otf/mdk/fonts.cache-1 +/tmp/live_tree/usr/share/fonts/ttf/vera/fonts.cache-1 +/tmp/live_tree/usr/share/fonts/ttf/decoratives/fonts.cache-1 +/tmp/live_tree/usr/share/fonts/afms/adobe/fonts.cache-1 +/tmp/live_tree/usr/share/fonts/ttf/vera/Vera.ttf +/tmp/live_tree/etc/pango/pango.modules +/tmp/live_tree/usr/lib/pango/1.2.0/modules/pango-basic-xft.so +/tmp/live_tree/etc/gtk-2.0/gtk.immodules +/tmp/live_tree/usr/share/mdk/screensaver/3.png +/tmp/live_tree/etc/gtk-2.0/gdk-pixbuf.loaders +/tmp/live_tree/usr/lib/gtk-2.0/2.2.0/loaders/libpixbufloader-png.so +/tmp/live_tree/usr/lib/libpng12.so.0.1.2.5 +/tmp/live_tree/usr/sbin/useradd +/tmp/live_tree/usr/lib/libcrack.so.2.7 +/tmp/live_tree/etc/.pwd.lock +/tmp/live_tree/sbin/pam_console_apply +/tmp/live_tree/usr/bin/xwait +/tmp/live_tree/bin/su +/tmp/live_tree/etc/pam.d/su +/tmp/live_tree/lib/security/pam_stack.so +/tmp/live_tree/lib/security/pam_xauth.so +/tmp/live_tree/etc/pam.d/system-auth +/tmp/live_tree/lib/security/pam_env.so +/tmp/live_tree/lib/security/pam_unix.so +/tmp/live_tree/lib/security/pam_cracklib.so +/tmp/live_tree/lib/security/pam_limits.so +/tmp/live_tree/usr/bin/startkde +/tmp/live_tree/usr/X11R6/bin/xset +/tmp/live_tree/usr/X11R6/lib/libXmuu.so.1.0 +/tmp/live_tree/usr/X11R6/bin/xsetroot +/tmp/live_tree/usr/bin/whoami +/tmp/live_tree/bin/cp +/tmp/live_tree/usr/share/mdk/kde/bookmarks.xml +/tmp/live_tree/usr/bin/test-windows-key +/tmp/live_tree/usr/bin/lnusertemp +/tmp/live_tree/usr/bin/dcopserver_shutdown +/tmp/live_tree/usr/bin/ksplash +/tmp/live_tree/usr/lib/libkdeui.so.4.1.0 +/tmp/live_tree/usr/lib/libkdecore.so.4.1.0 +/tmp/live_tree/usr/lib/libDCOP.so.4.1.0 +/tmp/live_tree/lib/libresolv-2.3.2.so +/tmp/live_tree/usr/lib/libart_lgpl_2.so.2.3.16 +/tmp/live_tree/usr/lib/libkdefx.so.4.1.0 +/tmp/live_tree/usr/lib/qt3/lib/libqt-mt.so.3.1.2 +/tmp/live_tree/usr/lib/libpng.so.3.1.2.5 +/tmp/live_tree/usr/X11R6/lib/libSM.so.6.0 +/tmp/live_tree/usr/X11R6/lib/libICE.so.6.3 +/tmp/live_tree/usr/lib/libstdc++.so.5.0.5 +/tmp/live_tree/lib/libgcc_s-3.3.1.so.1 +/tmp/live_tree/usr/X11R6/lib/libaudio.so.2.3 +/tmp/live_tree/usr/X11R6/lib/libXt.so.6.0 +/tmp/live_tree/usr/lib/libmng.so.1.0.0 +/tmp/live_tree/usr/lib/libjpeg.so.62.0.0 +/tmp/live_tree/usr/X11R6/lib/libGL.so.1.2 +/tmp/live_tree/usr/X11R6/lib/libXmu.so.6.2 +/tmp/live_tree/usr/bin/kdeinit +/tmp/live_tree/usr/lib/libkparts.so.2.1.0 +/tmp/live_tree/usr/lib/libkio.so.4.1.0 +/tmp/live_tree/usr/lib/libkdesu.so.4.1.0 +/tmp/live_tree/usr/lib/libfam.so.0.0.0 +/tmp/live_tree/usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 +/tmp/live_tree/usr/X11R6/lib/X11/locale/compose.dir +/tmp/live_tree/usr/share/config/kdeglobals +/tmp/live_tree/usr/lib/dcopserver.la +/tmp/live_tree/usr/lib/dcopserver.so +/tmp/live_tree/usr/X11R6/bin/iceauth +/tmp/live_tree/usr/lib/libkonq.la +/tmp/live_tree/usr/lib/libkonq.so.4.1.0 +/tmp/live_tree/usr/lib/klauncher.la +/tmp/live_tree/usr/lib/klauncher.so +/tmp/live_tree/usr/lib/kded.la +/tmp/live_tree/usr/lib/kded.so +/tmp/live_tree/usr/lib/kde3/plugins/styles/galaxy.so.0.0.0 +/tmp/live_tree/usr/share/icons/crystalsvg/index.desktop +/tmp/live_tree/usr/share/icons/hicolor/index.desktop +/tmp/live_tree/usr/share/apps/ksplash/pics/splash_active_bar.png +/tmp/live_tree/usr/share/apps/ksplash/pics/splash_inactive_bar.png +/tmp/live_tree/usr/share/apps/ksplash/pics/splash_top.png +/tmp/live_tree/usr/share/apps/ksplash/pics/splash_bottom.png +/tmp/live_tree/usr/share/fonts/ttf/vera/VeraBd.ttf +/tmp/live_tree/usr/share/icons/crystalsvg/32x32/mimetypes/unknown.png +/tmp/live_tree/usr/share/icons/crystalsvg/16x16/mimetypes/unknown.png +/tmp/live_tree/usr/lib/kbuildsycoca.la +/tmp/live_tree/usr/lib/kbuildsycoca.so +/tmp/live_tree/usr/share/application-registry/gnome-vfs.applications +/tmp/live_tree/usr/lib/kconf_update.la +/tmp/live_tree/usr/lib/kconf_update.so +/tmp/live_tree/usr/share/config/kcookiejarrc +/tmp/live_tree/usr/share/config/kdeprintrc +/tmp/live_tree/usr/bin/perl5.8.1 +/tmp/live_tree/usr/share/config/kcmdisplayrc +/tmp/live_tree/usr/bin/kde-config +/tmp/live_tree/usr/bin/dirname +/tmp/live_tree/bin/ls +/tmp/live_tree/bin/sed +/tmp/live_tree/usr/share/config/konsolerc +/tmp/live_tree/usr/share/config/kickerrc +/tmp/live_tree/usr/share/config/klipperrc +/tmp/live_tree/usr/lib/kde3/kded_mountwatcher.la +/tmp/live_tree/usr/lib/kde3/kded_mountwatcher.so +/tmp/live_tree/usr/lib/kde3/kded_kinetd.la +/tmp/live_tree/usr/lib/kde3/kded_kinetd.so +/tmp/live_tree/usr/lib/libslp.so.1.0.0 +/tmp/live_tree/usr/lib/kcminit.la +/tmp/live_tree/usr/lib/kcminit.so +/tmp/live_tree/usr/lib/kde3/kcm_input.la +/tmp/live_tree/usr/lib/kde3/kcm_input.so +/tmp/live_tree/usr/X11R6/lib/libXtst.so.6.1 +/tmp/live_tree/usr/lib/kde3/kcm_keys.la +/tmp/live_tree/usr/lib/kde3/kcm_keys.so +/tmp/live_tree/usr/lib/kde3/kcm_keyboard.la +/tmp/live_tree/usr/lib/kde3/kcm_keyboard.so +/tmp/live_tree/usr/lib/kde3/kcm_laptop.la +/tmp/live_tree/usr/lib/kde3/kcm_laptop.so +/tmp/live_tree/usr/lib/kde3/kcm_style.la +/tmp/live_tree/usr/lib/kde3/kcm_style.so +/tmp/live_tree/usr/X11R6/bin/xrdb +/tmp/live_tree/usr/bin/cpp-3.3.1 +/tmp/live_tree/usr/lib/kde3/kcm_energy.la +/tmp/live_tree/usr/lib/kde3/kcm_energy.so +/tmp/live_tree/usr/lib/kde3/kcm_konqhtml.la +/tmp/live_tree/usr/lib/kde3/kcm_konqhtml.so +/tmp/live_tree/usr/lib/libkhtml.so.4.1.0 +/tmp/live_tree/usr/lib/libkjs.so.1.0.0 +/tmp/live_tree/usr/lib/libpcreposix.so.0.0.0 +/tmp/live_tree/usr/lib/libkdeprint.so.4.1.0 +/tmp/live_tree/usr/lib/libkutils.so.1.1.0 +/tmp/live_tree/usr/bin/nspluginscan +/tmp/live_tree/usr/X11R6/lib/libXm.so.2.0.1 +/tmp/live_tree/usr/X11R6/lib/libXp.so.6.2 +/tmp/live_tree/usr/lib/kde3/kcm_arts.la +/tmp/live_tree/usr/lib/kde3/kcm_arts.so +/tmp/live_tree/usr/lib/libkmid.so.0.0.95 +/tmp/live_tree/usr/lib/libasound.so.2.0.0 +/tmp/live_tree/usr/lib/kde3/kcm_access.la +/tmp/live_tree/usr/lib/kde3/kcm_access.so +/tmp/live_tree/usr/lib/kde3/kcm_bell.la +/tmp/live_tree/usr/lib/kde3/kcm_bell.so +/tmp/live_tree/usr/lib/knotify.la +/tmp/live_tree/usr/lib/knotify.so +/tmp/live_tree/usr/lib/libsoundserver_idl.so.1.0.0 +/tmp/live_tree/usr/lib/libqtmcop.so.1.0.0 +/tmp/live_tree/usr/lib/libkmedia2_idl.so.1.0.0 +/tmp/live_tree/usr/lib/libartsflow.so.1.0.0 +/tmp/live_tree/usr/lib/libartsflow_idl.so.1.0.0 +/tmp/live_tree/usr/lib/libaudiofile.so.0.0.2 +/tmp/live_tree/usr/lib/libvorbisfile.so.3.0.0 +/tmp/live_tree/usr/lib/libvorbisenc.so.2.0.0 +/tmp/live_tree/usr/lib/libvorbis.so.0.2.0 +/tmp/live_tree/usr/lib/libogg.so.0.4.0 +/tmp/live_tree/usr/lib/libmad.so.0.2.0 +/tmp/live_tree/usr/lib/libmcop.so.1.0.0 +/tmp/live_tree/usr/bin/kwrapper +/tmp/live_tree/usr/lib/ksmserver.la +/tmp/live_tree/usr/lib/ksmserver.so +/tmp/live_tree/usr/lib/kwin.la +/tmp/live_tree/usr/lib/kwin.so +/tmp/live_tree/lib/libnss_dns-2.3.2.so +/tmp/live_tree/usr/lib/kde3/kwin_mandrake.la +/tmp/live_tree/usr/lib/kde3/kwin_mandrake.so.0.0.0 +/tmp/live_tree/usr/share/config/krootwarningrc +/tmp/live_tree/usr/share/config/khotkeysrc +/tmp/live_tree/usr/share/config/kwritedrc +/tmp/live_tree/usr/bin/kab2kabc +/tmp/live_tree/usr/lib/libkabc.so.1.1.0 +/tmp/live_tree/usr/lib/libvcard.so.0.0.0 +/tmp/live_tree/usr/lib/kdesktop.la +/tmp/live_tree/usr/lib/kdesktop.so +/tmp/live_tree/usr/share/config/kdesktoprc +/tmp/live_tree/usr/share/apps/kdesktop/directory.desktop +/tmp/live_tree/usr/share/apps/kdesktop/directory.trash +/tmp/live_tree/usr/share/apps/kdesktop/directory.autostart +/tmp/live_tree/usr/lib/kde3/konq_sound.la +/tmp/live_tree/usr/lib/kde3/konq_sound.so +/tmp/live_tree/usr/lib/libartskde.so.1.1.0 +/tmp/live_tree/usr/share/config/kdebugrc +/tmp/live_tree/usr/share/config/kdebug.areas +/tmp/live_tree/usr/share/apps/kwin/eventsrc +/tmp/live_tree/usr/share/mdk/backgrounds/Mandrake.png +/tmp/live_tree/usr/lib/kicker.la +/tmp/live_tree/usr/bin/krootwarning +/tmp/live_tree/usr/lib/kicker.so +/tmp/live_tree/usr/lib/libkickermain.so.1.0.0 +/tmp/live_tree/usr/lib/kde3/kio_file.la +/tmp/live_tree/usr/lib/kde3/kio_file.so +/tmp/live_tree/usr/lib/kde3/kio_devices.la +/tmp/live_tree/usr/lib/kde3/kio_devices.so +/tmp/live_tree/usr/share/icons/crystalsvg/16x16/apps/kmenu.png +/tmp/live_tree/usr/share/icons/crystalsvg/32x32/apps/kmenu.png +/tmp/live_tree/usr/share/icons/crystalsvg/16x16/filesystems/desktop.png +/tmp/live_tree/usr/share/icons/crystalsvg/32x32/filesystems/desktop.png +/tmp/live_tree/usr/share/apps/kicker/default-apps-mdk +/tmp/live_tree/usr/share/icons/crystalsvg/16x16/apps/konqueror.png +/tmp/live_tree/usr/share/icons/crystalsvg/32x32/apps/konqueror.png +/tmp/live_tree/usr/share/icons/crystalsvg/16x16/apps/kmail.png +/tmp/live_tree/usr/share/icons/crystalsvg/32x32/apps/kmail.png +/tmp/live_tree/usr/sbin/fileshareset +/tmp/live_tree/usr/share/icons/crystalsvg/32x32/apps/xapp.png +/tmp/live_tree/usr/bin/sperl5.8.1 +/tmp/live_tree/usr/share/icons/crystalsvg/32x32/filesystems/trashcan_empty.png +/tmp/live_tree/usr/share/apps/kicker/applets/minipagerapplet.desktop +/tmp/live_tree/usr/lib/kde3/minipager_panelapplet.la +/tmp/live_tree/usr/lib/kde3/minipager_panelapplet.so +/tmp/live_tree/usr/share/icons/mandrakegalaxy.png +/tmp/live_tree/usr/share/apps/kicker/applets/taskbarapplet.desktop +/tmp/live_tree/usr/lib/kde3/taskbar_panelapplet.la +/tmp/live_tree/usr/lib/kde3/taskbar_panelapplet.so +/tmp/live_tree/usr/share/icons/crystalsvg/32x32/devices/nfs_mount.png +/tmp/live_tree/usr/lib/libtaskbar.so.1.1.0 +/tmp/live_tree/usr/lib/libtaskmanager.so.1.0.0 +/tmp/live_tree/usr/share/apps/kicker/pics/disk1.png +/tmp/live_tree/usr/share/apps/kicker/pics/disk2.png +/tmp/live_tree/usr/share/apps/kicker/pics/disk3.png +/tmp/live_tree/usr/share/apps/kicker/pics/disk4.png +/tmp/live_tree/usr/share/apps/kicker/pics/disk5.png +/tmp/live_tree/usr/share/apps/kicker/pics/disk6.png +/tmp/live_tree/usr/share/apps/kicker/pics/disk7.png +/tmp/live_tree/usr/share/apps/kicker/pics/disk8.png +/tmp/live_tree/usr/share/apps/kicker/pics/disk9.png +/tmp/live_tree/usr/share/apps/kicker/pics/disk10.png +/tmp/live_tree/usr/share/apps/kicker/applets/systemtrayapplet.desktop +/tmp/live_tree/usr/lib/kde3/systemtray_panelapplet.la +/tmp/live_tree/usr/lib/kde3/systemtray_panelapplet.so +/tmp/live_tree/usr/share/apps/kicker/applets/clockapplet.desktop +/tmp/live_tree/usr/lib/kde3/clock_panelapplet.la +/tmp/live_tree/usr/lib/kde3/clock_panelapplet.so +/tmp/live_tree/usr/share/locale/l10n/C/entry.desktop +/tmp/live_tree/usr/share/icons/crystalsvg/16x16/apps/kicker.png +/tmp/live_tree/usr/lib/klipper.la +/tmp/live_tree/usr/lib/klipper.so +/tmp/live_tree/usr/bin/korgac +/tmp/live_tree/usr/lib/libkcal.so.2.0.0 +/tmp/live_tree/usr/bin/mandrakegalaxy +/tmp/live_tree/usr/lib/khotkeys.la +/tmp/live_tree/usr/lib/khotkeys.so +/tmp/live_tree/usr/bin/kalarmd +/tmp/live_tree/usr/bin/mandrakegalaxy.real +/tmp/live_tree/usr/lib/libkalarmd.so.0.0.0 +/tmp/live_tree/usr/share/icons/crystalsvg/16x16/apps/klipper.png +/tmp/live_tree/usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2 +/tmp/live_tree/usr/share/icons/crystalsvg/16x16/actions/history_clear.png +/tmp/live_tree/usr/share/icons/crystalsvg/16x16/actions/configure.png +/tmp/live_tree/usr/share/icons/crystalsvg/16x16/actions/contents.png +/tmp/live_tree/usr/share/icons/crystalsvg/16x16/actions/about_kde.png +/tmp/live_tree/usr/share/icons/crystalsvg/16x16/actions/exit.png +/tmp/live_tree/usr/share/icons/crystalsvg/128x128/apps/klipper.png +/tmp/live_tree/usr/share/icons/crystalsvg/16x16/apps/korganizer.png +/tmp/live_tree/usr/share/icons/crystalsvg/16x16/filesystems/file_broken.png +/tmp/live_tree/usr/share/apps/khtml/khtml.rc +/tmp/live_tree/usr/share/apps/khtml/khtml_popupmenu.rc +/tmp/live_tree/usr/share/mdk/mandrakegalaxy/mdkgalaxy.html +/tmp/live_tree/usr/share/icons/large/mandrake-store-mdk.png +/tmp/live_tree/usr/share/icons/large/mandrake-expert-mdk.png +/tmp/live_tree/usr/share/icons/large/mandrake-club.png +/tmp/live_tree/usr/bin/kdeinit_shutdown +/tmp/live_tree/usr/bin/artsshell +/tmp/live_tree/usr/bin/pstree +/tmp/live_tree/lib/libncurses.so.5.3 +/tmp/live_tree/usr/lib/libgpm.so.1.19.0 +/tmp/live_tree/usr/bin/killall +/tmp/live_tree/lib/i686 +/tmp/live_tree/lib/modutils +/tmp/live_tree/usr/X11R6/lib/X11/locale/C +/tmp/live_tree/usr/X11R6/lib/X11/locale/iso8859-1 +/tmp/live_tree/usr/bin/stage2 +/tmp/live_tree/usr/lib/gtk-2.0/2.2.0/engines +/tmp/live_tree/usr/lib/libDrakX/Xconfig +/tmp/live_tree/usr/lib/libDrakX/auto/c +/tmp/live_tree/usr/lib/libDrakX/c +/tmp/live_tree/usr/lib/libDrakX/sbus_probing +/tmp/live_tree/usr/lib/perl5/5.8.1/Exporter +/tmp/live_tree/usr/lib/perl5/5.8.1/i386-linux-thread-multi/CORE +/tmp/live_tree/usr/lib/perl5/5.8.1/i386-linux-thread-multi/File +/tmp/live_tree/usr/lib/perl5/5.8.1/i386-linux-thread-multi/auto/File +/tmp/live_tree/usr/lib/perl5/5.8.1/warnings +/tmp/live_tree/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi/Gtk2/Gdk +/tmp/live_tree/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi/auto/Glib +/tmp/live_tree/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi/auto/Gtk2 +/tmp/live_tree/usr/share/applnk-mdk +/tmp/live_tree/usr/share/apps/clockapplet +/tmp/live_tree/usr/share/apps/kabc/plugins +/tmp/live_tree/usr/share/apps/kalarmdgui +/tmp/live_tree/usr/share/apps/kconf_update +/tmp/live_tree/usr/share/apps/kdesktop/DesktopLinks +/tmp/live_tree/usr/share/apps/kdisplay/app-defaults +/tmp/live_tree/usr/share/apps/khtml/css +/tmp/live_tree/usr/share/apps/knotify +/tmp/live_tree/usr/share/autostart +/tmp/live_tree/usr/share/icons/default +/tmp/live_tree/usr/share/icons/mdk-hicolor +/tmp/live_tree/usr/share/locale/en_US +/tmp/live_tree/usr/share/mimelnk +/tmp/live_tree/usr/share/nautilus +/tmp/live_tree/usr/share/services +/tmp/live_tree/usr/share/servicetypes +/tmp/live_tree/usr/share/themes/Default/gtk-2.0 +/tmp/live_tree/usr/share/themes/Galaxy/gtk-2.0 diff --git a/move/make_live_tree_boot b/move/make_live_tree_boot new file mode 100755 index 000000000..209631472 --- /dev/null +++ b/move/make_live_tree_boot @@ -0,0 +1,60 @@ +#!/usr/bin/perl + +use MDK::Common; + +my $prefix = '/tmp/live_tree'; +my $boot_prefix = '/tmp/live_tree_boot'; +my $file_list = 'data/boot.list'; + +my @list = chomp_(cat_($file_list)); + +if (@ARGV && $ARGV[0] eq '-u') { + -d $boot_prefix or die "$boot_prefix doesn't exist"; + + foreach my $dest (@list) { + my $orig = $dest; + $orig =~ s|^$prefix|$boot_prefix|; + + next if !-e $orig; + + if (-e $dest && -s $dest != -s $orig) { + warn "ERROR: $dest already exist, skipping\n"; + } else { + unlink $dest or die "removing $dest failed: $!\n"; + rename $orig, $dest or die "moving $orig to $dest failed: $!\n"; + } + } + rmdir($_) foreach reverse(chomp_(`find $boot_prefix -type d`)); + + if (-e $boot_prefix) { + foreach my $dest (chomp_(`find $prefix -type l`)) { + my $orig = readlink($dest) or next; + $orig =~ s!/image_boot/!$boot_prefix/! or next; + + unlink $dest or die "removing $dest failed: $!\n"; + rename $orig, $dest or die "moving $orig to $dest failed: $!\n"; + } + rmdir($_) foreach reverse(chomp_(`find $boot_prefix -type d`)); + } + if (-e $boot_prefix) { + print "still there:\n"; + system('find', $boot_prefix); + } + +} else { + -e $boot_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 $orig (@list) { + my $dest = $orig; + $dest =~ s|^$prefix|$boot_prefix|; + + my $link = $orig; + $link =~ s|^$prefix|/image_boot|; + + mkdir_p(dirname($dest)); + rename $orig, $dest or die "moving $orig to $dest failed: $!\n"; + + symlink $link, $orig or die "symlinking from $dest to $orig failed: $!\n"; + } +} |