Skip to content

A better solution for the swapon/swapoff issue in inittag

unixmania at gmail.com buildroot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Revert "system: don't attempt swapon/swapoff in inittab if not available"package/busybox/busybox.mk package/sysvinit/sysvinit.mk system/system.mk+0 -151 reply
2/2package/skeleton-init-sysv: conditionally enable swapon/swapoff in inittabpackage/skeleton-init-sysv/skeleton-init-sysv.mk+10 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Buildroot] [PATCH v2 0/2] A better solution for the swapon/swapoff issue in inittag

From: Carlos Santos <[email protected]>

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 <[email protected]>
CC: Peter Korsgaard <[email protected]>
---

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(-)
Signature · 1 line
2.18.2