From: Abhishek Kumar Rai <abhishekr@eximiusdesign.com>
To: Enrico Joerns <ejo@pengutronix.de>
Cc: rauc@pengutronix.de
Subject: Re: [RAUC] Regarding using --conf option while using rauc
Date: Tue, 20 Nov 2018 19:22:12 +0530 [thread overview]
Message-ID: <CALYWmf_ke7zKLN8-p54rRZJpV-KNzEXosYUWHBjau1psGOg5vg@mail.gmail.com> (raw)
In-Reply-To: <bda28136-e204-0eff-e339-3391c71bbf55@pengutronix.de>
[-- Attachment #1.1: Type: text/plain, Size: 3879 bytes --]
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 <ejo@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.
_
[-- Attachment #1.2: Type: text/html, Size: 5144 bytes --]
[-- Attachment #2: Type: text/plain, Size: 65 bytes --]
_______________________________________________
RAUC mailing list
prev parent reply other threads:[~2018-11-20 13:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-20 10:15 Abhishek Kumar Rai
2018-11-20 10:47 ` Enrico Joerns
2018-11-20 13:52 ` Abhishek Kumar Rai [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CALYWmf_ke7zKLN8-p54rRZJpV-KNzEXosYUWHBjau1psGOg5vg@mail.gmail.com \
--to=abhishekr@eximiusdesign.com \
--cc=ejo@pengutronix.de \
--cc=rauc@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox