summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 455ed48f99ab26d4f9d1bb443bc170af917ad3bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

%:
	dh ${@}

override_dh_auto_install:
	dh_auto_install -- DESTDIR=debian/live-boot

	# Removing useless files
	rm -f debian/live-boot/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

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