[Buildroot] [PATCH] [RFC] new target: live filesystem
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Dec 3 13:07:58 UTC 2012
Dear Jérémy Rosen,
On Mon, 3 Dec 2012 11:40:03 +0100, Jérémy Rosen wrote:
> diff --git a/fs/live/live.mk b/fs/live/live.mk
> new file mode 100644
> index 0000000..33fe515
> --- /dev/null
> +++ b/fs/live/live.mk
> @@ -0,0 +1,20 @@
> +#############################################################
> +#
> +# Build the live root filesystem directory
> +#
> +#############################################################
> +
> +
> +define ROOTFS_LIVE_CMD
> + sudo rsync -a --no-o --no-g --delete-during $(TARGET_DIR)/ $(BR2_TARGET_ROOTFS_LIVE_DEST)/
> +endef
Do we really want to include sudo commands in Buildroot? I'm not sure
we want.
What about instead a post-image script hook, that users can use to
extract automatically the tarball image somewhere?
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list