[OE-core] [PATCH 17/17] e2fsprogs: Delete identical binaries and create symlinks instead
Martin Jansa
martin.jansa at gmail.com
Sat Apr 11 15:28:46 UTC 2015
> does it cover e2label as well
yes it does
On Sat, Apr 11, 2015 at 5:01 PM, Khem Raj <raj.khem at gmail.com> wrote:
>
>
> On Saturday, April 11, 2015, Martin Jansa <martin.jansa at gmail.com> wrote:
>
>> There is configure option for this, see my pending e2fsprogs patch from
>> Friday.
>>
>> Saw it now. Looks good does it cover e2label as well
>
>>
>> On Sat, Apr 11, 2015 at 3:20 AM, Khem Raj <raj.khem at gmail.com> wrote:
>>
>>> Here is what build history tells now
>>>
>>> e2fsprogs-tune2fs:
>>>
>>> -PKGSIZE = 144336
>>> +PKGSIZE = 72175
>>>
>>> e2fsprogs-e2fsck:
>>>
>>> -PKGSIZE = 1345500
>>> +PKGSIZE = 269124
>>>
>>> e2fsprogs-mke2fs:
>>>
>>> -PKGSIZE = 551316
>>> +PKGSIZE = 111036
>>>
>>> Change-Id: I0902484ad506d892292c4bea6789467179b5ea8d
>>> Signed-off-by: Khem Raj <khem_raj at cable.comcast.com>
>>> ---
>>> meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb | 8 ++++++++
>>> 1 file changed, 8 insertions(+)
>>>
>>> diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb
>>> b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb
>>> index 66065bc..e6ff5f9 100644
>>> --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb
>>> +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb
>>> @@ -43,6 +43,9 @@ do_install () {
>>> rm -f ${D}${base_sbindir}/blkid
>>> rm -f ${D}${base_sbindir}/fsck
>>> rm -f ${D}${base_sbindir}/findfs
>>> + rm -f ${D}${base_sbindir}/mkfs.ext*
>>> + rm -f ${D}${base_sbindir}/fsck.ext*
>>> + rm -f ${D}${base_sbindir}/e2label
>>>
>>> # e2initrd_helper and the pkgconfig files belong in libdir
>>> if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; then
>>> @@ -50,6 +53,11 @@ do_install () {
>>> mv ${D}${base_libdir}/e2initrd_helper ${D}${libdir}
>>> mv ${D}${base_libdir}/pkgconfig ${D}${libdir}
>>> fi
>>> + for ext in ext2 ext3 ext4 ext4dev; do
>>> + ln -sf mke2fs ${D}${base_sbindir}/mkfs.${ext}
>>> + ln -sf e2fsck ${D}${base_sbindir}/fsck.${ext}
>>> + done
>>> + ln -sf tune2fs ${D}${base_sbindir}/e2label
>>>
>>> oe_multilib_header ext2fs/ext2_types.h
>>> install -d ${D}${base_bindir}
>>> --
>>> 2.1.4
>>>
>>> --
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core at lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150411/658e619e/attachment-0002.html>
More information about the Openembedded-core
mailing list