Reply To: antiX-23.2 – init-diversity – 2025 remaster edition

Forum › Forums › antiX-development › antiX Respins › antiX-23.2 – init-diversity – 2025 remaster edition › Reply To: antiX-23.2 – init-diversity – 2025 remaster edition

#178691
ProwlerGr
Member

    What we need to figure out is a bullet-proof way that antiX-init-diversity debs and antiX debs for its inits can coincide.
    It is not as simple as it may initially seem since our implementation of runit is different to that of ProwlerGR.
    ProwlerGR had also got specific debs for the runit service scripts eg runit-connman, runit-dbus while we have them included in our nosystemd.antix debs because we wanted user to choose one init at download time ie choose our runit version or sysVinit one.

    Maybe consider having runit-antix installed as the condition to remove the scripts (if you still believe this is necessary)

    eg

    if [ $(apt list --installed | grep -ic "runit-antix") -eq 1 ]; then  
      #remove /etc/init.d/connman if it exists since we are using runit-antix
      if [ -f /etc/init.d/connman ]; then 
          rm /etc/init.d/connman
      fi 

    This would aslo allow the user to use the debian version of runit (instead of antiX) even without init-diversity in the picture.