Commit 9e1b4727 authored by Natanael Copa's avatar Natanael Copa
Browse files

generate mkinitfs.conf

we may want have conditional default config depending on architecture
parent ef3e5e8e
......@@ -70,12 +70,13 @@ SED_REPLACE := -e 's:@VERSION@:$(FULL_VERSION):g' \
-e 's:@sysconfdir@:$(sysconfdir):g' \
-e 's:@datadir@:$(datadir):g'
DEFAULT_FEATURES ?= ata base cdrom ext2 ext4 keymap kms mmc raid scsi usb virtio
all: $(SBIN_FILES) $(SCRIPTS)
all: $(SBIN_FILES) $(SCRIPTS) $(CONF_FILES)
clean:
rm -f $(SCRIPTS)
rm -f $(SCRIPTS) mkinitfs.conf
help:
@echo mkinitfs $(VERSION)
......@@ -116,3 +117,5 @@ install: $(SBIN_FILES) $(SHARE_FILES) $(CONF_FILES)
$(INSTALL) -D $$i $(DESTDIR)/usr/share/mkinitfs/$$i;\
done
mkinitfs.conf:
echo 'features="$(DEFAULT_FEATURES)"' > $@
# run mkinitfs -L for a list of available features
features="ata base cdrom ext2 ext3 ext4 keymap kms mmc raid scsi usb virtio"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment