View Single Post
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#46
Originally Posted by Estel View Post
@lma
Just keep in mind that editing rcS-late by hand invalidate it for using adjust-rcS-late and update-rcS-late - yet, it's not a big deal, as if You know how to edit rcS-late by hand, You actually don't need those two scripts They're mean to "automagically" update rcS-late, saving it from users doing manual changes to file, that is critical for boot process.

/Estel
Estel, during fiddling with multiboot, compcache and recovery shell I found that we do not need to edit system critical files (rcS-late) directly, but we may enable SD swap / disable eMMC swap later safely with script in event.d:
start on started ke-recv is early enough, no data is written to eMMC swap at this point (256MB mem is too less, but to this point sufficient ).
So I modified my scripts to enable ramzswap (priority 1), then SD swap (priority 0) and the disable eMMC swap (priority -1). I do not see any boot delays, except enabling of swap (swapon -a), but this should not consume much time (less than we can measure).
Just for info,
 

The Following 2 Users Say Thank You to peterleinchen For This Useful Post: