Message ID | 20200207223322.7182-1-unixmania@gmail.com |
---|---|
Headers | show
Return-Path: <buildroot-bounces@busybox.net> 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.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=<UNKNOWN>) 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.a=rsa-sha256 header.s=20161025 header.b=JEK1cw0k; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48DqpD3FF0z9sRR for <incoming-buildroot@patchwork.ozlabs.org>; Sat, 8 Feb 2020 09:33:40 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D8CCB87EA4; Fri, 7 Feb 2020 22:33:38 +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 0VpOZr-al1Lm; Fri, 7 Feb 2020 22:33:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 9CF7C88012; Fri, 7 Feb 2020 22:33:37 +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 DCCEA1BF57C for <buildroot@lists.busybox.net>; Fri, 7 Feb 2020 22:33:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B8D7E8808D for <buildroot@lists.busybox.net>; Fri, 7 Feb 2020 22:33:35 +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 5vbzL0HmeX1c for <buildroot@lists.busybox.net>; Fri, 7 Feb 2020 22:33:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) by hemlock.osuosl.org (Postfix) with ESMTPS id 330AA88076 for <buildroot@buildroot.org>; Fri, 7 Feb 2020 22:33:33 +0000 (UTC) Received: by mail-qk1-f174.google.com with SMTP id q15so750152qki.2 for <buildroot@buildroot.org>; Fri, 07 Feb 2020 14:33:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=FGstoS6AFo+6m1l/oOS8j5tWtlx9Rsr+26Y5RAxXeLY=; b=JEK1cw0kOPuXizqAPtSRPLGQJlGroBliRHHciOjxF85HlEPFIZs0/V6sF+a5XWe9ul 1tw/NOXl550IxB8A76WRSn6Upb5z3ozetkAldNwt5eyBqtn8jLpQGrqfE7XbUD3Qauw1 7oMF/cGqMhuyp8OXzjIi2kGPNTuVDb87KYn53XBelV8IFx+cEhQHGKUxVMK/F81tnVw4 brO0diVWUndtmP5JrATVU5o5kqEvCzF6hNQb2YPuHvujdHrSB3O2XUYIO7DL+NlNlHdP aEFOm8TqQIDDTcJTQfk42lkBqr8Qxe6iPm8y8iqjUZwrzgcw8dYNHXKlSHIzVIr0ZS4v sFOw== 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; bh=FGstoS6AFo+6m1l/oOS8j5tWtlx9Rsr+26Y5RAxXeLY=; b=XOuMUxM9ovUeAUhJPdkuCOnkJ7OvFQWnDNQDW0tarMOFVhnQEkuRTNb7EwZ46Lb2el jltAYV7+qfY/+SGGtGiY6pD0jCj64iKbYNibldcWa1pxW7qe/ZNxNc8fUFDDbOaom2Dk YB3TCYc2HE+QxhWnf0mnfC9kkAhPQFGbtUJJYDdnfgMoqLKiolT9Aim1OD2gRHvjTaiM E3xtyyAaTy0NH1cnjSho+IMyUquj1pfZvMDJy694632ws7y4S3LhrZdIJrsRmOF4eLED pv8I7+q07Wh+0CARRtXHc56hT8rlx3jU+6pC679uJmaDdmIEb+aEeSGnQKCwSJpY9B4s wiTQ== X-Gm-Message-State: APjAAAWs8uwdG0F8GSr4H7a+MnGM+KL+Qh22jCyg0bzdvxv2M2l+Fj90 fHRPGiOIlP9/RXMyPHwRDDyiSoX9fPU= X-Google-Smtp-Source: APXvYqyGazovut/9pBvjfSKgpzvtStZWmDAFY3kjfZVPc38xM56wCab35Xc7nXLUaROEXA/fcW1xNw== X-Received: by 2002:ae9:e114:: with SMTP id g20mr1150511qkm.458.1581114812389; Fri, 07 Feb 2020 14:33:32 -0800 (PST) Received: from casantos.remote.com ([191.32.34.199]) by smtp.gmail.com with ESMTPSA id g37sm2185261qte.60.2020.02.07.14.33.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Feb 2020 14:33:31 -0800 (PST) From: unixmania@gmail.com To: buildroot@buildroot.org Date: Fri, 7 Feb 2020 19:33:20 -0300 Message-Id: <20200207223322.7182-1-unixmania@gmail.com> X-Mailer: git-send-email 2.18.2 Subject: [Buildroot] [PATCH v2 0/2] A better solution for the swapon/swapoff issue in inittag X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot <buildroot.busybox.net> List-Unsubscribe: <http://lists.busybox.net/mailman/options/buildroot>, <mailto:buildroot-request@busybox.net?subject=unsubscribe> List-Archive: <http://lists.busybox.net/pipermail/buildroot/> List-Post: <mailto:buildroot@busybox.net> List-Help: <mailto:buildroot-request@busybox.net?subject=help> List-Subscribe: <http://lists.busybox.net/mailman/listinfo/buildroot>, <mailto:buildroot-request@busybox.net?subject=subscribe> Cc: Carlos Santos <unixmania@gmail.com>, Peter Korsgaard <peter@korsgaard.com>, Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>, Adam Duskett <aduskett@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" <buildroot-bounces@busybox.net> |
Series |
A better solution for the swapon/swapoff issue in inittag
|
expand
|
From: Carlos Santos <unixmania@gmail.com> The current solution adds target-finalize hooks to two packages and defines the hook in system/system.mk. The hook code is more complex than it needs to be. This solution adds the hook to skeleton-init-sysv, only, and uses a simpler logic. --- CC: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> CC: Peter Korsgaard <peter@korsgaard.com> --- Carlos Santos (2): Revert "system: don't attempt swapon/swapoff in inittab if not available" package/skeleton-init-sysv: conditionally enable swapon/swapoff in inittab package/busybox/busybox.mk | 1 - package/skeleton-init-sysv/skeleton-init-sysv.mk | 10 ++++++++++ package/sysvinit/sysvinit.mk | 1 - system/system.mk | 13 ------------- 4 files changed, 10 insertions(+), 15 deletions(-)