/[smeserver]/rpms/e-smith-base/sme8/e-smith-base-4.18.0-restoredev.patch
ViewVC logotype

Annotation of /rpms/e-smith-base/sme8/e-smith-base-4.18.0-restoredev.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Jun 12 18:30:35 2007 UTC (17 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-base-4_18_0-58_el5_sme, e-smith-base-4_18_0-89_el5_sme, e-smith-base-4_18_0-82_el5_sme, e-smith-base-4_18_0-67_el5_sme, e-smith-base-4_18_0-88_el5_sme, e-smith-base-4_18_0-87_el5_sme, e-smith-base-4_18_0-77_el5_sme, e-smith-base-4_18_0-69_el5_sme, e-smith-base-4_18_0-81_el5_sme, e-smith-base-4_18_0-100_el5_sme, e-smith-base-4_18_0-72_el5_sme, e-smith-base-4_18_0-62_el5_sme, e-smith-base-4_18_0-61_el5_sme, e-smith-base-4_18_0-78_el5_sme, e-smith-base-4_18_0-60_el5_sme, e-smith-base-4_18_0-94_el5_sme, e-smith-base-4_18_0-66_el5_sme, e-smith-base-4_18_0-83_el5_sme, e-smith-base-4_18_0-59_el5_sme, e-smith-base-4_18_0-63_el5_sme, e-smith-base-4_18_0-92_el5_sme, e-smith-base-4_18_0-64_el5_sme, e-smith-base-4_18_0-101_el5_sme, e-smith-base-4_18_0-98_el5_sme, e-smith-base-4_18_0-102_el5_sme, e-smith-base-4_18_0-90_el5_sme, e-smith-base-4_18_0-104_el5_sme, e-smith-base-4_18_0-71_el5_sme, e-smith-base-4_18_0-103_el5_sme, e-smith-base-4_18_0-99_el5_sme, e-smith-base-4_18_0-73_el5_sme, e-smith-base-4_18_0-79_el5_sme, e-smith-base-4_18_0-75_el5_sme, e-smith-base-4_18_0-76_el5_sme
Import on branch sme8 of package e-smith-base-4.18.0-58.el5.sme.src.rpm

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.0/root/usr/lib/perl5/site_perl/esmith/console/perform_restore.pm mezzanine_patched_e-smith-base-4.18.0/root/usr/lib/perl5/site_perl/esmith/console/perform_restore.pm
2     --- e-smith-base-4.18.0/root/usr/lib/perl5/site_perl/esmith/console/perform_restore.pm 2007-06-11 20:46:27.000000000 -0600
3     +++ mezzanine_patched_e-smith-base-4.18.0/root/usr/lib/perl5/site_perl/esmith/console/perform_restore.pm 2007-06-11 20:46:02.000000000 -0600
4     @@ -25,6 +25,8 @@
5     gettext("Do you wish to restore from backup?"),
6     );
7     return unless $rc == 0;
8     + system("/etc/init.d/messagebus", "start");
9     + system("/etc/init.d/haldaemon", "start");
10     INITIATE_RESTORE:
11     ($rc, $choice) = $console->yesno_page
12     (
13     @@ -34,7 +36,11 @@
14     text =>
15     gettext("Insert memory stick or CDROM containing your backup file, then hit the enter key."),
16     );
17     - return unless $rc == 0;
18     + unless ($rc == 0) {
19     + system("/etc/init.d/haldaemon", "stop");
20     + system("/etc/init.d/messagebus", "stop");
21     + return;
22     + }
23     sleep(3);
24     my @dirs;
25     open(FSTAB, "</etc/fstab");
26     @@ -109,6 +115,9 @@
27     tar xf - > /dev/null ) 2>&1 |
28     dialog --backtitle 'Restoring data' --guage 'Progress' 7 70");
29     $db->set_prop("bootstrap-console", "ForceSave", "yes");
30     + system("/bin/umount", "$device");
31     + system("/etc/init.d/haldaemon", "stop");
32     + system("/etc/init.d/messagebus", "stop");
33     }
34    
35     #use esmith::console;

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed