New: There should be simple way to update image, when changing external fs skeleton
https://bugs.busybox.net/show_bug.cgi?id=4454
Summary: There should be simple way to update image, when
changing external fs skeleton
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: fenixk19 at mail.ru
CC: buildroot at uclibc.org
Estimated Hours: 0.0
There should be simple way to update image, when changing external fs skeleton.
If you make changes in external fs skeleton, you don't need full OS rebuild, just some repacking. But there is no obvious way to do it.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 4454] There should be simple way to update image, when changing external fs skeleton
https://bugs.busybox.net/show_bug.cgi?id=4454
--- Comment #1 from Danomi Mocelopolis <[email protected]> 2011-11-05 02:28:35 UTC --- (In reply to comment #0)
Quoted 4 lines
There should be simple way to update image, when changing external fs skeleton.
If you make changes in external fs skeleton, you don't need full OS rebuild, just some repacking. But there is no obvious way to do it.
On a few of our projects, we made added a "refresh" target that did:
- rm -fv $(BUILD_DIR)/.root $(BUILD_DIR)/*/.stamp_target_installed
- force the target skeleton copy done when making the "$(BUILD_DIR)/.root" target
+ this copied all the skeleton files
- normal make
+ this re-installed everything ... in case a selected custom package installed a file on top of a default file living in the skeleton.
We used this feature quite often, since target skeleton was part of what was updated from time to time as part of project development.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 4454] There should be simple way to update image, when changing external fs skeleton
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=4454
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|minor |enhancement
--- Comment #2 from Thomas Petazzoni <[email protected]> 2012-01-31 20:00:31 UTC --- This is an enhancement request, not a bug.
For the moment, the recommended method is to use a post-build script that modifies the target filesystem, rather than making changes to the root filesystem skeleton. The post-build script is executed at every make invocation, so it is much, much easier to use that the root filesystem skeleton mechanism.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 4454] There should be simple way to update image, when changing external fs skeleton
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=4454
--- Comment #3 from Thomas De Schampheleire <[email protected]> 2014-02-09 07:05:22 UTC --- I would like to propose to close this bug as wontfix, as we have other
mechanisms in place to achieve the same goal... Do others agree?
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 4454] There should be simple way to update image, when changing external fs skeleton
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=4454
Thomas De Schampheleire <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX--- Comment #4 from Thomas De Schampheleire <[email protected]> 2014-02-10 17:59:11 UTC --- Other buildroot developers agree that this patch is very project specific and
should not be applied to mainline buildroot.
Please consider using a post-build script or rootfs overlay to achieve the same effect (instead of changing files directly in the (custom) skeleton). See the buildroot manual for more information:
http://buildroot.uclibc.org/downloads/manual/manual.html#_customization
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.