~ubuntu-branches/ubuntu/trusty/sysprof/trusty

« back to all changes in this revision

Viewing changes to debian/patches/better_help_for_missing_module.patch

  • Committer: Bazaar Package Importer
  • Author(s): Ritesh Raj Sarraf
  • Date: 2011-06-13 23:05:39 UTC
  • mfrom: (8.1.2 experimental)
  • Revision ID: james.westby@ubuntu.com-20110613230539-426qhsc3k996edou
Tags: 1.1.6-2
Upload to unstable 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Author: Daniel Hahler <ubuntu@thequod.de>
2
 
Description: Better help in case the sysprof-module is not loaded. (LP: #30160)
3
 
--- a/sysprof.c
4
 
+++ b/sysprof.c
5
 
@@ -560,7 +560,14 @@
6
 
                       "\n"
7
 
                       "       modprobe sysprof-module\n"
8
 
                       "\n"
9
 
-                      "as root.");
10
 
+                      "as root.\n"
11
 
+                      "\n"
12
 
+                      "You may need to build and install this module first:\n"
13
 
+                      "  1. Install the package sysprof-module-source\n"
14
 
+                      "  2. Execute \"m-a a-i sysprof-module\"\n"
15
 
+                      "  3. Load the module as described above\n"
16
 
+                      "  4. Restart sysprof\n"
17
 
+                      "See also /usr/share/doc/sysprof-module-source/README.Debian" );
18
 
                
19
 
                update_sensitivity (app);
20
 
                return;