Changeset 1713 in MondoRescue
- Timestamp:
- Oct 27, 2007, 8:31:17 PM (17 years ago)
- Location:
- branches/2.2.5
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mindi/mindi
r1698 r1713 516 516 [ ! -e "$KEYDIR" ] && KEYDIR=/usr/lib/kbd 517 517 [ ! -e "$KEYDIR" ] && KEYDIR=/usr/share 518 [ ! -e "$KEYDIR" ] && KEYDIR=/etc/condole 519 [ ! -e "$KEYDIR" ] && KEYDIR=/etc/condole-setup 518 520 if [ ! -e "$KEYDIR" ] ; then 519 521 LogIt "Keyboard mapping directory not found. I shall use default map at boot-time." … … 537 539 mkdir -p $bigdir/etc/console 538 540 cp /etc/console/boottime.kmap.gz $bigdir/etc/console 2>> $LOGFILE 541 echo -e "$DONE" 542 return 0 543 elif [ -e "/etc/console-setup/boottime.kmap.gz" ] ; then 544 echo "Ubuntu-style config detected." >> $LOGFILE 545 echo -en "Adding the following keyboard mapping tables: " 546 mkdir -p $bigdir/tmp 547 echo "/etc/console-setup/boottime.kmap.gz" > $bigdir/tmp/KEYMAP-LIVES-HERE 548 KBDEPTH=0 549 mkdir -p $bigdir/etc/console-setup 550 cp /etc/console-setup/boottime.kmap.gz $bigdir/etc/console-setup 2>> $LOGFILE 539 551 echo -e "$DONE" 540 552 return 0 -
branches/2.2.5/mondo/src/common/libmondo-archive.c
r1710 r1713 1895 1895 log_msg(1, message_to_screen); 1896 1896 1897 asprintf(&tmp1, " umount%s1", bkpinfo->media_device);1897 asprintf(&tmp1, "%s1", bkpinfo->media_device); 1898 1898 if (is_this_device_mounted(tmp1)) { 1899 1899 log_msg(1, "USB device mounted. Remounting it at the right place"); -
branches/2.2.5/mondo/src/common/libmondo-verify.h
r1647 r1713 63 63 64 64 int verify_cd_image(); 65 int verify_usb_image(); 65 66 int verify_a_tarball(char *); 66 67 int verify_an_afioball_from_CD(char *); -
branches/2.2.5/mondo/src/common/newt-specific.c
r1708 r1713 131 131 extern char *g_tmpfs_mountpt; 132 132 extern char *g_boot_mountpt; 133 extern char *g_mondo_home;134 133 extern char *ps_options; 135 134 extern char *ps_proc_id; … … 474 473 chdir("/"); 475 474 run_program_and_log_output("umount " MNT_CDROM, FALSE); 476 run_program_and_log_output("rm -Rf /mondo.scratch.* /tmp.mondo.*",477 FALSE);478 475 if (g_selfmounted_isodir) { 479 476 asprintf(&command, "umount %s", g_selfmounted_isodir); -
branches/2.2.5/mondo/src/mondoarchive/main.c
r1708 r1713 131 131 extern char *g_boot_mountpt; 132 132 extern bool g_remount_cdrom_at_end, g_remount_floppy_at_end; 133 extern char *g_mondo_home;134 133 extern char *g_tmpfs_mountpt; 135 134 extern char *g_cdrw_drive_is_here; -
branches/2.2.5/pbconf/mondo/pbinit
r1620 r1713 5 5 6 6 # Export documentation to generate what is needed 7 use ProjectBuilder::Base qw (pb_cms_init pb_cms_export pb_mkdir_p); 7 use ProjectBuilder::Base qw (pb_cms_init pb_cms_export pb_mkdir_p pb_filter_file); 8 use File::Basename; 9 8 10 9 11 system("./bootstrap"); 12 pb_mkdir_p("docs/entmp"); 13 pb_mkdir_p("docs/mantmp"); 10 14 pb_mkdir_p("docs/en"); 11 15 pb_mkdir_p("docs/man"); 16 my $pbpkg = "PBPKG"; 17 my $pbver = "PBVER"; 18 my $pbtag = "PBTAG"; 19 my $pbrev = "PBREV"; 12 20 13 21 my $cms = pb_cms_init($ENV{'PBPROJ'},undef); 14 22 15 pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/mondoarchive.8","docs/man ");16 pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/mondorestore.8","docs/man ");23 pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/mondoarchive.8","docs/mantmp"); 24 pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/mondorestore.8","docs/mantmp"); 17 25 pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/images","docs/en/images"); 18 26 pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/fdl.sgml","docs/en"); 19 pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/mondorescue-howto.sgml","docs/en ");27 pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/mondorescue-howto.sgml","docs/entmp"); 20 28 pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/mondorescue-howto.dsl","docs/en"); 21 29 pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/Makefile.howto","docs/en"); 22 30 # should call filter_file here 23 system("cd docs/en ; ls -lR > /tmp/1 ; make -f Makefile.howto mondorescue-howto.pdf mondorescue-howto.html"); 31 32 my $ptr = pb_get_filters($pbpkg); 33 foreach my $f (<docs/mantmp/*>) { 34 pb_filter_file("$f",$ptr,"docs/man/".basename($f),$pbpkg,$pbver,$pbtag,$pbrev,"",""); 35 } 36 foreach my $f (<docs/entmp/*>) { 37 pb_filter_file("$f",$ptr,"docs/en/".basename($f),$pbpkg,$pbver,$pbtag,$pbrev,"",""); 38 } 39 pb_rm_rf("docs/entmp"); 40 pb_rm_rf("docs/mantmp"); 41 42 system("cd docs/en ; make -f Makefile.howto mondorescue-howto.pdf mondorescue-howto.html");
Note:
See TracChangeset
for help on using the changeset viewer.