From d98b500c721b2bd5319d84f1e38a2e54db043834 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 30 Mar 2012 09:59:59 +0200 Subject: Replacing live-boot initscript with a stub and moving the actual code to /lib/live/boot.sh to allow different initsystem support in future. --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ec67501..ce0262b 100644 --- a/Makefile +++ b/Makefile @@ -42,6 +42,9 @@ build: install: # Installing executables + mkdir -p $(DESTDIR)/lib/live + cp bin/boot.sh $(DESTDIR)/lib/live + mkdir -p $(DESTDIR)/sbin cp bin/live-new-uuid bin/live-snapshot bin/live-swapfile $(DESTDIR)/sbin @@ -77,6 +80,10 @@ install: uninstall: # Uninstalling executables + rm -f $(DESTDIR)/lib/live/boot.sh + rmdir --ignore-fail-on-non-empty $(DESTDIR)/lib/live > /dev/null 2>&1 || true + rmdir --ignore-fail-on-non-empty $(DESTDIR)/lib > /dev/null 2>&1 || true + rm -f $(DESTDIR)/sbin/live-snapshot $(DESTDIR)/sbin/live-swapfile rmdir --ignore-fail-on-non-empty $(DESTDIR)/sbin > /dev/null 2>&1 || true -- cgit v1.2.3