From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-eopbgr60067.outbound.protection.outlook.com ([40.107.6.67] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lM8l9-000127-Mf for RAUC@pengutronix.de; Tue, 16 Mar 2021 13:25:16 +0100 From: "Stahl, Michael" Date: Tue, 16 Mar 2021 12:25:13 +0000 Message-ID: Content-Language: de-DE MIME-Version: 1.0 Subject: [RAUC] remove trailing whitespaces at slot-type List-Id: RAUC Project - Discussion List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1194501193==" Errors-To: rauc-bounces@pengutronix.de Sender: "RAUC" To: "RAUC@pengutronix.de" --===============1194501193== Content-Language: de-DE Content-Type: multipart/alternative; boundary="_000_AM9PR09MB47560E3559F2EA2C6A1C61B1DB6B9AM9PR09MB4756eurp_" --_000_AM9PR09MB47560E3559F2EA2C6A1C61B1DB6B9AM9PR09MB4756eurp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I just searched some hours because rauc wount update my rootfs. The message= was: Installation error: Unsupported image /run/rauc/bundle/MyRootfs.tar.gz I found out that I had some trailing whitespaces in the system.conf at type= =3Dext4 Because of that the g_pattern_match_simpel function in get_update_handler (= update_handler.c) didn't match. Maybe it is possible to remove trailing whitespaces before calling g_patter= n_match_simple function in future. --_000_AM9PR09MB47560E3559F2EA2C6A1C61B1DB6B9AM9PR09MB4756eurp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I just searched some hours because rauc wount update my rootfs. The message= was:
Installation error: Unsuppor= ted image /run/rauc/bundle/MyRootfs.tar.gz

I found out that I had some trailing whitespaces in the system.= conf at type=3Dext4 
Because of that the g_pattern_match_simpel function in get_upda= te_handler (update_handler.c) didn't match.

Maybe it is possible to remove trailing whitespaces before call= ing g_pattern_match_simple function in future.





--_000_AM9PR09MB47560E3559F2EA2C6A1C61B1DB6B9AM9PR09MB4756eurp_-- --===============1194501193== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ RAUC mailing list --===============1194501193==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Message-ID: <30733bddc7e689ac30c38c9431855a29ea5c418c.camel@pengutronix.de> From: Enrico =?ISO-8859-1?Q?J=F6rns?= Date: Tue, 16 Mar 2021 13:36:23 +0100 In-Reply-To: References: MIME-Version: 1.0 Subject: Re: [RAUC] remove trailing whitespaces at slot-type List-Id: RAUC Project - Discussion List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: rauc-bounces@pengutronix.de Sender: "RAUC" To: "Stahl, Michael" , "RAUC@pengutronix.de" SGkgTWljaGFlbCwKCkFtIERpZW5zdGFnLCBkZW0gMTYuMDMuMjAyMSB1bSAxMjoyNSArMDAwMCBz Y2hyaWViIFN0YWhsLCBNaWNoYWVsOgo+IEkganVzdCBzZWFyY2hlZCBzb21lIGhvdXJzIGJlY2F1 c2UgcmF1YyB3b3VudCB1cGRhdGUgbXkgcm9vdGZzLiBUaGUgbWVzc2FnZQo+IHdhczoKPiBJbnN0 YWxsYXRpb24gZXJyb3I6IFVuc3VwcG9ydGVkIGltYWdlIC9ydW4vcmF1Yy9idW5kbGUvTXlSb290 ZnMudGFyLmd6Cj4gCj4gSSBmb3VuZCBvdXQgdGhhdCBJIGhhZCBzb21lIHRyYWlsaW5nIHdoaXRl c3BhY2VzIGluIHRoZSBzeXN0ZW0uY29uZiBhdAo+IHR5cGU9ZXh0NMKgCj4gQmVjYXVzZSBvZiB0 aGF0IHRoZSBnX3BhdHRlcm5fbWF0Y2hfc2ltcGVsIGZ1bmN0aW9uIGluIGdldF91cGRhdGVfaGFu ZGxlcgo+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