Bug#866587: debian-edu-config: Please drop Pre-Depends on initscripts
[Michael Biebl]
> I notice the pre-depends was added for
>
> * Add package initscripts to Pre-Depends, as share/d-e-c/d-i/pre-pkgsel
> relies on /etc/init.d/hostname.sh
>
> Please solve this differently, e.g. by simply running hostname directly
> on the target system instead of calling the legacy SysV init script.
The idea was to activate the hostname the same way it would be activated
in a normal boot. As this is done using systemd now, it make sense to
consider calling the equivalent systemd method. Is there such method?
If not, I guess simply calling 'hostname' might be a good fallback.
--
Happy hacking
Petter Reinholdtsen
Reply to: