Add user bundle to additional v3 section.

This commit is contained in:
TheSpad
2022-08-27 15:49:45 +01:00
parent 46aa3a3f86
commit ce40db36a9
+10 -7
View File
@@ -134,7 +134,7 @@ if [ -f /sbin/apk ]; then
fi fi
``` ```
If your mod needs to take additional config steps *after* the packages have been installed, add a second `oneshot` script and make it depend on `init-mods-package-install` and add it as a dependency of `init-mods-end` e.g. If your mod needs to take additional config steps *after* the packages have been installed, add a second `oneshot` script and make it depend on `init-mods-package-install`, add it as a dependency of `init-mods-end`, and add it to the content bundle e.g.
```text ```text
. .
@@ -145,12 +145,15 @@ If your mod needs to take additional config steps *after* the packages have been
├── init-mods-end ├── init-mods-end
│ └── dependencies.d │ └── dependencies.d
│ └── init-mod-universal-mymod-postinstall │ └── init-mod-universal-mymod-postinstall
── init-mod-universal-mymod-postinstall ── init-mod-universal-mymod-postinstall
├── dependencies.d ├── dependencies.d
│ └── init-mods-package-install │ └── init-mods-package-install
├── run ├── run
├── type ├── type
└── up └── up
└── user
└── contents.d
└── init-mod-universal-mymod-postinstall
``` ```
Services will always run last, controlled by their dependency on `init-services`. Services will always run last, controlled by their dependency on `init-services`.