* [Buildroot] [PATCH] [PATCH] reorder fs alphabetically
@ 2012-11-30 13:08 Jérémy Rosen
2012-11-30 13:44 ` Will Moore
0 siblings, 1 reply; 9+ messages in thread
From: Jérémy Rosen @ 2012-11-30 13:08 UTC (permalink / raw)
To: buildroot
Signed-off-by: J?r?my Rosen <jeremy.rosen@openwide.fr>
---
when adding the live target I was asked to add it in alphabetical order to
the fs list
however that list was unsorted. This patch reorders FS properly (it doesn't add the live fs)
---
fs/Config.in | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/fs/Config.in b/fs/Config.in
index 94154ea..e970075 100644
--- a/fs/Config.in
+++ b/fs/Config.in
@@ -4,12 +4,12 @@ source "fs/cramfs/Config.in"
source "fs/cloop/Config.in"
source "fs/ext2/Config.in"
source "fs/jffs2/Config.in"
-source "fs/ubifs/Config.in"
-source "fs/squashfs/Config.in"
-source "fs/tar/Config.in"
source "fs/cpio/Config.in"
-source "fs/iso9660/Config.in"
source "fs/initramfs/Config.in"
+source "fs/iso9660/Config.in"
source "fs/romfs/Config.in"
+source "fs/squashfs/Config.in"
+source "fs/tar/Config.in"
+source "fs/ubifs/Config.in"
endmenu
--
1.7.10.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] [PATCH] reorder fs alphabetically
2012-11-30 13:08 [Buildroot] [PATCH] [PATCH] reorder fs alphabetically Jérémy Rosen
@ 2012-11-30 13:44 ` Will Moore
2012-11-30 14:06 ` Jeremy Rosen
0 siblings, 1 reply; 9+ messages in thread
From: Will Moore @ 2012-11-30 13:44 UTC (permalink / raw)
To: buildroot
Hi Jeremy,
> -----Original Message-----
> From: buildroot-bounces at busybox.net [mailto:buildroot-bounces at busybox.net] On
> Behalf Of J?r?my Rosen
> Sent: 30 November 2012 13:09
>
> Signed-off-by: J?r?my Rosen <jeremy.rosen@openwide.fr>
> ---
> when adding the live target I was asked to add it in alphabetical order to
> the fs list
>
> however that list was unsorted. This patch reorders FS properly (it doesn't
> add the live fs)
> ---
> fs/Config.in | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/fs/Config.in b/fs/Config.in
> index 94154ea..e970075 100644
> --- a/fs/Config.in
> +++ b/fs/Config.in
> @@ -4,12 +4,12 @@ source "fs/cramfs/Config.in"
> source "fs/cloop/Config.in"
> source "fs/ext2/Config.in"
> source "fs/jffs2/Config.in"
> -source "fs/ubifs/Config.in"
> -source "fs/squashfs/Config.in"
> -source "fs/tar/Config.in"
> source "fs/cpio/Config.in"
> -source "fs/iso9660/Config.in"
> source "fs/initramfs/Config.in"
> +source "fs/iso9660/Config.in"
> source "fs/romfs/Config.in"
> +source "fs/squashfs/Config.in"
> +source "fs/tar/Config.in"
> +source "fs/ubifs/Config.in"
Perhaps I misunderstand, but I would have thought cloop should be before cramfs,
jffs2 after iso9660 and cpio before ext2?
Will
>
> endmenu
> --
> 1.7.10.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] [PATCH] reorder fs alphabetically
2012-11-30 13:44 ` Will Moore
@ 2012-11-30 14:06 ` Jeremy Rosen
2012-11-30 14:44 ` [Buildroot] " Jérémy Rosen
0 siblings, 1 reply; 9+ messages in thread
From: Jeremy Rosen @ 2012-11-30 14:06 UTC (permalink / raw)
To: buildroot
ok....
let's just say it's friday and I really need a week-end :P
sorry about that, v2 to come soon
Cordialement
J?r?my Rosen
fight key loggers : write some perl using vim
----- Mail original -----
> De: "Will Moore" <will.moore@beraninstruments.com>
> ?: "J?r?my Rosen" <jeremy.rosen@openwide.fr>, buildroot at busybox.net
> Envoy?: Vendredi 30 Novembre 2012 14:44:17
> Objet: RE: [Buildroot] [PATCH] [PATCH] reorder fs alphabetically
>
> Hi Jeremy,
>
> > -----Original Message-----
> > From: buildroot-bounces at busybox.net
> > [mailto:buildroot-bounces at busybox.net] On
> > Behalf Of J?r?my Rosen
> > Sent: 30 November 2012 13:09
> >
> > Signed-off-by: J?r?my Rosen <jeremy.rosen@openwide.fr>
> > ---
> > when adding the live target I was asked to add it in alphabetical
> > order to
> > the fs list
> >
> > however that list was unsorted. This patch reorders FS properly (it
> > doesn't
> > add the live fs)
> > ---
> > fs/Config.in | 8 ++++----
> > 1 file changed, 4 insertions(+), 4 deletions(-)
> >
> > diff --git a/fs/Config.in b/fs/Config.in
> > index 94154ea..e970075 100644
> > --- a/fs/Config.in
> > +++ b/fs/Config.in
> > @@ -4,12 +4,12 @@ source "fs/cramfs/Config.in"
> > source "fs/cloop/Config.in"
> > source "fs/ext2/Config.in"
> > source "fs/jffs2/Config.in"
> > -source "fs/ubifs/Config.in"
> > -source "fs/squashfs/Config.in"
> > -source "fs/tar/Config.in"
> > source "fs/cpio/Config.in"
> > -source "fs/iso9660/Config.in"
> > source "fs/initramfs/Config.in"
> > +source "fs/iso9660/Config.in"
> > source "fs/romfs/Config.in"
> > +source "fs/squashfs/Config.in"
> > +source "fs/tar/Config.in"
> > +source "fs/ubifs/Config.in"
>
> Perhaps I misunderstand, but I would have thought cloop should be
> before cramfs,
> jffs2 after iso9660 and cpio before ext2?
>
> Will
>
> >
> > endmenu
> > --
> > 1.7.10.4
> >
> > _______________________________________________
> > buildroot mailing list
> > buildroot at busybox.net
> > http://lists.busybox.net/mailman/listinfo/buildroot
>
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread* [Buildroot] [PATCH] reorder fs alphabetically
2012-11-30 14:06 ` Jeremy Rosen
@ 2012-11-30 14:44 ` Jérémy Rosen
2012-12-03 7:19 ` Peter Korsgaard
0 siblings, 1 reply; 9+ messages in thread
From: Jérémy Rosen @ 2012-11-30 14:44 UTC (permalink / raw)
To: buildroot
Signed-off-by: J?r?my Rosen <jeremy.rosen@openwide.fr>
---
v2: really put them in alphabetical order
---
fs/Config.in | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/fs/Config.in b/fs/Config.in
index 94154ea..da4c5ff 100644
--- a/fs/Config.in
+++ b/fs/Config.in
@@ -1,15 +1,15 @@
menu "Filesystem images"
-source "fs/cramfs/Config.in"
source "fs/cloop/Config.in"
+source "fs/cpio/Config.in"
+source "fs/cramfs/Config.in"
source "fs/ext2/Config.in"
+source "fs/initramfs/Config.in"
+source "fs/iso9660/Config.in"
source "fs/jffs2/Config.in"
-source "fs/ubifs/Config.in"
+source "fs/romfs/Config.in"
source "fs/squashfs/Config.in"
source "fs/tar/Config.in"
-source "fs/cpio/Config.in"
-source "fs/iso9660/Config.in"
-source "fs/initramfs/Config.in"
-source "fs/romfs/Config.in"
+source "fs/ubifs/Config.in"
endmenu
--
1.7.10.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] reorder fs alphabetically
2012-11-30 14:44 ` [Buildroot] " Jérémy Rosen
@ 2012-12-03 7:19 ` Peter Korsgaard
2012-12-03 10:20 ` Jeremy Rosen
0 siblings, 1 reply; 9+ messages in thread
From: Peter Korsgaard @ 2012-12-03 7:19 UTC (permalink / raw)
To: buildroot
>>>>> "J?r?my" == J?r?my Rosen <jeremy.rosen@openwide.fr> writes:
J?r?my> Signed-off-by: J?r?my Rosen <jeremy.rosen@openwide.fr>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] reorder fs alphabetically
2012-12-03 7:19 ` Peter Korsgaard
@ 2012-12-03 10:20 ` Jeremy Rosen
2012-12-03 14:58 ` Peter Korsgaard
0 siblings, 1 reply; 9+ messages in thread
From: Jeremy Rosen @ 2012-12-03 10:20 UTC (permalink / raw)
To: buildroot
hmm, I can't see it, was it applied to master or next ? (trying to clean up my local branches here, no big deal...)
Regards
J?r?my Rosen
fight key loggers : write some perl using vim
----- Mail original -----
> De: "Peter Korsgaard" <jacmet@uclibc.org>
> ?: "J?r?my Rosen" <jeremy.rosen@openwide.fr>
> Cc: buildroot at busybox.net
> Envoy?: Lundi 3 D?cembre 2012 08:19:49
> Objet: Re: [PATCH] reorder fs alphabetically
>
> >>>>> "J?r?my" == J?r?my Rosen <jeremy.rosen@openwide.fr> writes:
>
> J?r?my> Signed-off-by: J?r?my Rosen <jeremy.rosen@openwide.fr>
>
> Committed, thanks.
>
> --
> Bye, Peter Korsgaard
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] [PATCH][RFC] new target: live filesystem
@ 2012-11-27 8:12 Jérémy Rosen
2012-12-03 10:21 ` [Buildroot] [PATCH] reorder fs alphabetically Jérémy Rosen
0 siblings, 1 reply; 9+ messages in thread
From: Jérémy Rosen @ 2012-11-27 8:12 UTC (permalink / raw)
To: buildroot
add a new target to deploy a live filesystem to be used by NFS
---
Hello everybody
this patch is not ready for commit, it's a proposal to help me solve the very common use case of
a developement FS deployed on NFS. I am not very happy of how it's done at this point but I would
like to discuss it to see if it has a chance to get merged... What I don't like (and would gladly
have ideas on how to solve this)
* no dependency on host-sudo, i'm not sure how to add that
* using sudo to break out of fakeroot is not clean
* I am abusing the fs building framework, but I don't know of a cleaner way
* filesystem can only be under output/images at this point
so this patch is more to start a discussion than anything, i'll gladly take any comments or plain
'ol rejection if the project doesn't want it... but if there is some interest i'll work it into
something mainline worthy
Regards
J?r?my Rosen
---
fs/Config.in | 1 +
fs/live/Config.in | 16 ++++++++++++++++
fs/live/live.mk | 23 +++++++++++++++++++++++
3 files changed, 40 insertions(+)
create mode 100644 fs/live/Config.in
create mode 100644 fs/live/live.mk
diff --git a/fs/Config.in b/fs/Config.in
index 94154ea..de2377e 100644
--- a/fs/Config.in
+++ b/fs/Config.in
@@ -11,5 +11,6 @@ source "fs/cpio/Config.in"
source "fs/iso9660/Config.in"
source "fs/initramfs/Config.in"
source "fs/romfs/Config.in"
+source "fs/live/Config.in"
endmenu
diff --git a/fs/live/Config.in b/fs/live/Config.in
new file mode 100644
index 0000000..bf24754
--- /dev/null
+++ b/fs/live/Config.in
@@ -0,0 +1,16 @@
+config BR2_TARGET_ROOTFS_LIVE
+ bool "live root filesystem"
+ help
+ uses sudo to create a live image of the filesystem
+ this is mainly usefull if you want to use your filesystem
+ over NFS
+config BR2_TARGET_ROOTFS_LIVE_DEST
+ string "directory to put the live image"
+ depends on BR2_TARGET_ROOTFS_LIVE
+ default "live"
+ help
+ The directory where the image should be stored.
+ this directory will be emptied and recreated, it is given
+ relative to the buildroot output/images directory
+
+
diff --git a/fs/live/live.mk b/fs/live/live.mk
new file mode 100644
index 0000000..73bcd3e
--- /dev/null
+++ b/fs/live/live.mk
@@ -0,0 +1,23 @@
+#############################################################
+#
+# Build the live root filesystem directory
+#
+#############################################################
+
+LIVE_OPTS :=
+
+
+ROOTFS_LIVE_DEPENDENCIES = #host-sudo
+
+define ROOTFS_LIVE_CMD
+ sudo cp -r $(TARGET_DIR)/* $(BINARIES_DIR)/$(BR2_TARGET_ROOTFS_LIVE_DEST)/
+endef
+
+define ROOTFS_LIVE_INIT
+ sudo rm -rf $(BINARIES_DIR)/$(BR2_TARGET_ROOTFS_LIVE_DEST)
+ sudo mkdir $(BINARIES_DIR)/$(BR2_TARGET_ROOTFS_LIVE_DEST)
+endef
+
+ROOTFS_LIVE_PRE_GEN_HOOKS += ROOTFS_LIVE_INIT
+
+$(eval $(call ROOTFS_TARGET,live))
--
1.7.10.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] reorder fs alphabetically
2012-11-27 8:12 [Buildroot] [PATCH] [PATCH][RFC] new target: live filesystem Jérémy Rosen
@ 2012-12-03 10:21 ` Jérémy Rosen
2012-12-03 10:30 ` Jeremy Rosen
0 siblings, 1 reply; 9+ messages in thread
From: Jérémy Rosen @ 2012-12-03 10:21 UTC (permalink / raw)
To: buildroot
Signed-off-by: J?r?my Rosen <jeremy.rosen@openwide.fr>
---
fs/Config.in | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/fs/Config.in b/fs/Config.in
index 94154ea..da4c5ff 100644
--- a/fs/Config.in
+++ b/fs/Config.in
@@ -1,15 +1,15 @@
menu "Filesystem images"
-source "fs/cramfs/Config.in"
source "fs/cloop/Config.in"
+source "fs/cpio/Config.in"
+source "fs/cramfs/Config.in"
source "fs/ext2/Config.in"
+source "fs/initramfs/Config.in"
+source "fs/iso9660/Config.in"
source "fs/jffs2/Config.in"
-source "fs/ubifs/Config.in"
+source "fs/romfs/Config.in"
source "fs/squashfs/Config.in"
source "fs/tar/Config.in"
-source "fs/cpio/Config.in"
-source "fs/iso9660/Config.in"
-source "fs/initramfs/Config.in"
-source "fs/romfs/Config.in"
+source "fs/ubifs/Config.in"
endmenu
--
1.7.10.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH] reorder fs alphabetically
2012-12-03 10:21 ` [Buildroot] [PATCH] reorder fs alphabetically Jérémy Rosen
@ 2012-12-03 10:30 ` Jeremy Rosen
0 siblings, 0 replies; 9+ messages in thread
From: Jeremy Rosen @ 2012-12-03 10:30 UTC (permalink / raw)
To: buildroot
Oops, I didn't intend to resent that patch, I wasn't on the correct branch
sorry about that
Cordialement
J?r?my Rosen
fight key loggers : write some perl using vim
----- Mail original -----
> De: "J?r?my Rosen" <jeremy.rosen@openwide.fr>
> ?: buildroot at busybox.net
> Cc: "J?r?my Rosen" <jeremy.rosen@openwide.fr>
> Envoy?: Lundi 3 D?cembre 2012 11:21:49
> Objet: [PATCH] reorder fs alphabetically
>
> Signed-off-by: J?r?my Rosen <jeremy.rosen@openwide.fr>
> ---
> fs/Config.in | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/fs/Config.in b/fs/Config.in
> index 94154ea..da4c5ff 100644
> --- a/fs/Config.in
> +++ b/fs/Config.in
> @@ -1,15 +1,15 @@
> menu "Filesystem images"
>
> -source "fs/cramfs/Config.in"
> source "fs/cloop/Config.in"
> +source "fs/cpio/Config.in"
> +source "fs/cramfs/Config.in"
> source "fs/ext2/Config.in"
> +source "fs/initramfs/Config.in"
> +source "fs/iso9660/Config.in"
> source "fs/jffs2/Config.in"
> -source "fs/ubifs/Config.in"
> +source "fs/romfs/Config.in"
> source "fs/squashfs/Config.in"
> source "fs/tar/Config.in"
> -source "fs/cpio/Config.in"
> -source "fs/iso9660/Config.in"
> -source "fs/initramfs/Config.in"
> -source "fs/romfs/Config.in"
> +source "fs/ubifs/Config.in"
>
> endmenu
> --
> 1.7.10.4
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2012-12-03 14:58 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-30 13:08 [Buildroot] [PATCH] [PATCH] reorder fs alphabetically Jérémy Rosen
2012-11-30 13:44 ` Will Moore
2012-11-30 14:06 ` Jeremy Rosen
2012-11-30 14:44 ` [Buildroot] " Jérémy Rosen
2012-12-03 7:19 ` Peter Korsgaard
2012-12-03 10:20 ` Jeremy Rosen
2012-12-03 14:58 ` Peter Korsgaard
-- strict thread matches above, loose matches on Subject: below --
2012-11-27 8:12 [Buildroot] [PATCH] [PATCH][RFC] new target: live filesystem Jérémy Rosen
2012-12-03 10:21 ` [Buildroot] [PATCH] reorder fs alphabetically Jérémy Rosen
2012-12-03 10:30 ` Jeremy Rosen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox