Skip to content

Commit b9b801d

Browse files
committed
scripts/pkgbuild: add prepare_env hook
Change-Id: Iabb96a1b9f9cd8d1415029380f825da29156a840 Signed-off-by: Pavel Boldin <[email protected]>
1 parent 54c4cdc commit b9b801d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

scripts/pkgbuild

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ clean_dirs() {
7373
rm -rf $KP_PROJECT_BUILD_ROOT /root/root.original /root/root.patched
7474
}
7575

76+
kp_prepare_env_hook() {
77+
# use this to add repos
78+
:
79+
}
80+
7681
kp_pack_prebuilt() {
7782
echo " packing prebuilt $KP_PROJECT into $KP_PROJECT_PREBUILT"
7883
pushd $KP_PROJECT_BUILD_ROOT
@@ -386,6 +391,8 @@ main() {
386391

387392
overwrite_utils
388393

394+
kp_prepare_env_hook
395+
389396
if [ "$ACTION" == "prebuild" ]; then
390397
kp_prepare_source
391398
kp_prebuild_hook

0 commit comments

Comments
 (0)