Source:deb are maintainer scripts run on install?

Or is the deb just extracted finally into the parts/PART/install directory?

(Trying to chase down a missing soft link supposedly created in the deb’s install scripts)

They are only extracted.

Why are deb’s only extracted?

Could a chroot be used to contain the maintainer scripts’ activity into parts/PART/install?

Is this extract-only feature documented?

Cheers

the maintainer scripts might execute binaries you do not have installed, your host architecture might not match the target architecture at all (so the scripts themselves might not even run) …

… your maintainer scripts might create users, system groups , hack configs, set alternatives etc…

ok. but again, is this documented? It’s a critical point to understand. Perhaps the idea is that the user should intuitively understand how things work? :wink:

1 Like

I know it used to be documented in the 15.04 docs initially (for stage-packages at least, which function exactly the same) but these docs are gone and i cant find it mentioned in the newer docs … perhaps @davidcalle as the grand-master-of-documentation can tell us more :slight_smile:

Hey @ogra, thanks for the replies. Where can we file a bug to get this documentation added?

there is a “Report a docs issue” at the bottom of the menu on all the documentation pages on:

This is a snapcraft issue though right? not a Core bug…

1 Like

Indeed … on https://snapcraft.io/docs/ the link is at the bottom of the pages, not in the menu …

1 Like