diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-03-25 14:54:04 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-03-25 14:54:04 +0000 |
commit | 98877bf7001d6f0727c73d6abc1a0724d9841fd8 (patch) | |
tree | d1003a622c9bd857bcbaba574f0b3b0854f7fbcf /alpine.mk | |
parent | 9154b0d9b7251cca900f9e834ac9af9ae2ae61d9 (diff) | |
download | abuild-98877bf7001d6f0727c73d6abc1a0724d9841fd8.tar.gz abuild-98877bf7001d6f0727c73d6abc1a0724d9841fd8.tar.bz2 abuild-98877bf7001d6f0727c73d6abc1a0724d9841fd8.tar.xz abuild-98877bf7001d6f0727c73d6abc1a0724d9841fd8.zip |
alpine.mk: include raid drivers in initramfs
I think we only need raid1 and maybe raid5 but now we copy the entire md
subdir. so there are room for size optimization here.
Diffstat (limited to 'alpine.mk')
-rwxr-xr-x | alpine.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -184,13 +184,13 @@ $(INITFS_MODDIRSTAMP): $(INITFS_DIRSTAMP) $(INITFS_MODFILES) $(MODLOOP_DIRSTAMP) @echo "==> initramfs: $(notdir $(MODULE_APK))" @rm -rf $(INITFS_DIR)/lib/modules @mkdir -p $(addprefix $(INITFS_MODDIR)/kernel/,drivers fs) - @for i in acpi ata block ide scsi cdrom usb message hid; do \ + @for i in acpi ata block ide scsi cdrom usb message hid md; do \ cp -flLpR $(MODLOOP_DIR)/lib/modules/*/kernel/drivers/$$i \ $(INITFS_MODDIR)/kernel/drivers/ ; \ done @for i in isofs vfat fat nls jbd 'ext*' cramfs '*.ko'; do \ cp -flLpR $(MODLOOP_DIR)/lib/modules/*/kernel/fs/$$i \ - $(INITFS_MODDIR)/kernel/fs/ ; \ + $(INITFS_MODDIR)/kernel/fs/ 2>/dev/null; \ done @cp -flLpR $(MODLOOP_DIR)/lib/modules/*/kernel/lib \ $(INITFS_MODDIR)/kernel/ |