1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
DPKG_ARCH := $(shell dpkg --print-architecture)
RELEASE := $(shell lsb_release -c -s)
ENV := PROJECT=ubuntu-core SUBPROJECT=system-image EXTRA_PPAS='snappy-dev/image snappy-dev/edge' IMAGEFORMAT=plain SUITE=$(RELEASE) ARCH=$(DPKG_ARCH)
all:
mkdir -p auto
for f in config build clean; \
do ln -s /usr/share/livecd-rootfs/live-build/auto/$$f auto/; \
done
$(ENV) lb clean
$(ENV) lb config
$(ENV) lb build
install:
echo "I: in install target"
# workaround for http://pad.lv/1605622
rm -rf binary/boot/filesystem.dir/meta
mv binary/boot/filesystem.dir/* $(DESTDIR)/
|