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:
9
Makefile
9
Makefile
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user