The following changes were made:

* Re-wrote mkinitramfs in Perl
  * Re-wrote substantial portions of /init ZFS root in initrd
  * Version is now retreived from mkinitramfs VERSION
  * Updated dependencies
  * Added usher to add default bins and mods
This commit is contained in:
2017-06-15 16:44:42 -05:00
parent 02c51412e6
commit 0a7a028b03
11 changed files with 407 additions and 785 deletions

View File

@@ -8,16 +8,17 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
DEPENDS = gawk,cpio,eudev,findutils,kmod,psmisc,sed
DEPENDS = coreutils,cpio,eudev,gzip,perl,psmisc,sed,util-linux
ARCH = x86_64
URL =
DESC = This package includes scripts to build an initrd image
SNAPVER = 1
SNAPVER = 0
ARCHIVE := ''
SRCDIR := $(PWD)/SRC/mkinitramfs-*
SRCDIR := $(PWD)/SRC/mkinitramfs
PATCHDIR := $(PWD)/SRC/patches
VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'|sed 's/^-//')-$(SNAPVER)
VERSION := $(shell grep 'VERSION =>' $(SRCDIR)/mkinitramfs| \
sed "s/.*=>\s\+'\|'.*//g")-$(SNAPVER)
include /usr/share/snap/Makefile.snaplinux