Browse Source

* debian/rules:
- Added override to dh_auto_install, because we need everything in /sbin.
the environment in order to have hardened builds.
* debian/aoetools.init:
- Removed PATH with /usr elements to avoid lintian tripping on the wrong
check.
- Added aoetools to Provides.

David Martínez Moreno 9 years ago
parent
commit
fddfeed41b
3 changed files with 10 additions and 3 deletions
  1. 2 3
      debian/aoetools.init
  2. 5 0
      debian/changelog
  3. 3 0
      debian/rules

+ 2 - 3
debian/aoetools.init

@@ -7,12 +7,12 @@
 #       Also based on init script mountnfs.sh from initscripts package.
 #
 #       Modified for aoetools by David Martínez Moreno <ender@debian.org>.
-#       Copyright 2006-2010.  Under GPLv2.
+#       Copyright 2006-2014.  Under GPLv2.
 #
 #       Support for LVM and other mount points contributed by Glen W. Mabey.
 #
 ### BEGIN INIT INFO
-# Provides:          aoe
+# Provides:          aoe aoetools
 # Required-Start:    $local_fs $network
 # Required-Stop:     $local_fs $network
 # Should-Start:      
@@ -23,7 +23,6 @@
 #                    on AoE volumes.
 ### END INIT INFO
 
-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
 NAME=aoetools
 DESC="AoE devices discovery and mounting AoE filesystems"
 

+ 5 - 0
debian/changelog

@@ -18,10 +18,15 @@ aoetools (36-1) UNRELEASED; urgency=low
   * debian/rules:
     - Actually migrate it to the compact version, overriding dh_installinit.
     - Added an override to install the upstream changelog.
+    - Added override to dh_auto_install, because we need everything in /sbin.
   * debian/watch: Added.
   * debian/patches:
     - 03_enable_hardened_build: New, to enable CFLAGS/CPPFLAGS/LDFLAGS from
       the environment in order to have hardened builds.
+  * debian/aoetools.init:
+    - Removed PATH with /usr elements to avoid lintian tripping on the wrong
+      check.
+    - Added aoetools to Provides.
 
  -- David Martínez Moreno <ender@debian.org>  Sun, 12 Jan 2014 15:05:34 -0800
 

+ 3 - 0
debian/rules

@@ -6,6 +6,9 @@
 %:
 	dh $@
 
+override_dh_auto_install:
+	$(MAKE) install PREFIX=debian/aoetools SBINDIR=debian/aoetools/sbin
+
 override_dh_installchangelogs:
 	dh_installchangelogs NEWS