Bug 8370 - files-in-image.txt doesn't include the root directory
Summary: files-in-image.txt doesn't include the root directory
Status: VERIFIED WONTFIX
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.0
Assignee: Paul Eggleton
QA Contact: Bogdan Alexandru Voiculescu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-09-22 10:23 UTC by Elliot Smith
Modified: 2015-11-16 08:54 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
Example files-in-image.txt without an entry for the root directory (57.69 KB, text/plain)
2015-09-22 10:23 UTC, Elliot Smith
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elliot Smith 2015-09-22 10:23:22 UTC
Created attachment 2757 [details]
Example files-in-image.txt without an entry for the root directory

commit: 7b86c771c80d0759c2ca0e57c46c4c966f89c49e

The files-in-image.txt file is produced as a build output, and contains an entry for each file in a generated image.

However, the root directory (/) for the image is not included in this output (example attached).

The root is important for tools like Toaster which want to show the directory tree for an image, as this is more difficult if the tree has no root to start from.
Comment 1 Paul Eggleton 2015-09-23 09:32:21 UTC
So we could add the ./ entry back in, but Toaster issue aside the actual data isn't very useful - any permissions on that directory in the produced image apparently aren't reflected at runtime on the target (I just did a check where I changed the permissions during the image build, and that change didn't show up when I booted the image under QEMU).
Comment 2 Paul Eggleton 2015-10-02 07:50:40 UTC
So I'm marking this as WONTFIX - AIUI there's now a workaround in Toaster, and the entry doesn't provide useful data in any case.
Comment 3 Bogdan Alexandru Voiculescu 2015-11-16 08:54:04 UTC
agree to not fix