diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-07 22:29:03 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-07 22:29:03 -0500 |
commit | 6f3a6da561a3e1a6cdb1aa4765610773e13c2dca (patch) | |
tree | 401bd3eea285bfe240a664f04a2792491b1fa74e /system/mkinitfs/0001-generate-mkinitfs.conf.patch | |
parent | e070336d60ba45aa1f8cb596bfb1c820a1d9734d (diff) | |
download | packages-6f3a6da561a3e1a6cdb1aa4765610773e13c2dca.tar.gz packages-6f3a6da561a3e1a6cdb1aa4765610773e13c2dca.tar.bz2 packages-6f3a6da561a3e1a6cdb1aa4765610773e13c2dca.tar.xz packages-6f3a6da561a3e1a6cdb1aa4765610773e13c2dca.zip |
system/mkinitfs: new package
Diffstat (limited to 'system/mkinitfs/0001-generate-mkinitfs.conf.patch')
-rw-r--r-- | system/mkinitfs/0001-generate-mkinitfs.conf.patch | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/system/mkinitfs/0001-generate-mkinitfs.conf.patch b/system/mkinitfs/0001-generate-mkinitfs.conf.patch new file mode 100644 index 000000000..a556879d7 --- /dev/null +++ b/system/mkinitfs/0001-generate-mkinitfs.conf.patch @@ -0,0 +1,49 @@ +From 9e1b472701fa1785989f6757243a3d81e97944f2 Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Mon, 14 May 2018 16:32:08 +0200 +Subject: [PATCH 1/3] generate mkinitfs.conf + +we may want have conditional default config depending on architecture +--- + Makefile | 7 +++++-- + mkinitfs.conf | 2 -- + 2 files changed, 5 insertions(+), 4 deletions(-) + delete mode 100644 mkinitfs.conf + +diff --git a/Makefile b/Makefile +index 68959fe..fc01d1a 100644 +--- a/Makefile ++++ b/Makefile +@@ -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)"' > $@ +diff --git a/mkinitfs.conf b/mkinitfs.conf +deleted file mode 100644 +index 67a5444..0000000 +--- a/mkinitfs.conf ++++ /dev/null +@@ -1,2 +0,0 @@ +-# run mkinitfs -L for a list of available features +-features="ata base cdrom ext2 ext3 ext4 keymap kms mmc raid scsi usb virtio" +-- +2.17.0 + |