All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>, poky@yoctoproject.org
Subject: Re: [PATCH 1/3] Remove machine-specific metadata for machines no longer in oe-core
Date: Wed, 04 May 2011 09:07:17 -0600	[thread overview]
Message-ID: <4DC16BA5.1090508@mlbassoc.com> (raw)
In-Reply-To: <a6ff3eaba2e8868cf24775725be334f3479d905c.1304520272.git.paul.eggleton@linux.intel.com>

On 05/04/2011 08:51 AM, Paul Eggleton wrote:
   ...
> diff --git a/meta/recipes-core/netbase/netbase_4.45.bb b/meta/recipes-core/netbase/netbase_4.45.bb
> index 319afa7..85daa16 100644
> --- a/meta/recipes-core/netbase/netbase_4.45.bb
> +++ b/meta/recipes-core/netbase/netbase_4.45.bb
> @@ -40,7 +40,7 @@ do_install () {
>
>   	# Disable network manager on machines that commonly do NFS booting
>   	case "${MACHINE}" in
> -		"omap-3430sdp" | "omap-3430ldp" | "omap-2430sdp" | "qemuarm" | "qemux86" | "qemux86-64" )
> +		"qemuarm" | "qemux86" | "qemux86-64" | "qemumips" | "qemuppc" )
>   			touch ${D}${sysconfdir}/network/nm-disabled-eth0
>   			;;
>   		*)
> @@ -50,9 +50,6 @@ do_install () {
>
>   CONFFILES_${PN} = "${sysconfdir}/hosts ${sysconfdir}/network/interfaces"
>
> -PACKAGE_ARCH_omap-3430sdp = "${MACHINE_ARCH}"
> -PACKAGE_ARCH_omap-3430ldp = "${MACHINE_ARCH}"
> -PACKAGE_ARCH_omap-2430sdp = "${MACHINE_ARCH}"
>   PACKAGE_ARCH_qemuarm = "${MACHINE_ARCH}"
>   PACKAGE_ARCH_qemux86 = "${MACHINE_ARCH}"
>   PACKAGE_ARCH_qemux86-64 = "${MACHINE_ARCH}"

Perhaps it makes sense to always package netbase in ${MACHINE_ARCH} since it almost
always will have machine specific data?

Also, what about these overrides?  (There may be others, I just noticed these)
./meta/recipes-core/base-passwd/base-passwd_3.5.22.bb:do_install_append_openmn() {
./meta/recipes-core/netbase/netbase_4.45.bb:INITSCRIPT_PARAMS_openmn = "start 85 1 2 3 4 5 . stop 85 0 6 1 ."
./meta/recipes-core/busybox/busybox.inc:INITSCRIPT_PARAMS_${PN}-syslog_slugos = "start 20 ."
./meta/recipes-core/netbase/netbase_4.45.bb:INITSCRIPT_PARAMS_slugos = "start 42 S 0 6 ."
./meta/recipes-core/base-files/base-files_3.0.14.bb:hostname_slugos = "nslu2"
./meta/recipes-core/base-files/base-files_3.0.14.bb:do_install_append_slugos() {
./meta/recipes-core/base-files/base-files_3.0.14.bb:CONFFILES_${PN}_slugos = "${sysconfdir}/resolv.conf ${sysconfdir}/fstab ${sysconfdir}/hostname"
./meta/recipes-devtools/dpkg/dpkg.inc:DPKG_INIT_POSITION_slugos = "41"

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



WARNING: multiple messages have this Message-ID (diff)
From: Gary Thomas <gary@mlbassoc.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>, poky@yoctoproject.org
Subject: Re: [OE-core] [PATCH 1/3] Remove machine-specific metadata for machines no longer in oe-core
Date: Wed, 04 May 2011 09:07:17 -0600	[thread overview]
Message-ID: <4DC16BA5.1090508@mlbassoc.com> (raw)
In-Reply-To: <a6ff3eaba2e8868cf24775725be334f3479d905c.1304520272.git.paul.eggleton@linux.intel.com>

On 05/04/2011 08:51 AM, Paul Eggleton wrote:
   ...
> diff --git a/meta/recipes-core/netbase/netbase_4.45.bb b/meta/recipes-core/netbase/netbase_4.45.bb
> index 319afa7..85daa16 100644
> --- a/meta/recipes-core/netbase/netbase_4.45.bb
> +++ b/meta/recipes-core/netbase/netbase_4.45.bb
> @@ -40,7 +40,7 @@ do_install () {
>
>   	# Disable network manager on machines that commonly do NFS booting
>   	case "${MACHINE}" in
> -		"omap-3430sdp" | "omap-3430ldp" | "omap-2430sdp" | "qemuarm" | "qemux86" | "qemux86-64" )
> +		"qemuarm" | "qemux86" | "qemux86-64" | "qemumips" | "qemuppc" )
>   			touch ${D}${sysconfdir}/network/nm-disabled-eth0
>   			;;
>   		*)
> @@ -50,9 +50,6 @@ do_install () {
>
>   CONFFILES_${PN} = "${sysconfdir}/hosts ${sysconfdir}/network/interfaces"
>
> -PACKAGE_ARCH_omap-3430sdp = "${MACHINE_ARCH}"
> -PACKAGE_ARCH_omap-3430ldp = "${MACHINE_ARCH}"
> -PACKAGE_ARCH_omap-2430sdp = "${MACHINE_ARCH}"
>   PACKAGE_ARCH_qemuarm = "${MACHINE_ARCH}"
>   PACKAGE_ARCH_qemux86 = "${MACHINE_ARCH}"
>   PACKAGE_ARCH_qemux86-64 = "${MACHINE_ARCH}"

Perhaps it makes sense to always package netbase in ${MACHINE_ARCH} since it almost
always will have machine specific data?

Also, what about these overrides?  (There may be others, I just noticed these)
./meta/recipes-core/base-passwd/base-passwd_3.5.22.bb:do_install_append_openmn() {
./meta/recipes-core/netbase/netbase_4.45.bb:INITSCRIPT_PARAMS_openmn = "start 85 1 2 3 4 5 . stop 85 0 6 1 ."
./meta/recipes-core/busybox/busybox.inc:INITSCRIPT_PARAMS_${PN}-syslog_slugos = "start 20 ."
./meta/recipes-core/netbase/netbase_4.45.bb:INITSCRIPT_PARAMS_slugos = "start 42 S 0 6 ."
./meta/recipes-core/base-files/base-files_3.0.14.bb:hostname_slugos = "nslu2"
./meta/recipes-core/base-files/base-files_3.0.14.bb:do_install_append_slugos() {
./meta/recipes-core/base-files/base-files_3.0.14.bb:CONFFILES_${PN}_slugos = "${sysconfdir}/resolv.conf ${sysconfdir}/fstab ${sysconfdir}/hostname"
./meta/recipes-devtools/dpkg/dpkg.inc:DPKG_INIT_POSITION_slugos = "41"

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


  reply	other threads:[~2011-05-04 15:09 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-04 14:51 [PATCH 0/3] Remove machine/distro-specific metadata v3 + add some back to meta-yocto Paul Eggleton
2011-05-04 14:51 ` [PATCH 1/3] Remove machine-specific metadata for machines no longer in oe-core Paul Eggleton
2011-05-04 15:07   ` Gary Thomas [this message]
2011-05-04 15:07     ` [OE-core] " Gary Thomas
2011-05-04 15:21     ` [poky] " Paul Eggleton
2011-05-04 15:21       ` [OE-core] " Paul Eggleton
2011-05-04 15:31       ` [poky] " Gary Thomas
2011-05-04 15:31         ` [OE-core] " Gary Thomas
2011-05-05 11:46       ` [poky] " Richard Purdie
2011-05-05 11:46         ` [OE-core] " Richard Purdie
2011-05-04 14:51 ` [PATCH 2/3] Remove distro-specific metadata for distros not " Paul Eggleton
2011-05-04 14:51 ` [PATCH 3/3] meta-yocto: add pieces removed from oe-core for beagleboard & atom-pc Paul Eggleton
2011-05-05 11:38   ` Richard Purdie
2011-05-05 11:38     ` [OE-core] " Richard Purdie
2011-05-05 11:46     ` Koen Kooi
2011-05-05 11:46       ` [OE-core] " Koen Kooi
2011-05-05 12:21       ` [poky] " Richard Purdie
2011-05-05 12:21         ` [OE-core] " Richard Purdie
2011-05-05 12:31         ` [poky] " Koen Kooi
2011-05-05 12:31           ` [OE-core] " Koen Kooi
2011-05-05 12:59           ` [poky] " Richard Purdie
2011-05-05 12:59             ` [OE-core] " Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DC16BA5.1090508@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=paul.eggleton@linux.intel.com \
    --cc=poky@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.