chroot packaging: build script as separate function

Description

Let's separate the process of creating the build script into a separate function for better readability and easier editing of chroot_build_packages ().
This commit does not change the logic of the build system. Just the syntax.

https://github.com/armbian/build/pull/2803

Checklist

hide

Activity

Show:
Done

Details

Assignee

Fix versions

Reporter

Components

Priority

Created May 13, 2021 at 12:22 PM
Updated May 22, 2021 at 3:13 PM
Resolved May 22, 2021 at 3:13 PM