mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
fix: check and add debian package compression for kernel legacy (#3807)
This commit is contained in:
@@ -107,6 +107,15 @@ compilation_prepare()
|
|||||||
process_patch_file "${SRC}/patch/misc/general-packaging-4.9.y.patch" "applying"
|
process_patch_file "${SRC}/patch/misc/general-packaging-4.9.y.patch" "applying"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# After the patches have been applied,
|
||||||
|
# check and add debian package compression if required.
|
||||||
|
#
|
||||||
|
if [ "$(awk '/dpkg --build/{print $1}' $kerneldir/scripts/package/builddeb)" == "dpkg" ];then
|
||||||
|
sed -i -e '
|
||||||
|
s/dpkg --build/dpkg-deb \${KDEB_COMPRESS:+-Z\$KDEB_COMPRESS} --build/
|
||||||
|
' "$kerneldir"/scripts/package/builddeb
|
||||||
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
# Linux splash file
|
# Linux splash file
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user