[Pkg-zfsonlinux-devel] Bug#837049: A stub package waiting for comment
Lumin
cdluminate at gmail.com
Sun Sep 11 08:11:19 UTC 2016
Hello,
I've created an empty package which just ships config, postinst and postrm,
as attached. Feel free to take any part of it if found useful.
Note, debugging symbols are not stripped from these scripts.
Seriously my scripts don't regard zfs.conf as conffile, and the
following considerations are made:
1. if zfs.conf and zfs_arc_max already exists before config, parse it
and skip the prompt,
and record its sha1sum as "" to prevent it from being removed at postrm
2. if zfs.conf doesn't exist on configure, create one and record its sha1sum.
3. on postrm, check the sha1sum, remove zfs.conf if the hashes match.
But obviously with these scripts no comment will be wrote to zfs.conf.
First time writting maintainer scripts, please forgive me for stupid parts.
Comments?
--
Best,
Lumin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zfsconf.tar.gz
Type: application/x-gzip
Size: 1627 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-zfsonlinux-devel/attachments/20160911/0c72d995/attachment.bin>
More information about the Pkg-zfsonlinux-devel
mailing list