# Directory

**URL:** <https://hub.mender.io/t/directory/325>\
**Category:** Update Modules\
**Created:** [March 12, 2019, 8:53am UTC](https://hub.mender.io/t/directory/325 "2019-03-12T08:53:46Z")\
**Posts on this page:** 1\
**Showing post:** 57

<div class="post-metadata">

**Author:** ![martind](https://avatars.discourse-cdn.com/v4/letter/m/ccd318/32.png) [@martind](https://hub.mender.io/u/martind)\
**Post date:** [December 9, 2020, 11:40pm UTC](https://hub.mender.io/t/directory/325/57 "2020-12-09T23:40:26Z")

</div>

If you are trying to figure out how to build 1 artifact that includes your package install script and the 2 packages see this post [Mender-convert - Include state scripts in the artifact](https://hub.mender.io/t/mender-convert-include-state-scripts-in-the-artifact/2195/2)

You can put everything into the artifact using the directory module and mender-artifact cmd. Mender-client runs scripts if they match certain names @lluiscampos mentioned in the link [https://docs.mender.io/artifact-creation/state-scripts#transitions-and-ordering](https://docs.mender.io/artifact-creation/state-scripts#transitions-and-ordering) e.g. ArtifactInstall\_Leave\_01\_install\_hitesh53G\_pkg

---

_[View the full topic](https://hub.mender.io/t/directory/325)._
