summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/control11
-rw-r--r--debian/live-boot-doc.install2
-rw-r--r--debian/live-boot.install2
-rwxr-xr-xdebian/rules9
4 files changed, 20 insertions, 4 deletions
diff --git a/debian/control b/debian/control
index e335732..9068f4a 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,7 @@ Vcs-Git: git://live.debian.net/git/live-boot.git
Package: live-boot
Architecture: all
Depends: ${misc:Depends}, live-boot-initramfs-tools | live-boot-backend
-Recommends: eject, file, rsync, uuid-runtime
+Recommends: live-boot-doc, eject, file, rsync, uuid-runtime
Suggests: curlftpfs, cryptsetup, httpfs2, unionfs-fuse, wget
Description: Debian Live - System Boot Scripts
live-boot contains the scripts that configure a Debian Live system during the
@@ -21,6 +21,15 @@ Description: Debian Live - System Boot Scripts
In addition to live-boot, a backend for the initrd generation is required, such
as live-boot-initramfs-tools.
+Package: live-boot-doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: Debian Live - System Boot Scripts (documentation)
+ live-boot contains the scripts that configure a Debian Live system during the
+ boot process (early userspace).
+ .
+ This package contains the documentation.
+
Package: live-boot-initramfs-tools
Architecture: all
Depends:
diff --git a/debian/live-boot-doc.install b/debian/live-boot-doc.install
new file mode 100644
index 0000000..0e373be
--- /dev/null
+++ b/debian/live-boot-doc.install
@@ -0,0 +1,2 @@
+usr/share/doc
+usr/share/man
diff --git a/debian/live-boot.install b/debian/live-boot.install
new file mode 100644
index 0000000..79474ce
--- /dev/null
+++ b/debian/live-boot.install
@@ -0,0 +1,2 @@
+sbin
+usr/share/live-boot
diff --git a/debian/rules b/debian/rules
index 455ed48..2720264 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,14 +4,17 @@
dh ${@}
override_dh_auto_install:
- dh_auto_install -- DESTDIR=debian/live-boot
+ dh_auto_install -- DESTDIR=debian/tmp
# Removing useless files
- rm -f debian/live-boot/usr/share/doc/live-boot/COPYING
+ rm -f debian/tmp/usr/share/doc/live-boot/COPYING
# live-boot-initramfs-tools
mkdir -p debian/live-boot-initramfs-tools/usr/share
- mv debian/live-boot/usr/share/initramfs-tools debian/live-boot-initramfs-tools/usr/share
+ mv debian/tmp/usr/share/initramfs-tools debian/live-boot-initramfs-tools/usr/share
override_dh_installinit:
dh_installinit -p live-boot --no-restart-on-upgrade --no-start --update-rcd-params='start 89 0 6 .'
+
+override_dh_install:
+ dh_install --fail-missing