summaryrefslogtreecommitdiff
path: root/alpine.mk
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-03-03 19:43:26 +0200
committerTimo Teras <timo.teras@iki.fi>2009-03-03 19:43:26 +0200
commit8fb3af8d05555bc4a8206b7f524826bad77ad948 (patch)
treea2b3c1d86852c5f6a084944a6e436e7a19759bec /alpine.mk
parentcd5e0181517577a0c15d8f474a464f7464230080 (diff)
downloadabuild-8fb3af8d05555bc4a8206b7f524826bad77ad948.tar.gz
abuild-8fb3af8d05555bc4a8206b7f524826bad77ad948.tar.bz2
abuild-8fb3af8d05555bc4a8206b7f524826bad77ad948.tar.xz
abuild-8fb3af8d05555bc4a8206b7f524826bad77ad948.zip
initramfs: process accounting & misc fixes
enable bootchartd to use kernel process accounting for noticing all processes. also fix various little bits around the initramfs init.
Diffstat (limited to 'alpine.mk')
-rwxr-xr-xalpine.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/alpine.mk b/alpine.mk
index 1da1de5..69456ec 100755
--- a/alpine.mk
+++ b/alpine.mk
@@ -149,14 +149,13 @@ $(INITFS_DIRSTAMP): $(INITFS_APKS)
tar -C $(INITFS_DIR) -xzf $$apk ; \
done
@rm -f "$(INITFS_DIR)/.PKGINFO"
-# @mknod $(INITFS_DIR)/dev/null c 1 3
- @mkdir -p "$(INITFS_DIR)/etc"
- @echo floppy >> "$(INITFS_DIR)/etc/modules"
@touch $(INITFS_DIRSTAMP)
$(INITFS_BASEFILES): $(INITFS_DIRSTAMP) $(ALPINEBASELAYOUT_APK)
@echo "==> initramfs: $(notdir $(ALPINEBASELAYOUT_APK))"
@tar -C $(INITFS_DIR) -xzf $(ALPINEBASELAYOUT_APK) $(INITFS_RAWBASEFILES)
+ #@echo "floppy" >> "$(INITFS_DIR)/etc/modules"
+ #@echo "libata dma=0" >> "$(INITFS_DIR)/etc/modules"
@touch $(INITFS_BASEFILES)
$(INITFS_DIR)/init: initramfs-init $(INITFS_DIRSTAMP)
@@ -197,6 +196,7 @@ $(INITFS_MODDIRSTAMP): $(INITFS_DIRSTAMP) $(INITFS_MODFILES) $(MODLOOP_DIRSTAMP)
$(INITFS): $(INITFS_DIRSTAMP) $(INITFS_DIR)/init $(INITFS_DIR)/sbin/bootchartd $(INITFS_DIR)/sbin/apk $(INITFS_MODDIRSTAMP) $(INITFS_BASEFILES)
@echo "==> initramfs: creating $(notdir $(INITFS))"
+ @mkdir -p $(dir $(INITFS))
@(cd $(INITFS_DIR) && find . | cpio -o -H newc | gzip -9) > $(INITFS)
#