From patchwork Mon Jul 24 08:23:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 1811582 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=Nva5kL79; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4R8Y961Ph3z1yYc for ; Mon, 24 Jul 2023 18:24:08 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1qNqrE-00059r-PR; Mon, 24 Jul 2023 08:23:56 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1qNqrC-00059k-TY for kernel-team@lists.ubuntu.com; Mon, 24 Jul 2023 08:23:54 +0000 Received: from mail-il1-f200.google.com (mail-il1-f200.google.com [209.85.166.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 7BD1B3F10A for ; Mon, 24 Jul 2023 08:23:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1690187034; bh=ntet9DKHccbKxXKhQq2PycEKbPnQmTfYhcLHChrF8KM=; h=From:To:Subject:Date:Message-Id:MIME-Version:Content-Type; b=Nva5kL79xGpmfXqdFAnLZgdFZQxwaFoy+KT/5+VOTA6fLngVg1xc4JVgqChDstuMT FBxG9NulBzj7isamTLUhq2S1bcX+CERf+LwNQO0qzDwGc6r0sMAqBgsLVwLBnjaasl 6YwmC3Gf+4Ny0Ou8a0G3UE/peJObmQyZL2uFtvFxEtUtOftRuoqz5YIkdf4V5tX5aq gSSNtL7uj3yRMQ1COLhYwp4h1uS5qYlVEWSY7AlJtJiQzm0XVpmnSJnBadXSt/HRvO l/kfAFzqESoFuGi1MdJZvbwnXRDrxiin+vq7yl+Bq5TPwfrpRfhplJJHJ1xjj9RgS5 Zazclqum/ZSKw== Received: by mail-il1-f200.google.com with SMTP id e9e14a558f8ab-348a35dc17eso17716055ab.1 for ; Mon, 24 Jul 2023 01:23:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690187033; x=1690791833; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ntet9DKHccbKxXKhQq2PycEKbPnQmTfYhcLHChrF8KM=; b=GKgvOzRtOI1AZhz4e0CaCG7TImkTD/7vl8Lha3Dgg3l2IoVK6yfQJR1IYF4JmrdG1D mntpSeOFGL9PFt2RSDo8Mo62JzIFTRp2e5f35kQ4GnphppBU8lUKIcQd9If4xunnkeq1 D5rvU8ZNyZ6FP0frbEGO6GZcZIGlR2/aA1Rwv2y2tt7fPFPqjRKD0uPem34Bk2YFyG4L ++qqV58QAGmq4re/1ujrfANFxVsx21qcu1YT8/HevkHuakAvvlJwZDB6cNf9KVPvmrLH T88tFaFPIKQil4WC9JRcXoxYZPBVsyHNzkjdQrCiLD+RXidB16e8yF+kEWzBaWmc2UqN YZGA== X-Gm-Message-State: ABy/qLa93mqRBytqi4Q48Pi3z+FQyDZ0uGduIDVNU4oG+QcIXZYN50xR XU3z+IelvONzBK9EGtNp4QQJ+alI4PJqTCdpiBYbWYojWXG1J9Ze7Ml6tw5XFS6q8TpWOR039jK 3l/i9WkvZg60NY8+SS6li1LxBvhCq4INroKjYaK/GdhZ3kDgelg== X-Received: by 2002:a05:6e02:1d93:b0:346:6d97:ffd1 with SMTP id h19-20020a056e021d9300b003466d97ffd1mr5887429ila.18.1690187033272; Mon, 24 Jul 2023 01:23:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlHLPqKJGqsyP7AhnJOoNLdFYLHlM9yMTqdoaZslhrQ1qScIFffpynftMxIVSmnGvzVHS/dFMw== X-Received: by 2002:a05:6e02:1d93:b0:346:6d97:ffd1 with SMTP id h19-20020a056e021d9300b003466d97ffd1mr5887418ila.18.1690187032944; Mon, 24 Jul 2023 01:23:52 -0700 (PDT) Received: from zoe.. ([2001:f74:8f00:c00:6aff::1003]) by smtp.gmail.com with ESMTPSA id o10-20020a637e4a000000b0051b36aee4f6sm7839585pgn.83.2023.07.24.01.23.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jul 2023 01:23:52 -0700 (PDT) From: Masahiro Yamada To: kernel-team@lists.ubuntu.com Subject: [focal][PATCH] builddeb: allow selection of .deb compressor Date: Mon, 24 Jul 2023 17:23:47 +0900 Message-Id: <20230724082347.3315676-1-masahiro.yamada@canonical.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Michał Mirosław [ Upstream commit 1a7f0a34ea7d05d1ffcd32c9b1b4e07ac0687538 ] Select deb compression using KDEB_COMPRESS make variable. This allows to use gzip compression for local or test builds, and that's way faster than now-default xz compression. Signed-off-by: Michał Mirosław Signed-off-by: Masahiro Yamada Signed-off-by: Masahiro Yamada --- This is not a bug-fix, but this is useful to speed-up 'make bindeb-pkg'. scripts/package/builddeb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package/builddeb b/scripts/package/builddeb index c4c580f547ef..b68aaeece7c9 100755 --- a/scripts/package/builddeb +++ b/scripts/package/builddeb @@ -43,7 +43,7 @@ create_package() { # Create the package dpkg-gencontrol -p$pname -P"$pdir" - dpkg --build "$pdir" .. + dpkg-deb ${KDEB_COMPRESS:+-Z$KDEB_COMPRESS} --build "$pdir" .. } version=$KERNELRELEASE