diff options
author | Esben Haabendal <esben@geanix.com> | 2024-10-24 13:28:43 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-10-29 11:19:57 +0000 |
commit | 76c5b7ebd0c5d0c816951972831291643416c5af (patch) | |
tree | c57b9ac43e677914b7e1c09a405f128063f32605 | |
parent | e0391665c7c3622d805c98ae48bf289e92c4163e (diff) | |
download | poky-76c5b7ebd0c5d0c816951972831291643416c5af.tar.gz |
files: Amend overlayfs unit descriptions with path information
Having something like
Starting Overlayfs directories setup /home...
Starting Overlayfs directories setup /root...
Finished Overlayfs directories setup /home.
Finished Overlayfs directories setup /root.
Mounting Overlayfs mount unit /home...
Mounting Overlayfs mount unit /root...
Mounted Overlayfs mount unit /root.
Mounted Overlayfs mount unit /home.
is much more informative than
Starting Overlayfs directories setup...
Starting Overlayfs directories setup...
Finished Overlayfs directories setup.
Finished Overlayfs directories setup.
Mounting Overlayfs mount unit...
Mounting Overlayfs mount unit...
Mounted Overlayfs mount unit.
Mounted Overlayfs mount unit.
Especially as the number of overlayfs mount units increase.
(From OE-Core rev: 7308b4fc6f51bdf2b8f3b7899ff3758c5968e418)
Signed-off-by: Esben Haabendal <esben@geanix.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/files/overlayfs-create-dirs.service.in | 2 | ||||
-rw-r--r-- | meta/files/overlayfs-unit.mount.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/files/overlayfs-create-dirs.service.in b/meta/files/overlayfs-create-dirs.service.in index c949a6dc73..d8d916365a 100644 --- a/meta/files/overlayfs-create-dirs.service.in +++ b/meta/files/overlayfs-create-dirs.service.in | |||
@@ -1,5 +1,5 @@ | |||
1 | [Unit] | 1 | [Unit] |
2 | Description=Overlayfs directories setup | 2 | Description=Overlayfs directories setup {LOWERDIR} |
3 | Requires={DATA_MOUNT_UNIT} | 3 | Requires={DATA_MOUNT_UNIT} |
4 | After={DATA_MOUNT_UNIT} | 4 | After={DATA_MOUNT_UNIT} |
5 | DefaultDependencies=no | 5 | DefaultDependencies=no |
diff --git a/meta/files/overlayfs-unit.mount.in b/meta/files/overlayfs-unit.mount.in index 1d33b7e39c..9c117f2c52 100644 --- a/meta/files/overlayfs-unit.mount.in +++ b/meta/files/overlayfs-unit.mount.in | |||
@@ -1,5 +1,5 @@ | |||
1 | [Unit] | 1 | [Unit] |
2 | Description=Overlayfs mount unit | 2 | Description=Overlayfs mount unit {LOWERDIR} |
3 | Requires={CREATE_DIRS_SERVICE} | 3 | Requires={CREATE_DIRS_SERVICE} |
4 | After={CREATE_DIRS_SERVICE} | 4 | After={CREATE_DIRS_SERVICE} |
5 | 5 | ||