From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-it1-x12a.google.com ([2607:f8b0:4864:20::12a]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gU8ct-0001Di-Hk for rauc@pengutronix.de; Tue, 04 Dec 2018 12:12:33 +0100 Received: by mail-it1-x12a.google.com with SMTP id p197so13777430itp.0 for ; Tue, 04 Dec 2018 03:12:27 -0800 (PST) MIME-Version: 1.0 From: Abhishek Kumar Rai Date: Tue, 4 Dec 2018 16:42:14 +0530 Message-ID: Subject: [RAUC] Query regarding rauc List-Id: RAUC Project - Discussion List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1779739030==" Errors-To: rauc-bounces@pengutronix.de Sender: "RAUC" To: rauc@pengutronix.de --===============1779739030== Content-Type: multipart/alternative; boundary="000000000000217eb6057c305746" --000000000000217eb6057c305746 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Team, To achieve a specific requirement for us the "rauc install" command won't work i.e due to a configuration that we have the rauc install would fail. Though we would still like to go ahead and flashload to that partition. We would like to know if the approach below is correct Our understanding of rauc install suggests that it does the following things: 1. Verify signature of the bundle 2. Run partition selection algorithm 3. Extract the tar balls from the bundle 4. Create new ext4 FS on the selected partition 5. Write appropriate tar ball to the partition Since "rauc install" would give us errors due to our configuration we plan to achieve this using the steps below: 1. Verify signature of the bundle (rauc info ...) 2. Partition selection algorithm (we would like to skip this) 3. Extract the tar balls from the bundle (rauc extract ..) 4. Create new ext4 FS on the selected partition + Write appropriate tar ball to the partition (rauc write-slot ... ....) Is the above way of bypassing the "rauc install" command for our requirement correct? Any issues you feel might arise with this approach? Regards, Abhishek Rai --=20 The information contained in this e-mail message (including=20 any=C2=A0 attachments) may be confidential, proprietary, privileged, or=20 otherwise exempt from disclosure under applicable laws. It is intended to=20 be=C2=A0 conveyed only to the designated recipient(s). Any use, dissemination,=C2=A0 distribution, printing, retaining or copying of this e-mail (including=20 its=C2=A0 attachments) by unintended recipient(s) is strictly prohibited and=20 may=C2=A0 be unlawful. If you are not an intended recipient of this e-mail, or=20 believe=C2=A0 that you have received this e-mail in error, please notify the=20 sender=C2=A0 immediately (by replying to this e-mail), delete any and all=20 copies of=C2=A0 this e-mail (including any attachments) from your system, and=20 do not disclose the content of this e-mail to any other person. Thank you=20 for your cooperation. --=20 _This e-mail message (including any=C2=A0attachments) may be confidential,= =20 proprietary, privileged, or otherwise=C2=A0exempt from disclosure under=20 applicable laws. If you are not an intended recipient, please delete this= =20 message. Thank you. _ --000000000000217eb6057c305746 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi Team,


To achieve a specific=20 requirement for us the "rauc install" command won't work i.e= =20 due to a configuration that we have the rauc install would fail. Though=20 we would still like to go ahead and flashload to that partition. We=20 would like to know if the approach below is correct


Our understanding of rauc ins= tall suggests that it does the following things:

  1. Verify signature of the = bundle
  2. Run partition selection algorithm
  3. Extract the tar balls fr= om the bundle
  4. Create new ext4 FS on the selected partition
  5. Write appropr= iate tar ball to the partition

Since "rauc install" would give us errors due to our configuratio= n we plan to achieve this using the steps below:
  1. Verify signature o= f the bundle (rauc info ...)
  2. Partition selection algorithm (= we would like to skip this)
  3. Extract the tar balls from the bu= ndle (rauc extract ..)
  4. Create new ext4 FS on the selec= ted partition + Write appropriate tar ball to the partition (rauc write-slot ... ....)

Is the above way of bypassing the "rauc install" command for our= =20 requirement correct? Any issues you feel might arise with this approach?

Regards,

Abhishek Rai


The information contained in this e-mail message (including any=C2= =A0

attachments) may be confidential, proprietary, privileged, or othe= rwise

exempt from disclosure under applicable laws. It is intended to be= =C2=A0

conveyed only to the designated recipient(s). Any use, disseminati= on,=C2=A0

distribution, printing, retaining or copying of this e-mail (inclu= ding its=C2=A0

attachments) by unintended recipient(s) is strictly prohibited and= may=C2=A0

be unlawful. If you are not an intended recipient of this e-mail, = or believe=C2=A0

that you have received this e-mail in error, please notify the sen= der=C2=A0

immediately (by replying to this e-mail), delete any and all copie= s of=C2=A0

this e-mail (including any attachments) from your system, and do n= ot

disclose the content of this e-mail to any other person. Thank you= for your cooperation.


This e-mail message (including any=C2=A0attachments) may be= confidential, proprietary, privileged, or otherwise=C2=A0exempt from discl= osure under applicable laws. If you are not an intended recipient, please d= elete this message. Thank you.
--000000000000217eb6057c305746-- --===============1779739030== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KUkFVQyBtYWls aW5nIGxpc3Q= --===============1779739030==--