Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > d88c7bb437f1a231687f3169871ec55f > files > 16

bootchart-0.14.0-1.3.git20110630.4.mga3.src.rpm

From bad93a68a3041ebe38e0953f998d00f49fb08e66 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Thu, 31 Mar 2011 14:01:39 +0200
Subject: [PATCH] collector: move to /run/bootchart instead of /dev/.bootchart

---
 collector/collector.c |    2 +-
 collector/common.h    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/collector/collector.c b/collector/collector.c
index 7a746f8..f6d2703 100644
--- a/collector/collector.c
+++ b/collector/collector.c
@@ -579,7 +579,7 @@ sanity_check_initrd (void)
 static int
 chroot_into_dev (void)
 {
-	fprintf (stderr, "bootchart-collector - migrating into /dev/\n");
+	fprintf (stderr, "bootchart-collector - migrating into /run/\n");
 
 	if (mkdir (MOVE_DEV_PATH, 0777)) {
 		if (errno != EEXIST) {
diff --git a/collector/common.h b/collector/common.h
index 5cc11b7..36939bc 100644
--- a/collector/common.h
+++ b/collector/common.h
@@ -38,7 +38,7 @@
 #define TMPFS_PATH "/lib/bootchart/tmpfs"
 #define PROC_PATH  "/lib/bootchart/tmpfs/proc"
 /* where we lurk to get move mounted into the live system */
-#define MOVE_DEV_PATH "/dev/.bootchart"
+#define MOVE_DEV_PATH "/run/bootchart"
 
 /* helpers */
 #undef	MAX