From 8783414cc73347ea78e6c2442ecc8f4678d40b84 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 22 Nov 2012 14:35:37 +0100 Subject: Update for 0.18; new options -l (generates a local repo) and -r to set rootdir. -l "pkg pkg1 ..." If set generates a local repository (/packages) in the live image with the package list. -r rootdir To specify an alternative rootdir to build the image. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 05ed4e0..2fc0b19 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,12 @@ -VERSION = 0.9.8 +GITVER := $(shell git rev-parse HEAD) +VERSION = 0.10 PREFIX ?= /usr/local SBINDIR ?= $(PREFIX)/sbin SHAREDIR ?= $(PREFIX)/share DRACUTMODDIR ?= $(PREFIX)/lib/dracut/modules.d/01vmklive all: - sed -e "s|@@MKLIVE_VERSION@@|${VERSION}|g" mklive.sh.in > mklive.sh + sed -e "s|@@MKLIVE_VERSION@@|$(VERSION) $(GITVER)|g" mklive.sh.in > mklive.sh install: all install -d $(DESTDIR)$(SBINDIR) -- cgit 1.4.1