From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: MIME-Version: 1.0 In-Reply-To: <201608031448.29494.jbe@pengutronix.de> References: <201608031206.46603.jbe@pengutronix.de> <201608031448.29494.jbe@pengutronix.de> From: Guillermo Rodriguez Garcia Date: Wed, 3 Aug 2016 15:46:34 +0200 Message-ID: Subject: Re: [ptxdist] Patched glibc in a ptxdist BSP List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============0800397269==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: Juergen Borleis Cc: "ptxdist@pengutronix.de" --===============0800397269== Content-Type: multipart/alternative; boundary=001a113d3bd4c9796a05392b0f36 --001a113d3bd4c9796a05392b0f36 Content-Type: text/plain; charset=UTF-8 Hi Juergen, 2016-08-03 14:48 GMT+02:00 Juergen Borleis : > Hi, > > On Wednesday 03 August 2016 13:29:07 Guillermo Rodriguez Garcia wrote: > > [...] > > > > Rebuilding the toolchain per se is not a problem; the problem is how > to > > > > deploy the patched library. The process of rebuilding the toolchain > > > > basically installs the (fixed) toolchain in my development machine. > > > > This is perfect for the regular development cycle, however in this > case > > > > what I really need is a way to deploy a hotfix with the patched > library > > > > on the target systems (that are already running). So I was looking > for a > > > > way to generate an ipkg/opkg or something that I can easily deploy. > > > > > > There should be a "platform-/packages/glibc_2.16.0_*.ipk" which > > > could do this job. > > > > Perfect, this is (almost) what I need. Thank you. > > > > I think ptxdist installs ipkg utils on the host by default, but I cannot > > find them. Perhaps it is a private copy? > > ? > > $ l platform-/sysroot-host/bin/opkg > -rwxr-xr-x 2 jbe ptx 38824 Jul 19 15:34 > platform-/sysroot-host/bin/opkg > > HOST_PACKAGE_MANAGEMENT_OPKG=y (and thus HOST_OPKG=y and HOST_OPKG_UTILS=y > -> but I'm using ptxdist master) > > And this IPK-package ("platform-/packages/glibc_2.16.0_*.ipk") is > generated by the regular rule "rules/glibc.make" for every PTXdist project. > Great. Thank you for your help! Guillermo Rodriguez Garcia guille.rodriguez@gmail.com --001a113d3bd4c9796a05392b0f36 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Juergen,

2016-08-03 14:48 GMT+02:00 Juergen Borleis <jbe@pengutro= nix.de>:
Hi,

On Wednesday 03 August 2016 13:29:07 Guillermo Rodriguez Garcia wrote:
> [...]
> > > Rebuilding the toolchain per se is not a pr= oblem; the problem is how to
> > > deploy the patched library. The process of rebuilding the to= olchain
> > > basically installs the (fixed) toolchain in my development m= achine.
> > > This is perfect for the regular development cycle, however i= n this case
> > > what I really need is a way to deploy a hotfix with the patc= hed library
> > > on the target systems (that are already running). So I was l= ooking for a
> > > way to generate an ipkg/opkg or something that I can easily = deploy.
> >
> > There should be a "platform-<name>/packages/glibc_2.16= .0_*.ipk" which
> > could do this job.
>
> Perfect, this is (almost) what I need. Thank you.
>
> I think ptxdist installs ipkg utils on the host by default, but I cann= ot
> find them. Perhaps it is a private copy?

?

$ l platform-<name>/sysroot-host/bin/opkg
-rwxr-xr-x 2 jbe ptx 38824 Jul 19 15:34 platform-<name>/sysroot-host/= bin/opkg

HOST_PACKAGE_MANAGEMENT_OPKG=3Dy (and thus HOST_OPKG=3Dy and HOST_OPKG_UTIL= S=3Dy
-> but I'm using ptxdist master)

And this IPK-package ("platform-<name>/packages/glibc_2.16.0_*.i= pk") is
generated by the regular rule "rules/glibc.make" for every PTXdis= t project.

Great. Thank you for your he= lp!

Guillermo Rodriguez Garcia
guille.rodriguez@gmail.c= om
--001a113d3bd4c9796a05392b0f36-- --===============0800397269== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============0800397269==--