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
```
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
.
@@ -145,12 +145,15 @@ If your mod needs to take additional config steps *after* the packages have been
├── init-mods-end
│ └── dependencies.d
│ └── init-mod-universal-mymod-postinstall
── init-mod-universal-mymod-postinstall
├── dependencies.d
│ └── init-mods-package-install
├── run
├── type
└── up
── init-mod-universal-mymod-postinstall
├── dependencies.d
│ └── init-mods-package-install
├── run
├── type
└── up
└── user
└── contents.d
└── init-mod-universal-mymod-postinstall
```
Services will always run last, controlled by their dependency on `init-services`.