summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/lib/wic/plugins/source/rootfs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/wic/plugins/source/rootfs.py b/scripts/lib/wic/plugins/source/rootfs.py
index 4dc4cb851d..c08f7600ce 100644
--- a/scripts/lib/wic/plugins/source/rootfs.py
+++ b/scripts/lib/wic/plugins/source/rootfs.py
@@ -48,7 +48,7 @@ class RootfsPlugin(SourcePlugin):
48 @staticmethod 48 @staticmethod
49 def __get_rootfs_dir(rootfs_dir): 49 def __get_rootfs_dir(rootfs_dir):
50 if os.path.isdir(rootfs_dir): 50 if os.path.isdir(rootfs_dir):
51 return rootfs_dir 51 return os.path.realpath(rootfs_dir)
52 52
53 image_rootfs_dir = get_bitbake_var("IMAGE_ROOTFS", rootfs_dir) 53 image_rootfs_dir = get_bitbake_var("IMAGE_ROOTFS", rootfs_dir)
54 if not os.path.isdir(image_rootfs_dir): 54 if not os.path.isdir(image_rootfs_dir):
@@ -56,7 +56,7 @@ class RootfsPlugin(SourcePlugin):
56 "named %s has been found at %s, exiting." % 56 "named %s has been found at %s, exiting." %
57 (rootfs_dir, image_rootfs_dir)) 57 (rootfs_dir, image_rootfs_dir))
58 58
59 return image_rootfs_dir 59 return os.path.realpath(image_rootfs_dir)
60 60
61 @classmethod 61 @classmethod
62 def do_prepare_partition(cls, part, source_params, cr, cr_workdir, 62 def do_prepare_partition(cls, part, source_params, cr, cr_workdir,