All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bitbake.conf: use rootfs.${PN} for IMAGE_ROOTFS
@ 2009-04-23 12:02 Roman I Khimov
  2009-04-23 12:34 ` Otavio Salvador
  2009-04-23 12:35 ` Marcin Juszkiewicz
  0 siblings, 2 replies; 8+ messages in thread
From: Roman I Khimov @ 2009-04-23 12:02 UTC (permalink / raw)
  To: openembedded-devel

Allows parallel build for different images.
---
 conf/bitbake.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index f53f7d6..15bdf56 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -329,7 +329,7 @@ STAGING_KERNEL_DIR = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/kernel"
 # Specific image creation and rootfs population info.
 ##################################################################
 
-IMAGE_ROOTFS = "${TMPDIR}/rootfs"
+IMAGE_ROOTFS = "${TMPDIR}/rootfs.${PN}"
 IMAGE_BASENAME = "${PN}"
 IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}"
 IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${MACHINE}"
-- 
1.6.2.3


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH] bitbake.conf: use rootfs.${PN} for IMAGE_ROOTFS
  2009-04-23 12:02 [PATCH] bitbake.conf: use rootfs.${PN} for IMAGE_ROOTFS Roman I Khimov
@ 2009-04-23 12:34 ` Otavio Salvador
  2009-04-23 12:35 ` Marcin Juszkiewicz
  1 sibling, 0 replies; 8+ messages in thread
From: Otavio Salvador @ 2009-04-23 12:34 UTC (permalink / raw)
  To: openembedded-devel

Acked-by: Otavio Salvador <otavio@ossystems.com.br>

On Thu, Apr 23, 2009 at 9:02 AM, Roman I Khimov <khimov@altell.ru> wrote:
> Allows parallel build for different images.
> ---
>  conf/bitbake.conf |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/conf/bitbake.conf b/conf/bitbake.conf
> index f53f7d6..15bdf56 100644
> --- a/conf/bitbake.conf
> +++ b/conf/bitbake.conf
> @@ -329,7 +329,7 @@ STAGING_KERNEL_DIR = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/kernel"
>  # Specific image creation and rootfs population info.
>  ##################################################################
>
> -IMAGE_ROOTFS = "${TMPDIR}/rootfs"
> +IMAGE_ROOTFS = "${TMPDIR}/rootfs.${PN}"
>  IMAGE_BASENAME = "${PN}"
>  IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}"
>  IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${MACHINE}"
> --
> 1.6.2.3
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



-- 
Otavio Salvador                  O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] bitbake.conf: use rootfs.${PN} for IMAGE_ROOTFS
  2009-04-23 12:02 [PATCH] bitbake.conf: use rootfs.${PN} for IMAGE_ROOTFS Roman I Khimov
  2009-04-23 12:34 ` Otavio Salvador
@ 2009-04-23 12:35 ` Marcin Juszkiewicz
  2009-04-23 12:54   ` Roman I Khimov
  1 sibling, 1 reply; 8+ messages in thread
From: Marcin Juszkiewicz @ 2009-04-23 12:35 UTC (permalink / raw)
  To: openembedded-devel

Dnia czwartek, 23 kwietnia 2009 o 14:02:18 Roman I Khimov napisał(a):
> Allows parallel build for different images.
> ---
>  conf/bitbake.conf |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

> -IMAGE_ROOTFS = "${TMPDIR}/rootfs"
> +IMAGE_ROOTFS = "${TMPDIR}/rootfs.${PN}"

I would suggest ${TMPDIR}/rootfs/${PN}/ to not pollute TMPDIR with lot 
of directories.

Regards, 
-- 
JID:      hrw@jabber.org
Website:  http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz





^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] bitbake.conf: use rootfs.${PN} for IMAGE_ROOTFS
  2009-04-23 12:35 ` Marcin Juszkiewicz
@ 2009-04-23 12:54   ` Roman I Khimov
  2009-04-23 13:03     ` Marcin Juszkiewicz
  0 siblings, 1 reply; 8+ messages in thread
From: Roman I Khimov @ 2009-04-23 12:54 UTC (permalink / raw)
  To: openembedded-devel

On Thursday 23 April 2009 16:35:06 Marcin Juszkiewicz wrote:
> Dnia czwartek, 23 kwietnia 2009 o 14:02:18 Roman I Khimov napisał(a):
> > Allows parallel build for different images.
> > ---
> >  conf/bitbake.conf |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > -IMAGE_ROOTFS = "${TMPDIR}/rootfs"
> > +IMAGE_ROOTFS = "${TMPDIR}/rootfs.${PN}"
>
> I would suggest ${TMPDIR}/rootfs/${PN}/ to not pollute TMPDIR with lot
> of directories.

This one needs some more care as it fails with

ERROR: Error, lockfile path does not exist!: /path-to-oe/tmp/rootfs



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] bitbake.conf: use rootfs.${PN} for IMAGE_ROOTFS
  2009-04-23 12:54   ` Roman I Khimov
@ 2009-04-23 13:03     ` Marcin Juszkiewicz
  2009-04-23 13:08       ` Roman I Khimov
  2009-04-23 13:17       ` [PATCH] bitbake.conf: use rootfs/${PN} " Roman I Khimov
  0 siblings, 2 replies; 8+ messages in thread
From: Marcin Juszkiewicz @ 2009-04-23 13:03 UTC (permalink / raw)
  To: openembedded-devel

Dnia czwartek, 23 kwietnia 2009 o 14:54:39 Roman I Khimov napisał(a):
> On Thursday 23 April 2009 16:35:06 Marcin Juszkiewicz wrote:
> > Dnia czwartek, 23 kwietnia 2009 o 14:02:18 Roman I Khimov 
napisał(a):
> > > Allows parallel build for different images.
> > > ---
> > >  conf/bitbake.conf |    2 +-
> > >  1 files changed, 1 insertions(+), 1 deletions(-)
> > >
> > > -IMAGE_ROOTFS = "${TMPDIR}/rootfs"
> > > +IMAGE_ROOTFS = "${TMPDIR}/rootfs.${PN}"
> >
> > I would suggest ${TMPDIR}/rootfs/${PN}/ to not pollute TMPDIR with
> > lot of directories.
>
> This one needs some more care as it fails with
>
> ERROR: Error, lockfile path does not exist!: /path-to-oe/tmp/rootfs

Note that with separated IMAGE_ROOTFS you probably do not need locking 
(unless "bitbake console-image console-image" called probably).

Regards, 
-- 
JID:      hrw@jabber.org
Website:  http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz





^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] bitbake.conf: use rootfs.${PN} for IMAGE_ROOTFS
  2009-04-23 13:03     ` Marcin Juszkiewicz
@ 2009-04-23 13:08       ` Roman I Khimov
  2009-04-23 13:17       ` [PATCH] bitbake.conf: use rootfs/${PN} " Roman I Khimov
  1 sibling, 0 replies; 8+ messages in thread
From: Roman I Khimov @ 2009-04-23 13:08 UTC (permalink / raw)
  To: openembedded-devel

On Thursday 23 April 2009 17:03:28 Marcin Juszkiewicz wrote:
> Dnia czwartek, 23 kwietnia 2009 o 14:54:39 Roman I Khimov napisał(a):
> > ERROR: Error, lockfile path does not exist!: /path-to-oe/tmp/rootfs
>
> Note that with separated IMAGE_ROOTFS you probably do not need locking
> (unless "bitbake console-image console-image" called probably).

Good point. OK, I'll try it locally.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH] bitbake.conf: use rootfs/${PN} for IMAGE_ROOTFS
  2009-04-23 13:03     ` Marcin Juszkiewicz
  2009-04-23 13:08       ` Roman I Khimov
@ 2009-04-23 13:17       ` Roman I Khimov
  2009-04-23 13:34         ` Otavio Salvador
  1 sibling, 1 reply; 8+ messages in thread
From: Roman I Khimov @ 2009-04-23 13:17 UTC (permalink / raw)
  To: openembedded-devel

Allows parallel build for different images.
---
 classes/image.bbclass |    1 -
 conf/bitbake.conf     |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/classes/image.bbclass b/classes/image.bbclass
index cbbbbd1..89d2712 100644
--- a/classes/image.bbclass
+++ b/classes/image.bbclass
@@ -104,7 +104,6 @@ LINGUAS_INSTALL = "${@" ".join(map(lambda s: "locale-base-%s" % s, bb.data.getVa
 
 do_rootfs[nostamp] = "1"
 do_rootfs[dirs] = "${TOPDIR}"
-do_rootfs[lockfiles] = "${IMAGE_ROOTFS}.lock"
 do_build[nostamp] = "1"
 do_install[nostamp] = "1"
 
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index f53f7d6..9e026e4 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -329,7 +329,7 @@ STAGING_KERNEL_DIR = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/kernel"
 # Specific image creation and rootfs population info.
 ##################################################################
 
-IMAGE_ROOTFS = "${TMPDIR}/rootfs"
+IMAGE_ROOTFS = "${TMPDIR}/rootfs/${PN}"
 IMAGE_BASENAME = "${PN}"
 IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}"
 IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${MACHINE}"
-- 
1.6.2.3


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH] bitbake.conf: use rootfs/${PN} for IMAGE_ROOTFS
  2009-04-23 13:17       ` [PATCH] bitbake.conf: use rootfs/${PN} " Roman I Khimov
@ 2009-04-23 13:34         ` Otavio Salvador
  0 siblings, 0 replies; 8+ messages in thread
From: Otavio Salvador @ 2009-04-23 13:34 UTC (permalink / raw)
  To: openembedded-devel

Acked-by: Otavio Salvador <otavio@ossystems.com.br>

Much nicer then first one :-)

On Thu, Apr 23, 2009 at 10:17 AM, Roman I Khimov <khimov@altell.ru> wrote:
> Allows parallel build for different images.
> ---
>  classes/image.bbclass |    1 -
>  conf/bitbake.conf     |    2 +-
>  2 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/classes/image.bbclass b/classes/image.bbclass
> index cbbbbd1..89d2712 100644
> --- a/classes/image.bbclass
> +++ b/classes/image.bbclass
> @@ -104,7 +104,6 @@ LINGUAS_INSTALL = "${@" ".join(map(lambda s: "locale-base-%s" % s, bb.data.getVa
>
>  do_rootfs[nostamp] = "1"
>  do_rootfs[dirs] = "${TOPDIR}"
> -do_rootfs[lockfiles] = "${IMAGE_ROOTFS}.lock"
>  do_build[nostamp] = "1"
>  do_install[nostamp] = "1"
>
> diff --git a/conf/bitbake.conf b/conf/bitbake.conf
> index f53f7d6..9e026e4 100644
> --- a/conf/bitbake.conf
> +++ b/conf/bitbake.conf
> @@ -329,7 +329,7 @@ STAGING_KERNEL_DIR = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/kernel"
>  # Specific image creation and rootfs population info.
>  ##################################################################
>
> -IMAGE_ROOTFS = "${TMPDIR}/rootfs"
> +IMAGE_ROOTFS = "${TMPDIR}/rootfs/${PN}"
>  IMAGE_BASENAME = "${PN}"
>  IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}"
>  IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${MACHINE}"
> --
> 1.6.2.3
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



-- 
Otavio Salvador                  O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-04-23 13:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-23 12:02 [PATCH] bitbake.conf: use rootfs.${PN} for IMAGE_ROOTFS Roman I Khimov
2009-04-23 12:34 ` Otavio Salvador
2009-04-23 12:35 ` Marcin Juszkiewicz
2009-04-23 12:54   ` Roman I Khimov
2009-04-23 13:03     ` Marcin Juszkiewicz
2009-04-23 13:08       ` Roman I Khimov
2009-04-23 13:17       ` [PATCH] bitbake.conf: use rootfs/${PN} " Roman I Khimov
2009-04-23 13:34         ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.