Skip to content

Commit

Permalink
Moving initscript to live-config.
Browse files Browse the repository at this point in the history
Keeping the initscript in live-boot is not really maintainable
for different init systems. We would need to have, like live-config,
several backend packages (live-boot-sysvinit, live-boot-systemd,
live-boot-upstart) etc., plus, every combination with the
different initrd system backend (initramfs-tools, dracut).
  • Loading branch information
daniel-baumann committed Apr 5, 2012
1 parent a39a167 commit 49bcda4
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 249 deletions.
7 changes: 0 additions & 7 deletions Makefile
Expand Up @@ -42,9 +42,6 @@ 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

Expand Down Expand Up @@ -80,10 +77,6 @@ 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

Expand Down
198 changes: 0 additions & 198 deletions bin/boot.sh

This file was deleted.

36 changes: 0 additions & 36 deletions debian/live-boot.init

This file was deleted.

1 change: 0 additions & 1 deletion debian/live-boot.install
@@ -1,3 +1,2 @@
lib
sbin
usr/share/live-boot
4 changes: 0 additions & 4 deletions debian/live-boot.lintian-overrides

This file was deleted.

3 changes: 0 additions & 3 deletions debian/rules
Expand Up @@ -18,6 +18,3 @@ override_dh_builddeb:

override_dh_install:
dh_install --fail-missing

override_dh_installinit:
dh_installinit -p live-boot --no-restart-on-upgrade --no-start --update-rcd-params='start 89 0 6 .'

0 comments on commit 49bcda4

Please sign in to comment.