From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-it1-x135.google.com ([2607:f8b0:4864:20::135]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gP34F-0003J1-N0 for rauc@pengutronix.de; Tue, 20 Nov 2018 11:15:40 +0100 Received: by mail-it1-x135.google.com with SMTP id g85so2524472ita.3 for ; Tue, 20 Nov 2018 02:15:39 -0800 (PST) MIME-Version: 1.0 From: Abhishek Kumar Rai Date: Tue, 20 Nov 2018 15:45:26 +0530 Message-ID: Subject: [RAUC] Regarding using --conf option while using rauc List-Id: RAUC Project - Discussion List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0908478730==" Errors-To: rauc-bounces@pengutronix.de Sender: "RAUC" To: rauc@pengutronix.de --===============0908478730== Content-Type: multipart/alternative; boundary="00000000000037c0cc057b15ea5a" --00000000000037c0cc057b15ea5a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Team, I want to use my_system.conf for my customized system.conf setting while installing rauc bundle {{{ root:~# cat /etc/rauc/system.conf [system] compatible=3DEximius bootloader=3Duboot mountprefix=3D/mnt/rauc statusfile=3D/factory/rauc.status [handlers] pre-install=3D/usr/bin/rauc-pre-install.sh post-install=3D/usr/bin/rauc-post-install.sh [keyring] path=3Dcert.pem [slot.rootfs.0] device=3D/dev/disk/by-path/platform-219c000.usdhc-part1 type=3Dext4 bootname=3DA }}} {{{ root:~# cat my_system.conf [system] compatible=3DEximius bootloader=3Duboot mountprefix=3D/mnt/rauc statusfile=3D/factory/rauc.status [handlers] pre-install=3D/usr/bin/rauc-pre-install.sh post-install=3D/usr/bin/rauc-post-install.sh [keyring] path=3Dcert.pem [slot.rootfs.0] device=3D/dev/disk/by-path/platform-219c000.usdhc-part1 type=3Dext4 bootname=3DA [slot.rootfs.1] device=3D/dev/disk/by-path/platform-219c000.usdhc-part2 type=3Dext4 bootname=3DB }}} The bundle present in below command(rauc_bundle.raucb) consist of rootfs. $ rauc install --conf=3Dmy_system.conf rauc_bundle.raucb Can i use the above command to do that. if yes can i give partition information also in my_system.conf .Or this is not possible . Please provide your views regarding this. 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. _ --00000000000037c0cc057b15ea5a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Team,
=
I want to use my_system.conf for my customized system.conf s= etting while installing rauc bundle

{{{
root:~# cat=C2=A0 /etc/rauc/system.conf=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
[system]
compatible=3DEximius
bootloader=3Duboot
mountprefix= =3D/mnt/rauc
statusfile=3D/factory/rauc.status

[handlers]
pre-= install=3D/usr/bin/rauc-pre-install.sh
post-install=3D/usr/bin/rauc-post= -install.sh

[keyring]
path=3Dcert.pem

[slot.rootfs.0]
d= evice=3D/dev/disk/by-path/platform-219c000.usdhc-part1
type=3Dext4
bo= otname=3DA
}}}

{{{
root:~# cat my= _system.conf
[system]
compatible=3DEximius
bootloader=3Duboot
= mountprefix=3D/mnt/rauc
statusfile=3D/factory/rauc.status

[handle= rs]
pre-install=3D/usr/bin/rauc-pre-install.sh
post-install=3D/usr/bi= n/rauc-post-install.sh

[keyring]
path=3Dcert.pem

[slot.roo= tfs.0]
device=3D/dev/disk/by-path/platform-219c000.usdhc-part1
type= =3Dext4
bootname=3DA

[slot.rootfs.1]
device=3D/dev/disk/by-pat= h/platform-219c000.usdhc-part2
type=3Dext4
bootname=3DB
}}}

The bundle present in below command(rauc_bundle.rauc= b) consist of rootfs.

$ rauc install --conf= =3Dmy_system.conf=C2=A0 rauc_bundle.raucb


Can = i use the above command to do that. if yes can i give partition information= also in my_system.conf .Or this is not possible .
Please provide= your views regarding this.

Regards,
Abh= ishek 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.
--00000000000037c0cc057b15ea5a-- --===============0908478730== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KUkFVQyBtYWls aW5nIGxpc3Q= --===============0908478730==--