Source: genuen-init-select
Section: admin
Priority: optional
Maintainer: Aitor <aitor@genuen.org>
Build-Depends: debhelper-compat (= 13)
Standards-Version: 4.7.0
Rules-Requires-Root: no
Origin: Genuen

Package: genuen-init-select
Architecture: all
Multi-Arch: foreign
Provides: genuen-rc-select
Replaces: genuen-rc-select
Conflicts: genuen-rc-select
Depends:
 s6-linux-init,
 ${misc:Depends}
Recommends:
 s6-rc-policy | 66-policy,
 66
Suggests:
 s6-rc-policy,
 66-policy
Description: select s6-rc or 66 as init (matching PID 1)
 Selects the init/service-management stack and the matching PID 1:
 .
  * s6-rc — PID1 = s6-linux-init; stage 2/3 = s6-rc-policy rc.* scripts
  * 66    — PID1 = 66 boot (66-shutdownd); trees from 66-policy
 .
 When 66 is selected, /sbin/init runs "66 boot" and halt/poweroff/reboot
 call 66-hpr, so "66 poweroff" works. With s6-rc, PID1 stays
 s6-linux-init and poweroff uses s6-linux-init-hpr.
 .
 Under 66-as-PID1, /etc/66/current/scripts are not stage2; boot uses the
 tree graph (boot group + enabled trees).
 .
 Run: genuen-init-select s6-rc|66   then reboot.
