From patchwork Thu Oct 31 20:37:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1187669 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="vDF4K8aL"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 473xvq6wTdz9sPT for ; Fri, 1 Nov 2019 07:37:27 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 2BDAA233B8; Thu, 31 Oct 2019 20:37:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yOO6K1KS9dqn; Thu, 31 Oct 2019 20:37:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 14A3A232BD; Thu, 31 Oct 2019 20:37:25 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 121E41BF2F4 for ; Thu, 31 Oct 2019 20:37:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0F46A878F0 for ; Thu, 31 Oct 2019 20:37:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t71+9pIjwmJD for ; Thu, 31 Oct 2019 20:37:22 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-io1-f49.google.com (mail-io1-f49.google.com [209.85.166.49]) by whitealder.osuosl.org (Postfix) with ESMTPS id 19497878DE for ; Thu, 31 Oct 2019 20:37:22 +0000 (UTC) Received: by mail-io1-f49.google.com with SMTP id u8so8335217iom.5 for ; Thu, 31 Oct 2019 13:37:22 -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:mime-version :content-transfer-encoding; bh=rsVYOFVX4NMqA1rg/n3kz+tzsBdnfjIsHxSku6Zluyg=; b=vDF4K8aLg7d5wPpt1jX2jNySKNVO9Np6C0LbOiQOIiODic0T/7fqFh02PKB/cqCHmH 5SxhsguWrVn/UKjw4/HAAAhj5mvcaAehD7l5ZCl2UMMB/seyGPur13vsSbiqVlNIzhtz QKtrzTfUtorsOm3vcz44m1SPtsv9znlPEz9MW6qHoYFyN3T50dxI0uNEk27bMWH7aVl6 a0BaAwQbrzgcSIPSUYanXjI2E2/VO6NMA8iwepv4YfV4bPj9lMkD16/VnaP0O4g5stTu jg4JDIMFWGy9/wxA434mxQ7BTnYhNxzJV3hUmB9UQLUy7qgRV6bbD/lkJfWLmv+0k6Yf anlw== 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:mime-version :content-transfer-encoding; bh=rsVYOFVX4NMqA1rg/n3kz+tzsBdnfjIsHxSku6Zluyg=; b=rIb4KGb7cqiAms84WII61q16g75CJajcdUHCRBoJa9EClRuq5Sktb0h5U1eALtvGU2 mlhiRKoxADjMu/J9fKFMxwdprqqS0CpoK1Z9ludCJoZQrZ3ddC2eZhBwQe3L5Kfr9b9k 1HwhmV2KqD/Cvwl1KzALzUTH8tzLVm79OfIDz2k/X1JiRPpaErBZgxqMEJVlVkzGg1PM V1tN6MRSgcxzZQNqmmiwRPccC7As15bpi56IkMChbwXLStBeiHyvJoYB6vXt0jvFsfoA Q+iBdGrmDBDzVIGIxepd8earQ3YvziGWxlujOD+ORsaMH7gILSylA9hNbLliMaLMh8eB diUA== X-Gm-Message-State: APjAAAWHRnT61zdnyMJ0hOC2RjgHWpHXFMlCAhV7t/qAF2ss8mS1vND3 nta8bMV9I+N/nz+uvm7b9n7AXg2J X-Google-Smtp-Source: APXvYqyyrGcW/CTGVAqTg48eFZ4RykV5tecwZPnXl2Gc3vIKKfjHhvWOEOKyuGvazbDnAiqeUi8GWg== X-Received: by 2002:a02:1948:: with SMTP id b69mr5126274jab.30.1572554240602; Thu, 31 Oct 2019 13:37:20 -0700 (PDT) Received: from james-x399.localdomain (71-218-240-127.hlrn.qwest.net. [71.218.240.127]) by smtp.gmail.com with ESMTPSA id i198sm422881ioa.5.2019.10.31.13.37.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Oct 2019 13:37:19 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Thu, 31 Oct 2019 14:37:14 -0600 Message-Id: <20191031203714.112880-1-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/e2fsprogs: enable systemd services X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: James Hilliard Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" These are normally enabled by systemctl preset-all. Signed-off-by: James Hilliard --- package/e2fsprogs/e2fsprogs.mk | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk index 28fd78047f..9a40055a4f 100644 --- a/package/e2fsprogs/e2fsprogs.mk +++ b/package/e2fsprogs/e2fsprogs.mk @@ -74,5 +74,14 @@ define HOST_E2FSPROGS_INSTALL_CMDS $(HOST_MAKE_ENV) $(MAKE1) -C $(@D) install install-libs endef +define E2FSPROGS_INSTALL_INIT_SYSTEMD + mkdir -p $(TARGET_DIR)/etc/systemd/system/default.target.wants + ln -sf ../../../../lib/systemd/system/e2scrub_reap.service \ + $(TARGET_DIR)/etc/systemd/system/default.target.wants/e2scrub_reap.service + mkdir -p $(TARGET_DIR)/etc/systemd/system/timers.target.wants + ln -sf ../../../../lib/systemd/system/e2scrub_all.timer \ + $(TARGET_DIR)/etc/systemd/system/timers.target.wants/e2scrub_all.timer +endef + $(eval $(autotools-package)) $(eval $(host-autotools-package))