* bareboxenv-target not loading correctly
@ 2015-02-19 16:06 Boulais, Marc-Andre
2015-02-19 21:20 ` Sascha Hauer
0 siblings, 1 reply; 3+ messages in thread
From: Boulais, Marc-Andre @ 2015-02-19 16:06 UTC (permalink / raw)
To: barebox
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...
Any thoughts or suggestion would be greatly appreciated.
Thank you,
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bareboxenv-target not loading correctly
2015-02-19 16:06 bareboxenv-target not loading correctly Boulais, Marc-Andre
@ 2015-02-19 21:20 ` Sascha Hauer
2015-02-19 21:48 ` Boulais, Marc-Andre
0 siblings, 1 reply; 3+ messages in thread
From: Sascha Hauer @ 2015-02-19 21:20 UTC (permalink / raw)
To: Boulais, Marc-Andre; +Cc: barebox
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: bareboxenv-target not loading correctly
2015-02-19 21:20 ` Sascha Hauer
@ 2015-02-19 21:48 ` Boulais, Marc-Andre
0 siblings, 0 replies; 3+ messages in thread
From: Boulais, Marc-Andre @ 2015-02-19 21:48 UTC (permalink / raw)
To: Sascha Hauer; +Cc: barebox
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-02-19 21:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-19 16:06 bareboxenv-target not loading correctly Boulais, Marc-Andre
2015-02-19 21:20 ` Sascha Hauer
2015-02-19 21:48 ` Boulais, Marc-Andre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox