From patchwork Thu Feb 25 21:55:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabe Evans X-Patchwork-Id: 588388 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 4883F140556 for ; Fri, 26 Feb 2016 08:57:09 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=hashrabbit.co header.i=@hashrabbit.co header.b=qGIgO5J/; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 985D99586F; Thu, 25 Feb 2016 21:57:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RLex3pHk49-F; Thu, 25 Feb 2016 21:57:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 7274595C56; Thu, 25 Feb 2016 21:57:07 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id E65F81C2E64 for ; Thu, 25 Feb 2016 21:57:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id DFBB095A4C for ; Thu, 25 Feb 2016 21:57:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P7nQlY7Vikcp for ; Thu, 25 Feb 2016 21:57:03 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by hemlock.osuosl.org (Postfix) with ESMTPS id 5AFCA8953F for ; Thu, 25 Feb 2016 21:57:03 +0000 (UTC) Received: by mail-pa0-f44.google.com with SMTP id yy13so38787979pab.3 for ; Thu, 25 Feb 2016 13:57:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hashrabbit.co; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=iWlL5Ccx4t89NnJHaZyLqSaELtBsrYcVQVt8RMO+euQ=; b=qGIgO5J/eecotM3+Y+e36ipPZkf2U2x7OSS7lJXlCtJfT4tnMUkMllFlwQKJu+f2WV DCvdZ0KfmgwWE3eRDtPx/HhERVFzpijFDuh4AxlWpegZR7k254kVQawkHhS5bv0N9+H0 8OhaY8STcSPh4eV9S3QqhMNX514FOFG9j+Eck= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=iWlL5Ccx4t89NnJHaZyLqSaELtBsrYcVQVt8RMO+euQ=; b=Kv0g3LnGPSiOnxm185lZtMfkbMttG/VneCc30jocWxKEwpsy/byIlbnaHLu+7WVdOf Zkvjmz14q8bho8vHobh19xV1W3tqLiCjG9Hvj67G39oTdY/Vg+wnxZ2LAejB26WBjazt 7fom/MMKabJjuGCeOOdZDMBhjF3JRL03Y6Ebmf/a+WacSPGKlGw1X8YmFp19kELLFGVh WR5zpLy4mYvVUmfJHquzrIoXXAq2/j9ZZY+/3q7pYxpxThFRR1g1OYleD4fLd43kBeKD jYris2LUrtKlRt6DrswT3gz5OMWWOTqC7j0HTJ8KNrh2GfF2cdmmIFE9Q4hjecsLQ5EJ mFVg== X-Gm-Message-State: AG10YOTsFjmMy0PufaVlIRVbLVgfIIoWd0oQhZvdZe/FPbWXoqujOZ37F4ZZHu/i0qCtXQ== X-Received: by 10.66.244.233 with SMTP id xj9mr46191946pac.19.1456437423032; Thu, 25 Feb 2016 13:57:03 -0800 (PST) Received: from lab.us-west-1.compute.internal (ec2-54-183-105-171.us-west-1.compute.amazonaws.com. [54.183.105.171]) by smtp.gmail.com with ESMTPSA id r77sm14342649pfa.47.2016.02.25.13.57.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Feb 2016 13:57:02 -0800 (PST) From: Gabe Evans To: buildroot@buildroot.org Date: Thu, 25 Feb 2016 21:55:13 +0000 Message-Id: <1456437341-19025-5-git-send-email-gabe@hashrabbit.co> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1456437341-19025-1-git-send-email-gabe@hashrabbit.co> References: <1456437341-19025-1-git-send-email-gabe@hashrabbit.co> Subject: [Buildroot] [PATCH 04/32] package/systemd: add --enable/disable-lz4 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Gabe Evans Reviewed-by: Arnout Vandecappelle (Essensium/Mind) --- package/systemd/Config.in | 3 ++- package/systemd/systemd.mk | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/package/systemd/Config.in b/package/systemd/Config.in index 1972b1d..9de6e11 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -56,7 +56,8 @@ config BR2_PACKAGE_SYSTEMD The selection of other packages will enable some features: - acl package will add support for multi-seat. - - xz package will add compression support in journal and coredump. + - xz and/or lz4 packages will add compression support in journal + and coredump. - libgcrypt package will add support for journal sealing and resolved DNSSEC verification. diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index ac211c8..9f15f24 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -83,6 +83,13 @@ else SYSTEMD_CONF_OPTS += --disable-bzip2 endif +ifeq ($(BR2_PACKAGE_LZ4),y) +SYSTEMD_DEPENDENCIES += lz4 +SYSTEMD_CONF_OPTS += --enable-lz4 +else +SYSTEMD_CONF_OPTS += --disable-lz4 +endif + ifeq ($(BR2_PACKAGE_XZ),y) SYSTEMD_DEPENDENCIES += xz SYSTEMD_CONF_OPTS += --enable-xz