All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bootchart module cleanup
@ 2010-08-11 17:46 Andrey Borzenkov
  2010-08-23 10:44 ` Harald Hoyer
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Borzenkov @ 2010-08-11 17:46 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA

- create /lib/bootchart in initramfs, not in live filesystem
- use proper dracut API to install files

Signed-off-by: Andrey Borzenkov <arvidjaar-JGs/UdohzUI@public.gmane.org>

---

 modules.d/00bootchart/install |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules.d/00bootchart/install b/modules.d/00bootchart/install
index ff29de0..8738815 100644
--- a/modules.d/00bootchart/install
+++ b/modules.d/00bootchart/install
@@ -2,8 +2,8 @@
 
 inst /sbin/bootchartd 
 inst /bin/bash 
-ln -s /init "${initdir}/sbin/init"
-mkdir -p /lib/bootchart/
+inst_symlink /init /sbin/init
+inst_dir /lib/bootchart/
 inst /lib/bootchart/bootchart-collector 
 inst /etc/bootchartd.conf 
 inst /sbin/accton 
@@ -12,4 +12,5 @@ inst /bin/echo
 inst /bin/grep 
 inst /bin/usleep
 inst /usr/bin/[  /bin/[
+
 mknod -m 0666 "${initdir}/dev/null" c 1 3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-23 10:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-11 17:46 [PATCH] bootchart module cleanup Andrey Borzenkov
2010-08-23 10:44 ` Harald Hoyer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.