mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
introduce DEB_COMPRESS for dpkg-deb+kernel's KDEB_COMPRESS (#3222)
* introduce DEB_COMPRESS for dpkg-deb+kernel's KDEB_COMPRESS - Avoids zstd which is now default in Ubuntu Impish, but can't be read by Debian dpkg - Allows for xz, gzip, or none; defaults to xz; use gzip for faster, and none for much faster. Signed-off-by: Ricardo Pardini <ricardo@pardini.net> * use KDEB_COMPRESS in packages/armbian/builddep for 5.12+ kernels too Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
This commit is contained in:
@@ -21,6 +21,7 @@ fi
|
||||
[[ -z $ROOTPWD ]] && ROOTPWD="1234" # Must be changed @first login
|
||||
[[ -z $MAINTAINER ]] && MAINTAINER="Igor Pecovnik" # deb signature
|
||||
[[ -z $MAINTAINERMAIL ]] && MAINTAINERMAIL="igor.pecovnik@****l.com" # deb signature
|
||||
[[ -z $DEB_COMPRESS ]] && DEB_COMPRESS="xz" # compress .debs with XZ by default. Use 'none' for faster/larger builds
|
||||
TZDATA=$(cat /etc/timezone) # Timezone for target is taken from host or defined here.
|
||||
USEALLCORES=yes # Use all CPU cores for compiling
|
||||
HOSTRELEASE=$(cat /etc/os-release | grep VERSION_CODENAME | cut -d"=" -f2)
|
||||
|
||||
Reference in New Issue
Block a user