[poky] [OE-core] [PATCH 1/3] Remove machine-specific metadata for machines no longer in oe-core

Gary Thomas gary at mlbassoc.com
Wed May 4 08:07:17 PDT 2011


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
------------------------------------------------------------



More information about the poky mailing list