Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] btrfs filesystem image creation using TARGET_DIR path
@ 2019-07-30 13:03 chalil jitesh
  2019-07-31 12:45 ` Thomas Petazzoni
  0 siblings, 1 reply; 6+ messages in thread
From: chalil jitesh @ 2019-07-30 13:03 UTC (permalink / raw)
  To: buildroot

 Hi,

I am trying to create a btrfs filesystem image from buildroot (buildroot
2019.02 version). During the btrfs image creation step in the file
buildroot/fs/btrfs/btrfs.mk the target root file system directory path
passed to -r option seems to be given as $(TARGET_DIR) which is pointing to
build/buildroot-fs/btrfs/target instead of actual root file system
directory $(BASE_TARGET_DIR) (as followed for other file system image
creation like buildroot/fs/squashfs/squashfs.mk).
Kindly please review if my understanding is correct or if i am mising any
steps and if the -r option should point to $(BASE_TARGET_DIR).
Attaching the changes done for review.

diff -Naur btrfs/btrfs.mk btrfs_new/btrfs.mk
--- btrfs/btrfs.mk    2019-07-30 13:05:57.105137900 +0530
+++ btrfs_new/btrfs.mk        2019-07-30 13:05:52.583135800 +0530
@@ -19,7 +19,7 @@

 BTRFS_OPTS = \
        -f \
-       -r '$(TARGET_DIR)' \
+       -r '$(BASE_TARGET_DIR)' \
        -L '$(BTRFS_LABEL)' \
        --byte-count '$(BTRFS_SIZE)' \
        $(if $(BTRFS_SIZE_NODE),--nodesize '$(BTRFS_SIZE_NODE)') \


With Thanks and Regards
Jitesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190730/487b9a4b/attachment.html>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-08-22 16:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-30 13:03 [Buildroot] btrfs filesystem image creation using TARGET_DIR path chalil jitesh
2019-07-31 12:45 ` Thomas Petazzoni
2019-08-01  6:49   ` chalil jitesh
2019-08-01  7:43     ` Thomas Petazzoni
2019-08-22 13:30       ` chalil jitesh
2019-08-22 16:31         ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox