e2fsprogs: prevent undesired cleanup with a usr merged target
authorJames Knight <james.knight@rockwellcollins.com>
Wed, 28 Oct 2015 21:36:26 +0000 (17:36 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 4 Nov 2015 21:48:00 +0000 (22:48 +0100)
commit9a9950dba81eb1ec25ac98080d2b5ab764b704f7
tree0f38e7961e7b8e16fa79df452f879f8523585636
parentf700463c66376283ab4bffc391209bf20c63088d
e2fsprogs: prevent undesired cleanup with a usr merged target

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@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/e2fsprogs/e2fsprogs.mk