On 10/18/20 11:43 PM, DJ Lucas via lfs-book wrote:

On 10/18/2020 9:31 PM, Bruce Dubbs via lfs-book wrote:
On 10/18/20 9:22 PM, DJ Lucas via lfs-book wrote:

On 10/18/2020 9:17 PM, Bruce Dubbs via lfs-book wrote:
On 10/1/20 10:57 PM, dj--- via lfs-book wrote:
Author: dj
Date: Thu Oct  1 20:57:24 2020
New Revision: 12052

Modified: trunk/BOOK/bootscripts/lfs/init.d/swap
============================================================================== --- trunk/BOOK/bootscripts/lfs/init.d/swap    Thu Oct  1 08:28:53 2020    (r12051) +++ trunk/BOOK/bootscripts/lfs/init.d/swap    Thu Oct  1 20:57:24 2020    (r12052)
@@ -16,8 +16,8 @@
  # Provides:            swap
  # Required-Start:      udev
  # Should-Start:        modules
-# Required-Stop:       localnet $local_fs
-# Should-Stop:
+# Required-Stop:       localnet
+# Should-Stop:         $local_fs
  # Default-Start:       S
  # Default-Stop:        0 6
  # Short-Description:   Mounts and unmounts swap partitions.

DJ, What does localnet have to do with swap?

  -- Bruce


This fixes a dependency loop with the scripts when working from an empty directory and keeps the same order as the Makefile.

Should there be a comment to that effect?


2020-10-02 DJ Lucas <[email protected]>
   * make $local_fs a Should-Stop dependency of swap to allow clean install

Is that not sufficient? Or were you suggesting similar in the changelog for the book?

I was thinking of a comment in the boot script itself. See, for instance, checkfs.


--
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to