Skip to content

Pacman hooks are not executed in archiso builds, yet services appear enabled in the live ISO #84

@igor-trufanov

Description

@igor-trufanov

When building a custom ISO using archiso, pacman post_install / post_upgrade hooks are not reliably executed (or are intentionally skipped), which is expected behavior because archiso builds a non-running filesystem and not a live system.

However, in the official CachyOS live ISO, several services (e.g. wireplumber) appears enabled at boot time, even though:

pacman hooks are not allowed / not effective in archiso

there are no pre-created symlinks under
archiso/airootfs/etc/systemd/system/ or
archiso/airootfs/etc/systemd/user/ in the repository

This creates confusion for users building custom ISOs, as it looks like pacman hooks were applied, even though they were not.

Would you mind providing details on how such services were enabled/links created for some services in Live ISO created via archiso?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions