diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-03-03 19:43:26 +0200 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-03-03 19:43:26 +0200 |
commit | 8fb3af8d05555bc4a8206b7f524826bad77ad948 (patch) | |
tree | a2b3c1d86852c5f6a084944a6e436e7a19759bec /alpine.mk | |
parent | cd5e0181517577a0c15d8f474a464f7464230080 (diff) | |
download | abuild-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-x | alpine.mk | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) # |