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.
This commit is contained in:
5
Makefile
5
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)
|
||||
|
Reference in New Issue
Block a user