Skip to content

Commit

Permalink
updated build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
hastmu committed Nov 5, 2024
1 parent 84bf2bc commit d509f2f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .include.build.deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ DEBIAN["Description"]="apt proxy detection"
function gen_control_file() {

local item=""
mkdir -p "${DPKG_BUILD_ROOT}/DEBIAN"
touch "${DPKG_BUILD_ROOT}/DEBIAN/control"
for item in ${!DEBIAN[@]}
do
echo "${item}: ${DEBIAN[${item}]}"
echo "${item}: ${DEBIAN[${item}]}" >> "${DPKG_BUILD_ROOT}/DEBIAN/control"
done

}
Expand All @@ -42,6 +44,7 @@ function gen_rootfs() {




if [ 1 -eq 0 ]
then
# defaults
Expand Down
2 changes: 2 additions & 0 deletions deploy-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ echo "- deploying..."
then
echo "- sourcing build..."
source ".include.build.deb.sh"
gen_control_file
gen_rootfs
find "${DPKG_BUILD_ROOT}"
fi
)
Expand Down

0 comments on commit d509f2f

Please sign in to comment.