You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
genimage works on partitions from sub dirs (e.g.: /opt), but it fails from
sub-sub dirs (e.g.: /usr/local). This patch fixes the problem by using a
sanitized sub dir name instead, where slashes '/' are replaces by minuses '-'.
Fixes: Issue pengutronix#2.
Suggested-by: Michael Olbrich <m.olbrich@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
I'm using a genimage.cfg file that looks like this:
And the post-image.sh looks like this:
When post-image.sh runs, I get the following output:
So the
mv
command does what it's supposed to do, but the script was expecting it to move the directory tree when it just move the last directory.When faced with
/usr/local
themv
command will just recreate thelocal
directory.The text was updated successfully, but these errors were encountered: