bootchart module cleanup

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

Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
master
Andrey Borzenkov 2010-08-11 21:46:56 +04:00 committed by Harald Hoyer
parent 5acc508cae
commit 4c77612245
1 changed files with 3 additions and 2 deletions

View File

@ -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