From patchwork Thu Apr 1 13:36:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Salvaterra X-Patchwork-Id: 1461050 X-Patchwork-Delegate: hauke@hauke-m.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=NXtxDEaV; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=fdrui68t; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FB45N0bnrz9sPf for ; Fri, 2 Apr 2021 00:38:31 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=SeqEjrgplbV9p7FQqPIu256p8kYK+djgNAn8y4FCBDU=; b=NXtxDEaVZDXhehEOzKszXHylR WLC17CTgmA17864An6b+aR4VEs5d4cjt8tIQ3L9bfP9k3jbcf8KlguOTOtSOur8xEwo/v5CsbC46T FK1rB8hqvZOAN94S+oIM09mrWGSLW6koZ00hMBpD4ngd6KWMj4qgyDIyd6a+vV78XzH/jzF4YVACb 8Hu1mst8CgrPtWXeGd/3ps9vIab1Tx6tiARx81HAASrZGtWSZFawY8RoKWWqvxY9w3ywAE1kAGo8W U4sM+gqfVqD+18PRe61BRNumslEpssuNVCFi2x6aw8M+ab57jWt93WTnn8BvICQySUKTtyU17wcev N/xvB3kgw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lRxV4-009hEP-0Q; Thu, 01 Apr 2021 13:36:42 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lRxUz-009hDB-Qk for openwrt-devel@lists.openwrt.org; Thu, 01 Apr 2021 13:36:39 +0000 Received: by mail-wm1-x331.google.com with SMTP id d191so1072346wmd.2 for ; Thu, 01 Apr 2021 06:36:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LPBlNDQqV+8aoIdTxOE3cC7AVm4gQnA6wJPK9KNDKFk=; b=fdrui68tBZD9DQta/E4todxzcVqQ3jw6G1AjYWoZF4wmKlzZy9EXkIkO+db6snPlWI +VKWoXbSTOCIrpYnAzCdgQ7AzKiEQ1+xBHxoo0eyNC5UuttYv6v6RrKXNdxx55ycua5c WqKkyv17CFjHwUKqZyNI+zzqTUdNKp2Ry/p+pa6m+RhWiqCm+PQZeDkoo46x0gHFJJEb oVqSf+PV9+h76PpWK9XG5/lrI/ZmnetBGGo7yfYa2wkJPJ2djbQqKKPxz8omIZNmwMwA 15NliiReMi8H5Du1ldElJNl34g2Z9qNIkmg8gVwIogcSPcIzqFnk2hcrd/jtwAJANVEP xDHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LPBlNDQqV+8aoIdTxOE3cC7AVm4gQnA6wJPK9KNDKFk=; b=CPuWnY69qpKxNCXpq8kkEbOAi8W77LCV0E02hcmrJ7soxwBnX/qCBLrYl3X/c4Kk26 hRUJAFFTU8wLNpPy7ocDaPBP7anOIfX1aP4uGEc1iKVFU67Bw/SW1C79J5hGeHGE5QoC bgKC/VaBdB+RxSBdnHGlF6d1JvT/uxPQoYcUq4Aup60ErQuNcr9cVvLNU55vZxzJ3ywC E9mXjpZmveXRCpolQx7LewcWWL9s+WCCBr9lZ8WInBt3p5ZB70gqggJbB2FLYzmWoPqS TwUf8S6injgnvefqR8v1666PDGsFH/yuMiMN6cqgnpj5Qp3txXi2EHzSB0I66N7/gbUe OdXw== X-Gm-Message-State: AOAM530hD+HWHF9K6WZTJCYn4wSQnq8RgEL9pwDyYm8o7EBz5npx5WG7 oGyHNM8uBeNJouQ1sk+Vom5oQz19XEK/ X-Google-Smtp-Source: ABdhPJxU+YQJQyl8Ef7Ck8jCDLZEaeeNG7P6o+Xb2BYjfgD/6Y6BXQ+WT24FwGrHglv1OlPmUwpTkw== X-Received: by 2002:a7b:c1c9:: with SMTP id a9mr7937507wmj.145.1617284197082; Thu, 01 Apr 2021 06:36:37 -0700 (PDT) Received: from mallard.lan (a95-94-147-174.cpe.netcabo.pt. [95.94.147.174]) by smtp.gmail.com with ESMTPSA id y18sm10166150wrq.61.2021.04.01.06.36.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Apr 2021 06:36:36 -0700 (PDT) From: Rui Salvaterra To: openwrt-devel@lists.openwrt.org Subject: [PATCH v2 1/2] zram-swap: clean up the makefile Date: Thu, 1 Apr 2021 14:36:32 +0100 Message-Id: <20210401133633.1307240-2-rsalvaterra@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210401133633.1307240-1-rsalvaterra@gmail.com> References: <20210401133633.1307240-1-rsalvaterra@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210401_143638_007792_13E5BED0 X-CRM114-Status: UNSURE ( 9.67 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "desiato.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Break dependencies into separate lines, to improve the readability. Trim trailing whitespace. Signed-off-by: Rui Salvaterra --- package/system/zram-swap/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:331 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [rsalvaterra[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: stijn@linux-ipv6.be, jo@mein.io, mail@david-bauer.net, Rui Salvaterra Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Break dependencies into separate lines, to improve the readability. Trim trailing whitespace. Signed-off-by: Rui Salvaterra --- package/system/zram-swap/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/package/system/zram-swap/Makefile b/package/system/zram-swap/Makefile index 18c6afee96..80f87fcdff 100644 --- a/package/system/zram-swap/Makefile +++ b/package/system/zram-swap/Makefile @@ -17,14 +17,20 @@ include $(INCLUDE_DIR)/package.mk define Package/zram-swap SECTION:=utils CATEGORY:=Base system - DEPENDS:=+kmod-zram +@BUSYBOX_CONFIG_MKSWAP +@BUSYBOX_CONFIG_SWAPON +@BUSYBOX_CONFIG_FEATURE_SWAPON_DISCARD +@BUSYBOX_CONFIG_FEATURE_SWAPON_PRI +@BUSYBOX_CONFIG_SWAPOFF + DEPENDS:= \ + +@BUSYBOX_CONFIG_FEATURE_SWAPON_DISCARD \ + +@BUSYBOX_CONFIG_FEATURE_SWAPON_PRI \ + +@BUSYBOX_CONFIG_MKSWAP \ + +@BUSYBOX_CONFIG_SWAPOFF \ + +@BUSYBOX_CONFIG_SWAPON \ + +kmod-zram TITLE:=ZRAM swap scripts PKGARCH:=all endef define Package/zram-swap/description - A script to activate swaping on a compressed zram partition. This - could be used to increase the available memory, by using compressed + A script to activate swaping on a compressed zram partition. This + could be used to increase the available memory, by using compressed memory. endef