All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 0/2] A better solution for the swapon/swapoff issue in inittag
@ 2020-02-07 22:33 unixmania at gmail.com
  2020-02-07 22:33 ` [Buildroot] [PATCH v2 1/2] Revert "system: don't attempt swapon/swapoff in inittab if not available" unixmania at gmail.com
  2020-02-07 22:33 ` [Buildroot] [PATCH v2 2/2] package/skeleton-init-sysv: conditionally enable swapon/swapoff in inittab unixmania at gmail.com
  0 siblings, 2 replies; 5+ messages in thread
From: unixmania at gmail.com @ 2020-02-07 22:33 UTC (permalink / raw)
  To: buildroot

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(-)

-- 
2.18.2

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-02-08 19:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-07 22:33 [Buildroot] [PATCH v2 0/2] A better solution for the swapon/swapoff issue in inittag unixmania at gmail.com
2020-02-07 22:33 ` [Buildroot] [PATCH v2 1/2] Revert "system: don't attempt swapon/swapoff in inittab if not available" unixmania at gmail.com
2020-02-08 19:19   ` Peter Korsgaard
2020-02-07 22:33 ` [Buildroot] [PATCH v2 2/2] package/skeleton-init-sysv: conditionally enable swapon/swapoff in inittab unixmania at gmail.com
2020-02-08 19:19   ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.