I look at the dh_exec approach and that requires the following : · The package must be using compatibility level 9 or later (see debhelper(7)) · The package will need a build-dependency on dh-exec. · The install file must be marked as executable.
Debian unstable is already at compat "9" v9 also seems to be the recommended mode of operation. reference: https://www.mankier.com/1/dh_install https://www.mankier.com/7/debhelper The other method, would be to rename the utilities during the debian/rules "build" target before you get to the dh_install invocation. I'll have a look at both approaches. Eric ** Changed in: zfs-linux (Ubuntu) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to zfs-linux in Ubuntu. https://bugs.launchpad.net/bugs/1628279 Title: python utilities script suffix (.py) should be removed as per Policy 10.4 Status in zfs-linux package in Ubuntu: In Progress Bug description: The zfs utilities scripts shipped with debian and ubuntu such as : * arc_summary.py : Provides a summary of the statistics https://github.com/zfsonlinux/zfs/blob/master/cmd/arc_summary * arcstat.py : Print out ZFS ARC Statistics exported via kstat(1) https://github.com/zfsonlinux/zfs/tree/master/cmd/arcstat * dbufstat.py : Print out statistics for all cached dmu buffers https://github.com/zfsonlinux/zfs/blob/master/cmd/dbufstat should be renamed according to Policy 10.4 : [https://www.debian.org/doc/debian-policy/ch-files.html#s-scripts] "When scripts are installed into a directory in the system PATH, the script name should not include an extension such as .sh or .pl that denotes the scripting language currently used to implement it." Ideally, this should be fixed and upstreamed to Debian (or to zfslinux upstream) as well. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1628279/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp