:: Re: [devuan-dev] log2ram package
Top Page
Delete this message
Reply to this message
Author: Steve M
Date:  
To: Mark Hindley
CC: devuan developers internal list
Subject: Re: [devuan-dev] log2ram package
On Mon, 2025-09-01 at 07:23 +0100, Mark Hindley wrote:
> Steve,
>
> Thanks for your work on this.
>
> A few observations that I hope will help:
>
>  - In general this should be submitted to Debian: the package will be
> unusable
>    there with non-systemd inits. There are still non-systemd Debian
> users. They
>    will benefit as will Devuan.
>
>  - So, don't bother removing systemd support (it is no-op on non-
> systemd
>    systems), just add your new features on top.
>  
>  - You don't need a patch in debian/patches to make modifications
> beneath
>    debain/, just change the files directly.
>
>  - Use init-d-script(5) for your new LSB initscript: it should make
> the script
>    much shorter and cleaner and possibly more palatable to the Debian
>    maintainer.
>
> HTH
>
> Mark


Mark,

Thank you for your help. Is there already a known good mechanism to
detect which init system is in use and vary the .install file and
postinst/prerm/postrm scripts accordingly?

Thanks
-Steve