Skip to content

Commit 2ce9b3e

Browse files
committed
detect-environment: Document detect_packaging function
Ticket: ENT-12600 Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
1 parent f007bbf commit 2ce9b3e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build-scripts/detect-environment

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,10 @@ detect_distribution()
232232
fi
233233
}
234234

235+
# This function determines which dependency packaging scripts shall used based
236+
# on the operating system and available packaging tools. E.g., if rpm is
237+
# detected, then the "pkg-build-rpm" script will be called from the
238+
# "install-dependencies" script.
235239
detect_packaging()
236240
{
237241
if [ -f /bin/rpm ]; then

0 commit comments

Comments
 (0)