[Git-commits] [grml/grml-autoconfig] 5abc48: Drop support for non-systemd systems

Chris Hofstaedtler noreply at github.com
Fri Dec 20 01:14:26 CET 2024


  Branch: refs/heads/zeha/perf
  Home:   https://github.com/grml/grml-autoconfig
  Commit: 5abc485a708104b19ab9fd00de21d37344012f3a
      https://github.com/grml/grml-autoconfig/commit/5abc485a708104b19ab9fd00de21d37344012f3a
  Author: Michael Prokop <mika at grml.org>
  Date:   2024-12-20 (Fri, 20 Dec 2024)

  Changed paths:
    M autoconfig.functions

  Log Message:
  -----------
  Drop support for non-systemd systems

We switched from file-rc to systemd with Grml 2017.05 and file-rc
doesn't exist in any Debian release anymore, not even oldoldstable,
so let's finally drop any code related to non-systemd systems.

Now as support for init scripts is gone, also the "background"
service handling including the "DO_NO_RUN_IN_BACKGROUND" hack for init
scripts are gone.

Thanks: Evgeni Golov + Chris Hofstaedtler for review + feedback


  Commit: 0052e306ac09c39874174039f4364c2e306a462f
      https://github.com/grml/grml-autoconfig/commit/0052e306ac09c39874174039f4364c2e306a462f
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2024-12-20 (Fri, 20 Dec 2024)

  Changed paths:
    M grml-autoconfig

  Log Message:
  -----------
  fixup! Drop support for non-systemd systems


  Commit: 92d4ef66b02af03441cc74ba56ddeea0cc0c7694
      https://github.com/grml/grml-autoconfig/commit/92d4ef66b02af03441cc74ba56ddeea0cc0c7694
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2024-12-20 (Fri, 20 Dec 2024)

  Changed paths:
    M grml-autoconfig

  Log Message:
  -----------
  init script: use zsh -f to skip more startup rc code

This seems to save about 50% runtime on some invocations.


  Commit: eb18103f6dc681e38635b86e901df5736e00d2ad
      https://github.com/grml/grml-autoconfig/commit/eb18103f6dc681e38635b86e901df5736e00d2ad
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2024-12-20 (Fri, 20 Dec 2024)

  Changed paths:
    M autoconfig.functions

  Log Message:
  -----------
  performance: avoid uname call for ARCH

This is documented only for netconfig, most boots never use it.


  Commit: c402c384964d49edc70aaf6d6fcae738c9d2e346
      https://github.com/grml/grml-autoconfig/commit/c402c384964d49edc70aaf6d6fcae738c9d2e346
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2024-12-20 (Fri, 20 Dec 2024)

  Changed paths:
    M grml-autoconfig

  Log Message:
  -----------
  grml-autoconfig: trim extra whitespace


  Commit: fc253790db48fb7299052d3eafd3d34dbd8a2b6d
      https://github.com/grml/grml-autoconfig/commit/fc253790db48fb7299052d3eafd3d34dbd8a2b6d
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2024-12-20 (Fri, 20 Dec 2024)

  Changed paths:
    M autoconfig.functions
    M bin/save-config

  Log Message:
  -----------
  performance: stop checking for pre-2018 live media paths


  Commit: 5d54a7398ac7016439f5f99dc7367621151827ed
      https://github.com/grml/grml-autoconfig/commit/5d54a7398ac7016439f5f99dc7367621151827ed
  Author: Chris Hofstaedtler <chris.hofstaedtler at deduktiva.com>
  Date:   2024-12-20 (Fri, 20 Dec 2024)

  Changed paths:
    M grml-autoconfig

  Log Message:
  -----------
  performance: require /etc/mtab to be a symlink already

Always true since a few Debian releases.


  Commit: 2bc270313bf69d6e302347fbbf6c611b13bc0499
      https://github.com/grml/grml-autoconfig/commit/2bc270313bf69d6e302347fbbf6c611b13bc0499
  Author: Chris Hofstaedtler <chris.hofstaedtler at deduktiva.com>
  Date:   2024-12-20 (Fri, 20 Dec 2024)

  Changed paths:
    M autoconfig.functions
    M grml-autoconfig

  Log Message:
  -----------
  performance: require systemd to setup /{proc,sys,dev/pts}


  Commit: 5a67c4d6bc0e529cd56ef193cbfc45dbf923a9f0
      https://github.com/grml/grml-autoconfig/commit/5a67c4d6bc0e529cd56ef193cbfc45dbf923a9f0
  Author: Chris Hofstaedtler <chris.hofstaedtler at deduktiva.com>
  Date:   2024-12-20 (Fri, 20 Dec 2024)

  Changed paths:
    M autoconfig.functions

  Log Message:
  -----------
  performance: avoid using $(cat)


  Commit: 9ff993eae39e811b5321d1b355474ebb9301ad74
      https://github.com/grml/grml-autoconfig/commit/9ff993eae39e811b5321d1b355474ebb9301ad74
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2024-12-20 (Fri, 20 Dec 2024)

  Changed paths:
    M autoconfig.functions
    M debian/grml-autoconfig.install
    A modules-load.d/grml-autoconfig.conf
    M systemd/grml-autoconfig.service

  Log Message:
  -----------
  performance: let systemd load 9pfs


  Commit: 0a7f6d28d8c1e9413c5867ba9e95f1396ae32248
      https://github.com/grml/grml-autoconfig/commit/0a7f6d28d8c1e9413c5867ba9e95f1396ae32248
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2024-12-20 (Fri, 20 Dec 2024)

  Changed paths:
    M autoconfig.functions
    M modules-load.d/grml-autoconfig.conf

  Log Message:
  -----------
  performance: let systemd load efivarfs


  Commit: d5a5728ec3a2bbc203a93da0acd39ab955409a88
      https://github.com/grml/grml-autoconfig/commit/d5a5728ec3a2bbc203a93da0acd39ab955409a88
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2024-12-20 (Fri, 20 Dec 2024)

  Changed paths:
    M autoconfig.functions

  Log Message:
  -----------
  performance: avoid running virt-what, imvirt three times

Also avoid running imvirt at all, if virt-what succeeds.


Compare: https://github.com/grml/grml-autoconfig/compare/eb53d918e30e...d5a5728ec3a2

To unsubscribe from these emails, change your notification settings at https://github.com/grml/grml-autoconfig/settings/notifications


More information about the Git-commits mailing list