From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Sun, 5 Apr 2020 01:23:37 +0200 From: Roland Hieber Message-ID: <20200404232336.eiu7y27id6iztn2m@pengutronix.de> References: <20200403124024.16885-1-o.rempel@pengutronix.de> <20200404200519.5yllsngjbivy6odp@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200404200519.5yllsngjbivy6odp@pengutronix.de> Subject: Re: [DistroKit] [PATCH v1] MIPS: add a script to update all configs List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: distrokit-bounces@pengutronix.de Sender: "DistroKit" To: Oleksij Rempel Cc: distrokit@pengutronix.de T24gU2F0LCBBcHIgMDQsIDIwMjAgYXQgMTA6MDU6MTlQTSArMDIwMCwgUm9sYW5kIEhpZWJlciB3 cm90ZToKPiBPbiBGcmksIEFwciAwMywgMjAyMCBhdCAwMjo0MDoyNFBNICswMjAwLCBPbGVrc2lq IFJlbXBlbCB3cm90ZToKPiA+IEFkZCBhIHNjcmlwdCB0byBtYWtlIHVwZGF0aW5nIG9mIGJhcmVi b3ggYW5kIGtlcm5lbCBwYWNrYWdlcyBlYXNpZXIuCj4gPiAKPiA+IFNpZ25lZC1vZmYtYnk6IE9s ZWtzaWogUmVtcGVsIDxvLnJlbXBlbEBwZW5ndXRyb25peC5kZT4KPiA+IC0tLQo+ID4gIHNjcmlw dHMvdXBkYXRlLWRpZmZzLW1pcHMuc2ggfCAxNCArKysrKysrKysrKysrKwo+ID4gIDEgZmlsZSBj aGFuZ2VkLCAxNCBpbnNlcnRpb25zKCspCj4gPiAgY3JlYXRlIG1vZGUgMTAwNzU1IHNjcmlwdHMv dXBkYXRlLWRpZmZzLW1pcHMuc2gKPiAKPiBXZSBhbHJlYWR5IGhhdmUgc2NyaXB0cy9wLWFsbCBm b3IgdGhlIHB0eGRpc3QgcGFydCwgYW5kIHdlI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