From: "Boulais, Marc-Andre" <maboulais@rheinmetall.ca>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: RE: bareboxenv-target not loading correctly
Date: Thu, 19 Feb 2015 21:48:58 +0000 [thread overview]
Message-ID: <29A2697B0516A946B1023D5E798DFCF67BACD935@mail-yang> (raw)
In-Reply-To: <20150219212004.GF12209@pengutronix.de>
Great, It works. Like you said, the directory is no longer empty once I modify the environment.
Thanks
MA
-----Original Message-----
From: Sascha Hauer [mailto:s.hauer@pengutronix.de]
Sent: February-19-15 4:20 PM
To: Boulais, Marc-Andre
Cc: barebox@lists.infradead.org
Subject: Re: bareboxenv-target not loading correctly
On Thu, Feb 19, 2015 at 04:06:46PM +0000, Boulais, Marc-Andre wrote:
> Hi,
> I am trying to modify the Barebox (v2015.02.0) environment from the application. To do so, I execute the following commands from Linux:
>
> root@SBC-172:/root mkdir -p env
> root@SBC-172:/root bareboxenv-target -v -l ./env /dev/mtdblock2
> loading env from file /dev/mtdblock2 to ./env root@SBC-172:/root ls
> -al
> drwx------ 2 root root 4096 Jan 1 03:29 .
> drwxr-xr-x 19 root root 4096 Jan 2 2000 ..
>
> bareboxenv-target seems to succeed in loading env but the "env" directory has disappeared...
The directory shouldn't be removed, that is a bug. I just sent a patch.
Anyway, the directory will stay empty even after applying the patch.
That is a side effect of only storing the differences to the default environment. Once you have made changes they will show up there.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2015-02-19 21:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-19 16:06 Boulais, Marc-Andre
2015-02-19 21:20 ` Sascha Hauer
2015-02-19 21:48 ` Boulais, Marc-Andre [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=29A2697B0516A946B1023D5E798DFCF67BACD935@mail-yang \
--to=maboulais@rheinmetall.ca \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@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