summaryrefslogtreecommitdiff
path: root/alpine.mk
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-02-26 11:03:29 +0200
committerTimo Teras <timo.teras@iki.fi>2009-02-26 11:03:29 +0200
commit8069f0b1938fb66b10098627a3e3166f69c0e166 (patch)
treeebe4e10d4269a0707e3e157d70bbfcdb69ab394f /alpine.mk
parent52864ab4822b3d5ea5141d5c46edea6403438693 (diff)
downloadabuild-8069f0b1938fb66b10098627a3e3166f69c0e166.tar.gz
abuild-8069f0b1938fb66b10098627a3e3166f69c0e166.tar.bz2
abuild-8069f0b1938fb66b10098627a3e3166f69c0e166.tar.xz
abuild-8069f0b1938fb66b10098627a3e3166f69c0e166.zip
initramfs: bootchart integration with init
modifications to makefile and initramfs init that were left out from previous commit.
Diffstat (limited to 'alpine.mk')
-rwxr-xr-xalpine.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/alpine.mk b/alpine.mk
index 6a5f29c..627d3eb 100755
--- a/alpine.mk
+++ b/alpine.mk
@@ -162,6 +162,10 @@ $(INITFS_DIR)/init: initramfs-init $(INITFS_DIRSTAMP)
@echo "==> initramfs: init script"
@cp initramfs-init "$(INITFS_DIR)/init"
+$(INITFS_DIR)/sbin/bootchartd: bootchartd $(INITFS_DIRSTAMP)
+ @echo "==> initramfs: bootchartd"
+ @cp bootchartd "$(INITFS_DIR)/sbin/bootchartd"
+
ifeq ($(APK_BIN),)
$(INITFS_DIR)/sbin/apk: $(APK_TOOLS_APK) $(INITFS_DIRSTAMP)
@echo "==> initramfs: $(notdir $(APK_TOOLS_APK))"
@@ -190,7 +194,7 @@ $(INITFS_MODDIRSTAMP): $(INITFS_DIRSTAMP) $(INITFS_MODFILES) $(MODLOOP_DIRSTAMP)
@depmod $(KERNEL) -b $(INITFS_DIR)
@touch $(INITFS_MODDIRSTAMP)
-$(INITFS): $(INITFS_DIRSTAMP) $(INITFS_DIR)/init $(INITFS_DIR)/sbin/apk $(INITFS_MODDIRSTAMP) $(INITFS_BASEFILES)
+$(INITFS): $(INITFS_DIRSTAMP) $(INITFS_DIR)/init $(INITFS_DIR)/sbin/bootchartd $(INITFS_DIR)/sbin/apk $(INITFS_MODDIRSTAMP) $(INITFS_BASEFILES)
@echo "==> initramfs: creating $(notdir $(INITFS))"
@(cd $(INITFS_DIR) && find . | cpio -o -H newc | gzip -9) > $(INITFS)