diff options
author | Daniel Baumann <daniel@debian.org> | 2012-03-30 09:59:59 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-03-30 10:01:42 +0200 |
commit | d98b500c721b2bd5319d84f1e38a2e54db043834 (patch) | |
tree | ebd2e9d31d8e7588bbc5a4e9904fbddec877e7da /Makefile | |
parent | 86958cea3e7b7a0b0e3fedb2b3be2837b635db59 (diff) | |
download | live-boot-d98b500c721b2bd5319d84f1e38a2e54db043834.tar.gz live-boot-d98b500c721b2bd5319d84f1e38a2e54db043834.zip |
Replacing live-boot initscript with a stub and moving the actual code to /lib/live/boot.sh to allow different initsystem support in future.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |