rootfs-builder: add functions to run before and after the container

Define `before_starting_container` and `after_stopping_container`
functions, these functions run before and after the container that
builds the rootfs respectively.

Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
Julio Montes
2020-12-08 09:55:56 -06:00
parent e167bf30e3
commit faed2369a0
3 changed files with 32 additions and 4 deletions

View File

@@ -421,3 +421,11 @@ detect_musl_version()
[ "$?" == "0" ] && [ "$MUSL_VERSION" != "null" ]
}
before_starting_container() {
return 0
}
after_stopping_container() {
return 0
}