| Summary: | image.bbclass: Consider adding --apparent-size to du -ks for get_rootfs_size | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Jonathan Liu <net147> |
| Component: | deployment | Assignee: | Maxin B. John <maxin.john> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | randy.macleod, ross.burton |
| Version: | 5.99 | ||
| Target Milestone: | 2.5 M1 | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Jonathan Liu
2017-10-18 12:43:16 UTC
As we're getting the size of a single file, we could just use stat() right? (In reply to comment #1) > As we're getting the size of a single file, we could just use stat() right? It is calculating size for a directory not a single file. Yes, sorry, I was thinking of the wrong variable. Note that you'll still get differences with --apparent-size thanks to the directory inodes being of variable size. |