From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) by mail.openembedded.org (Postfix) with ESMTP id 1703B605F1 for ; Sat, 11 Apr 2015 15:28:45 +0000 (UTC) Received: by wgso17 with SMTP id o17so42842626wgs.1 for ; Sat, 11 Apr 2015 08:28:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8Wq9nhoaushfFnM8psfjt5hkKf7F/LXsXJZkTLIIFFg=; b=KHbGJGJAM6dlV9dwK9sxxh3cy3WVsMCV//fzhaZyQYMjlIs2MdIzvUaRcpNP9XbLKV tPYclBlM0M6/LXqDZ6a4+U/p/tXf5dJjAGZNnB3UxvkDATsfAjujvqd0fArbepYGO9ku kpDXmQ1eAhtQgSkeXrZI4HzcpWXZU0E1cjESJlE6RpkqryXV9dDPw7rrhW1FOcKjNeyX 6pwQ6ghEojLvbGPirFll+IAmt+hT1qb1xGW45SwcakrVwhxUmT6IUUrKiXXDELuaZxvz EMOoCVy9PtW+mEJuQqEwOCh0AewM9PqFdg4dV7KqxTdc5YVevYbTnwlcQz26cUB9mBbE x/yg== MIME-Version: 1.0 X-Received: by 10.180.76.205 with SMTP id m13mr6505643wiw.19.1428766126140; Sat, 11 Apr 2015 08:28:46 -0700 (PDT) Received: by 10.28.157.17 with HTTP; Sat, 11 Apr 2015 08:28:46 -0700 (PDT) In-Reply-To: References: <9f232e6f50da95ec02e84c6c25a321250e439d79.1428714999.git.raj.khem@gmail.com> Date: Sat, 11 Apr 2015 17:28:46 +0200 Message-ID: From: Martin Jansa To: Khem Raj Cc: Khem Raj , Patches and discussions about the oe-core layer Subject: Re: [PATCH 17/17] e2fsprogs: Delete identical binaries and create symlinks instead X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Apr 2015 15:28:48 -0000 Content-Type: multipart/alternative; boundary=f46d043749936a754205137489db --f46d043749936a754205137489db Content-Type: text/plain; charset=UTF-8 > does it cover e2label as well yes it does On Sat, Apr 11, 2015 at 5:01 PM, Khem Raj wrote: > > > On Saturday, April 11, 2015, Martin Jansa 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 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 >>> --- >>> 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@lists.openembedded.org >>> http://lists.openembedded.org/mailman/listinfo/openembedded-core >>> >> >> > --f46d043749936a754205137489db Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
>=C2=A0doe= s it cover e2label as well

= yes it does

On Sat, Apr 11, 2015 at 5:01 PM, Khem Raj &l= t;raj.khem@gmail.co= m> wrote:
=

On Saturday, April 11, 2015, Martin Jansa <martin.jansa@gmail.com> wrote= :
There is configure opt= ion for this, see my pending e2fsprogs patch from Friday.

Saw it now. Looks good= =C2=A0=C2=A0does it cover e2label as well

<= div class=3D"gmail_quote">On Sat, Apr 11, 2015 at 3:20 AM, Khem Raj <raj.khem@gmail.com> wrote:
Here is what build history tells now

e2fsprogs-tune2fs:

-PKGSIZE =3D 144336
+PKGSIZE =3D 72175

e2fsprogs-e2fsck:

-PKGSIZE =3D 1345500
+PKGSIZE =3D 269124

e2fsprogs-mke2fs:

-PKGSIZE =3D 551316
+PKGSIZE =3D 111036

Change-Id: I0902484ad506d892292c4bea6789467179b5ea8d
Signed-off-by: Khem Raj <khem_raj@cable.comcast.com>
---
=C2=A0meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb | 8 ++++++++
=C2=A01 file changed, 8 insertions(+)

diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb b/meta/recipes-devtools/= e2fsprogs/e2fsprog= s_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 () {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 rm -f ${D}${base_sbindir}/blkid
=C2=A0 =C2=A0 =C2=A0 =C2=A0 rm -f ${D}${base_sbindir}/fsck
=C2=A0 =C2=A0 =C2=A0 =C2=A0 rm -f ${D}${base_sbindir}/findfs
+=C2=A0 =C2=A0 =C2=A0 =C2=A0rm -f ${D}${base_sbindir}/mkfs.ext*
+=C2=A0 =C2=A0 =C2=A0 =C2=A0rm -f ${D}${base_sbindir}/fsck.ext*
+=C2=A0 =C2=A0 =C2=A0 =C2=A0rm -f ${D}${base_sbindir}/e2label

=C2=A0 =C2=A0 =C2=A0 =C2=A0 # e2initrd_helper and the pkgconfig files belon= g in libdir
=C2=A0 =C2=A0 =C2=A0 =C2=A0 if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; = then
@@ -50,6 +53,11 @@ do_install () {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 mv ${D}${base_libdi= r}/e2initrd_helper ${D}${libdir}
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 mv ${D}${base_libdi= r}/pkgconfig ${D}${libdir}
=C2=A0 =C2=A0 =C2=A0 =C2=A0 fi
+=C2=A0 =C2=A0 =C2=A0 =C2=A0for ext in ext2 ext3 ext4 ext4dev; do
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ln -sf mke2fs ${D}$= {base_sbindir}/mkfs.${ext}
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ln -sf e2fsck ${D}$= {base_sbindir}/fsck.${ext}
+=C2=A0 =C2=A0 =C2=A0 =C2=A0done
+=C2=A0 =C2=A0 =C2=A0 =C2=A0ln -sf tune2fs ${D}${base_sbindir}/e2label

=C2=A0 =C2=A0 =C2=A0 =C2=A0 oe_multilib_header ext2fs/ext2_types.h
=C2=A0 =C2=A0 =C2=A0 =C2=A0 install -d ${D}${base_bindir}
--
2.1.4

--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembe= dded-core

=C2=A0

--f46d043749936a754205137489db--