[Buildroot] [PATCH 1/1] e2fsprogs: prevent undesired cleanup with a usr merged target

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Nov 4 21:50:12 UTC 2015


Dear James Knight,

On Wed, 28 Oct 2015 17:36:26 -0400, James Knight wrote:
> The following commit prevents the e2fsprogs package from inadvertently
> removing its own binaries when a target includes BusyBox and is
> targeting a usr-merged environment.
> 
> While an action has been added to cleanup BusyBox-provided (if any)
> ext2-related tools when including e2fsprogs, the action will delete
> desired e2fsprogs binaries in an already prepared usr-merged target.
> Adjusting the cleanup to occur before installing e2fsprogs binaries so
> that if a usr-merged target exists, it will first delete the previous
> binaries (if any) followed by installing new binaries.
> 
> Signed-off-by: James Knight <james.knight at rockwellcollins.com>
> ---
>  package/e2fsprogs/e2fsprogs.mk | 15 +++++++++++----
>  1 file changed, 11 insertions(+), 4 deletions(-)

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list