Hi Enrico, Thanks for your prompt reply.
I will look in to it and will come back to you . Regards, Abhishek On Tue, Nov 20, 2018, 4:17 PM Enrico Joerns <e...@pengutronix.de wrote: > Hi Abhishek, > > On 11/20/18 11:15 AM, Abhishek Kumar Rai wrote: > > 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=Eximius > > bootloader=uboot > > mountprefix=/mnt/rauc > > statusfile=/factory/rauc.status > > > > [handlers] > > pre-install=/usr/bin/rauc-pre-install.sh > > post-install=/usr/bin/rauc-post-install.sh > > > > [keyring] > > path=cert.pem > > > > [slot.rootfs.0] > > device=/dev/disk/by-path/platform-219c000.usdhc-part1 > > type=ext4 > > bootname=A > > }}} > > > > {{{ > > root:~# cat my_system.conf > > [system] > > compatible=Eximius > > bootloader=uboot > > mountprefix=/mnt/rauc > > statusfile=/factory/rauc.status > > > > [handlers] > > pre-install=/usr/bin/rauc-pre-install.sh > > post-install=/usr/bin/rauc-post-install.sh > > > > [keyring] > > path=cert.pem > > > > [slot.rootfs.0] > > device=/dev/disk/by-path/platform-219c000.usdhc-part1 > > type=ext4 > > bootname=A > > > > [slot.rootfs.1] > > device=/dev/disk/by-path/platform-219c000.usdhc-part2 > > type=ext4 > > bootname=B > > }}} > > > > The bundle present in below command(rauc_bundle.raucb) consist of rootfs. > > > > $ rauc install --conf=my_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. > > The `rauc install` calls the CLI in client mode. > > However, the config is read and evaluated by the service. > Thus a `rauc install --config` ist meaningless for the service that > performs the actual installation. > > One exception is when compiling RAUC in non-service mode (without D-Bus). > > What would work instead is stopping the rauc service and using > > rauc service --config .. > > when restarting. > > > Could you point out your use case for using 2 different system.conf's here? > > I bet there is a valid solution using only one system.conf. > > > > Best regards, Enrico > > -- > Pengutronix e.K. | Enrico Jörns | > Industrial Linux Solutions | http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-5080 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | > > -- The information contained in this e-mail message (including any attachments) may be confidential, proprietary, privileged, or otherwise exempt from disclosure under applicable laws. It is intended to be conveyed only to the designated recipient(s). Any use, dissemination, distribution, printing, retaining or copying of this e-mail (including its attachments) by unintended recipient(s) is strictly prohibited and may be unlawful. If you are not an intended recipient of this e-mail, or believe that you have received this e-mail in error, please notify the sender immediately (by replying to this e-mail), delete any and all copies of this e-mail (including any attachments) from your system, and do not disclose the content of this e-mail to any other person. Thank you for your cooperation. -- _This e-mail message (including any attachments) may be confidential, proprietary, privileged, or otherwise exempt from disclosure under applicable laws. If you are not an intended recipient, please delete this message. Thank you. _
_______________________________________________ RAUC mailing list