all the patches for meta-fsl-ppc
v4 cover all the patches for meta-fsl-ppc
From: Ting Liu <[email protected]>
V4: squash two patches; add back FILESEXTRAPATHS setting
The changes were based on the commit:04c0bdab21f1c85723b83bb66a8b1e1a4f33cbb2 - remove images folder
Chunrong Guo (1):
lio-utils: add tcm_start.sh and lio_start.sh to rootfs
Ting Liu (7):
remove lm_sensor as it is already in meta-oe
qemu: configure properly check if -lrt is needed
sysvinit: remove SDK specific bits
procps: remove customized sysctl.conf which is SDK specific
udev-extraconf: move rules from udev and netbase
udev-extraconf: added to the list of MACHINE_EXTRA_RRECOMMENDS
udev-extraconf: add rule to rename network interfaces for t4/b4
conf/machine/e500mc.inc | 2 +-
conf/machine/e500v2.inc | 2 +-
conf/machine/e5500-64b.inc | 2 +-
conf/machine/e5500.inc | 2 +-
conf/machine/e6500-64b.inc | 2 +-
conf/machine/e6500.inc | 2 +-
recipes-append/netbase/netbase_5.0.bbappend | 10 +---
recipes-append/procps/files/sysctl.conf | 64 --------------------
recipes-append/procps/procps_3.2.8.bbappend | 3 +-
.../sysvinit/files/auto-detect-hostname.patch | 16 -----
recipes-append/sysvinit/sysvinit_2.88dsf.bbappend | 5 +-
recipes-append/udev/udev_182.bbappend | 3 +-
.../71-fsl-dpaa-persistent-networking.rules | 0
.../72-fsl-dpaa-persistent-networking.rules | 21 +++++++
.../udev/udev-extraconf}/local.rules | 0
recipes-core/udev/udev-extraconf_1.0.bbappend | 11 ++++
...configure-properly-check-if-lrt-is-needed.patch | 43 +++++++++++++
recipes-devtools/qemu/qemu_1.0.bb | 6 +-
.../lm_sensors/lmsensors-apps_3.3.2.bb | 50 ---------------
recipes-tools/lio-utils/lio-utils_4.0.bb | 9 ++-
20 files changed, 95 insertions(+), 158 deletions(-)
delete mode 100644 recipes-append/procps/files/sysctl.conf
delete mode 100644 recipes-append/sysvinit/files/auto-detect-hostname.patch
rename {recipes-append/netbase/files => recipes-core/udev/udev-extraconf}/71-fsl-dpaa-persistent-networking.rules (100%)
create mode 100644 recipes-core/udev/udev-extraconf/72-fsl-dpaa-persistent-networking.rules
rename {recipes-append/udev/files => recipes-core/udev/udev-extraconf}/local.rules (100%)
create mode 100644 recipes-core/udev/udev-extraconf_1.0.bbappend
create mode 100644 recipes-devtools/qemu/files/0001-configure-properly-check-if-lrt-is-needed.patch
delete mode 100644 recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bbSignature · 1 line
1.7.3.4
PATCH v4 1/8 remove lm_sensor as it is already in meta-oe
From: Ting Liu <[email protected]>
--- .../lm_sensors/lmsensors-apps_3.3.2.bb | 50 -------------------- 1 files changed, 0 insertions(+), 50 deletions(-) delete mode 100644 recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb deleted +0 -50
@@ -1,50 +0,0 @@ -SUMMARY = "A hardware health monitoring package for Linux" -DESCRIPTION = "Lm-sensors is a hardware health monitoring package for Linux. \ - It allows you to access information from temperature, voltage, \ - and fan speed sensors." -HOMEPAGE = "http://www.lm-sensors.org/" -DEPENDS = "sysfsutils virtual/libiconv \ - bison-native flex-native" -LICENSE = "GPLv2 & LGPLv2.1" -LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ - file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c" - -PR = "r2" -PACKAGE_ARCH = "${MACHINE_ARCH}" - -SRC_URI = "http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-${PV}.tar.bz2" - -SRC_URI[md5sum] = "f357ba00b080ab102a170f7bf8bb2578" -SRC_URI[sha256sum] = "f13dd885406841a7352ccfb8b9ccb23c4c057abe3de4258da5444c149a9e3ae1" - -S = "${WORKDIR}/lm_sensors-${PV}" - -EXTRA_OEMAKE = 'LINUX=${STAGING_KERNEL_DIR} EXLDFLAGS="${LDFLAGS}" \ - MACHINE=${TARGET_ARCH} PREFIX=${prefix} CC="${CC}" \ - AR="${AR}" MANDIR=${mandir}' - -do_compile() { - oe_runmake user PROG_EXTRA=sensors -} - -do_install() { - oe_runmake user_install DESTDIR=${D} -} - -PACKAGES =+ "libsensors libsensors-dev libsensors-staticdev libsensors-dbg libsensors-doc" -PACKAGES =+ "lmsensors-sensors lmsensors-sensors-dbg lmsensors-sensors-doc" -PACKAGES =+ "lmsensors-scripts" - -FILES_lmsensors-scripts = "${bindir}/*.pl ${bindir}/ddcmon ${sbindir}/fancontrol* ${sbindir}/pwmconfig ${sbindir}/sensors-detect" -RDEPENDS_lmsensors-scripts += "lmsensors-sensors perl bash" -RDEPENDS_lmsensors-apps += "perl-module-strict perl-module-vars perl-module-warnings-register perl-module-warnings" -RDEPENDS_lmsensors-scripts += "perl-module-fcntl perl-module-exporter perl-module-xsloader perl-module-exporter-heavy perl-module-file-basename perl-module-constant" - -FILES_lmsensors-sensors = "${bindir}/sensors ${sysconfdir}" -FILES_lmsensors-sensors-dbg += "${bindir}/.debug/sensors" -FILES_lmsensors-sensors-doc = "${mandir}/man1 ${mandir}/man5" -FILES_libsensors = "${libdir}/libsensors.so.*" -FILES_libsensors-dbg += "${libdir}/.debug" -FILES_libsensors-dev = "${libdir}/libsensors.so ${includedir}" -FILES_libsensors-staticdev = "${libdir}/libsensors.a" -FILES_libsensors-doc = "${mandir}/man3"
Signature · 1 line
1.7.3.4
Re: [meta-fsl-ppc][PATCH v4 1/8] remove lm_sensor as it is already in meta-oe
Quoted 3 lines · On Sat, Mar 9, 2013 at 12:30 AM, <[email protected]> wrote:
From: Ting Liu <[email protected]>
Signed-off-by Ting Liu <[email protected]>
I have just checked the revision used in meta-oe and it is 'r1' so you'll need to keep an bbappend to add PRINC otherwise we'll lost upgrade path.
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Re: [meta-fsl-ppc][PATCH v4 1/8] remove lm_sensor as it is already in meta-oe
Quoted 9 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Otavio Salvador
Sent: Saturday, March 09, 2013 8:21 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH v4 1/8] removelm_sensoras it is already in meta-oe
Quoted 8 lines
Quoted 3 lines · On Sat, Mar 9, 2013 at 12:30 AM, <[email protected]> wrote:
From: Ting Liu <[email protected]>
Signed-off-by Ting Liu <[email protected]>I have just checked the revision used in meta-oe and it is 'r1' so you'll need to keep an bbappend to add PRINC otherwise we'll lost upgrade path.
It is named as lmsensors-apps_3.3.2.bb in meta-fsl-ppc, and lmsensors_3.3.2.bb in meta-oe. But they are the same pkg. I think we can skip to bump PR as they are using 'different' recipe name.
If it does not make sense, I will generate new patches.
-Ting
Quoted 4 lines
--
Otavio SalvadorO.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Re: [meta-fsl-ppc][PATCH v4 1/8] remove lm_sensor as it is already in meta-oe
Quoted 14 lines · On Sat, Mar 9, 2013 at 11:37 AM, Liu Ting-B28495 <[email protected]> wrote:
Quoted 14 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Otavio Salvador
Sent: Saturday, March 09, 2013 8:21 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH v4 1/8] removelm_sensoras it is already in meta-oeQuoted 3 lines · On Sat, Mar 9, 2013 at 12:30 AM, <[email protected]> wrote:
From: Ting Liu <[email protected]>
Signed-off-by Ting Liu <[email protected]>
Quoted 8 lines
Quoted 3 lines
I have just checked the revision used in meta-oe and it is 'r1' so you'll need to keep an bbappend to add PRINC otherwise we'll lost upgrade path.
It is named as lmsensors-apps_3.3.2.bb in meta-fsl-ppc, and lmsensors_3.3.2.bb in meta-oe. But they are the same pkg. I think we can skip to bump PR as they are using 'different' recipe name.
If it does not make sense, I will generate new patches.
Regarding the PR you're right, good catch! However we need to take care of binary packages. You should provide a RPROVIDES/RREPLACES/RCONFLICTS for the binary packages which were renamed so the upgrade path works.
--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Re: [meta-fsl-ppc][PATCH v4 1/8] remove lm_sensor as it is already in meta-oe
Quoted 30 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Otavio Salvador
Sent: Saturday, March 09, 2013 10:54 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH v4 1/8] removelm_sensoras it is already in meta-oeQuoted 9 lines · On Sat, Mar 9, 2013 at 11:37 AM, Liu Ting-B28495 <[email protected]> wrote:
Quoted 9 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Otavio Salvador
Sent: Saturday, March 09, 2013 8:21 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH v4 1/8] removelm_sensoras it is already in meta-oeQuoted 7 lines
Quoted 7 lines · On Sat, Mar 9, 2013 at 12:30 AM, <[email protected]> wrote:
Quoted 3 lines
From: Ting Liu <[email protected]>
Signed-off-by Ting Liu <[email protected]>I have just checked the revision used in meta-oe and it is 'r1' so you'll need to keep an bbappend to add PRINC otherwise we'll lost
upgrade path.
Quoted 2 lines
Quoted 1 line
Quoted 9 lines
Quoted 4 lines
It is named as lmsensors-apps_3.3.2.bb in meta-fsl-ppc, and lmsensors_3.3.2.bb in meta-oe. But they are the same pkg. I think we can skip to bump PR as they are using 'different' recipe name. If it does not make sense, I will generate new patches.
Regarding the PR you're right, good catch! However we need to take care of binary packages. You should provide a RPROVIDES/RREPLACES/RCONFLICTS for the binary packages which were renamed so the upgrade path works.
I think we can skip it too. They are identical, just with different name. RPROVIDES/RREPLACES/RCONFLICTS does not make sense. No one will install the two at the same time. They will find lmsensors-apps has gone away and use the one in meta-oe.
-Ting
Quoted 4 lines
--
Otavio SalvadorO.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Re: [meta-fsl-ppc][PATCH v4 1/8] remove lm_sensor as it is already in meta-oe
Quoted 40 lines · On Sat, Mar 9, 2013 at 12:21 PM, Liu Ting-B28495 <[email protected]> wrote:
Quoted 30 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Otavio Salvador
Sent: Saturday, March 09, 2013 10:54 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH v4 1/8] removelm_sensoras it is already in meta-oeQuoted 9 lines · On Sat, Mar 9, 2013 at 11:37 AM, Liu Ting-B28495 <[email protected]> wrote:
Quoted 9 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Otavio Salvador
Sent: Saturday, March 09, 2013 8:21 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH v4 1/8] removelm_sensoras it is already in meta-oeQuoted 7 lines
Quoted 7 lines · On Sat, Mar 9, 2013 at 12:30 AM, <[email protected]> wrote:
Quoted 3 lines
From: Ting Liu <[email protected]>
Signed-off-by Ting Liu <[email protected]>I have just checked the revision used in meta-oe and it is 'r1' so you'll need to keep an bbappend to add PRINC otherwise we'll lost
upgrade path.
Quoted 2 lines
Quoted 1 line
Quoted 9 lines
Quoted 4 lines
It is named as lmsensors-apps_3.3.2.bb in meta-fsl-ppc, and lmsensors_3.3.2.bb in meta-oe. But they are the same pkg. I think we can skip to bump PR as they are using 'different' recipe name. If it does not make sense, I will generate new patches.
Regarding the PR you're right, good catch! However we need to take care of binary packages. You should provide a RPROVIDES/RREPLACES/RCONFLICTS for the binary packages which were renamed so the upgrade path works.
Quoted 4 lines
I think we can skip it too. They are identical, just with different name. RPROVIDES/RREPLACES/RCONFLICTS does not make sense. No one will install the two at the same time. They will find lmsensors-apps has gone away and use the one in meta-oe.
If someone has an image and has a lmsensors-apps-<foo> it will fail to build. That's why you should have the overrides so the images will not need to be changed to be kept working.
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Re: [meta-fsl-ppc][PATCH v4 1/8] remove lm_sensor as it is already in meta-oe
Quoted 54 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Otavio Salvador
Sent: Saturday, March 09, 2013 11:34 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH v4 1/8] removelm_sensoras it is already in meta-oeQuoted 31 lines · On Sat, Mar 9, 2013 at 12:21 PM, Liu Ting-B28495 <[email protected]> wrote:
Quoted 31 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Otavio Salvador
Sent: Saturday, March 09, 2013 10:54 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH v4 1/8] removelm_sensoras it is already in meta-oeQuoted 9 lines · On Sat, Mar 9, 2013 at 11:37 AM, Liu Ting-B28495 <[email protected]> wrote:
Quoted 9 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Otavio Salvador
Sent: Saturday, March 09, 2013 8:21 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH v4 1/8] removelm_sensoras it is already in meta-oeQuoted 7 lines
Quoted 7 lines · On Sat, Mar 9, 2013 at 12:30 AM, <[email protected]> wrote:
Quoted 3 lines
From: Ting Liu <[email protected]>
Signed-off-by Ting Liu <[email protected]>I have just checked the revision used in meta-oe and it is 'r1' so you'll need to keep an bbappend to add PRINC otherwise we'll lost
upgrade path.
Quoted 2 lines
Quoted 1 line
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
It is named as lmsensors-apps_3.3.2.bb in meta-fsl-ppc, and lmsensors_3.3.2.bb in meta-oe. But they are the same pkg. I think we can skip to bump PR as they are using 'different' recipe name. If it does not make sense, I will generate new patches.
Regarding the PR you're right, good catch! However we need to take care of binary packages. You should provide a RPROVIDES/RREPLACES/RCONFLICTS for the binary packages which were
renamed so the upgrade path works.
Quoted 3 lines
Quoted 1 line
I think we can skip it too. They are identical, just with different
Quoted 8 lines
name.
Quoted 3 lines
RPROVIDES/RREPLACES/RCONFLICTS does not make sense. No one will install the two at the same time. They will find lmsensors-apps has gone away and use the one in meta-oe.
If someone has an image and has a lmsensors-apps-<foo> it will fail to build. That's why you should have the overrides so the images will not need to be changed to be kept working.
So they will know the changes and use the right pkg name in image :-)
-Ting
Quoted 5 lines
--
Otavio SalvadorO.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Re: [meta-fsl-ppc][PATCH v4 1/8] remove lm_sensor as it is already in meta-oe
Quoted 59 lines · On Sat, Mar 9, 2013 at 12:37 PM, Liu Ting-B28495 <[email protected]> wrote:
Quoted 59 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Otavio Salvador
Sent: Saturday, March 09, 2013 11:34 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH v4 1/8] removelm_sensoras it is already in meta-oeQuoted 31 lines · On Sat, Mar 9, 2013 at 12:21 PM, Liu Ting-B28495 <[email protected]> wrote:
Quoted 31 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Otavio Salvador
Sent: Saturday, March 09, 2013 10:54 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH v4 1/8] removelm_sensoras it is already in meta-oeQuoted 9 lines · On Sat, Mar 9, 2013 at 11:37 AM, Liu Ting-B28495 <[email protected]> wrote:
Quoted 9 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Otavio Salvador
Sent: Saturday, March 09, 2013 8:21 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH v4 1/8] removelm_sensoras it is already in meta-oeQuoted 7 lines
Quoted 7 lines · On Sat, Mar 9, 2013 at 12:30 AM, <[email protected]> wrote:
Quoted 3 lines
From: Ting Liu <[email protected]>
Signed-off-by Ting Liu <[email protected]>I have just checked the revision used in meta-oe and it is 'r1' so you'll need to keep an bbappend to add PRINC otherwise we'll lost
upgrade path.
Quoted 2 lines
Quoted 1 line
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
It is named as lmsensors-apps_3.3.2.bb in meta-fsl-ppc, and lmsensors_3.3.2.bb in meta-oe. But they are the same pkg. I think we can skip to bump PR as they are using 'different' recipe name. If it does not make sense, I will generate new patches.
Regarding the PR you're right, good catch! However we need to take care of binary packages. You should provide a RPROVIDES/RREPLACES/RCONFLICTS for the binary packages which were
renamed so the upgrade path works.
Quoted 3 lines
Quoted 1 line
I think we can skip it too. They are identical, just with different
name.
Quoted 3 lines
RPROVIDES/RREPLACES/RCONFLICTS does not make sense. No one will install the two at the same time. They will find lmsensors-apps has gone away and use the one in meta-oe.
Quoted 5 lines
Quoted 3 lines
If someone has an image and has a lmsensors-apps-<foo> it will fail to build. That's why you should have the overrides so the images will not need to be changed to be kept working.
So they will know the changes and use the right pkg name in image :-)
This breaks user image; we ought to avoid to do that. People using the BSP/SDK are kept working nowadays so you're moving them to a new package so please take care to not break them.
I won't ack the package without a proper upgrade path. Matt, your call.
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Re: [meta-fsl-ppc][PATCH v4 1/8] remove lm_sensor as it is already in meta-oe
Quoted 78 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Otavio Salvador
Sent: Saturday, March 09, 2013 11:40 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH v4 1/8] removelm_sensoras it is already in meta-oeQuoted 42 lines · On Sat, Mar 9, 2013 at 12:37 PM, Liu Ting-B28495 <[email protected]> wrote:
Quoted 42 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Otavio Salvador
Sent: Saturday, March 09, 2013 11:34 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH v4 1/8] removelm_sensoras it is already in meta-oeQuoted 30 lines · On Sat, Mar 9, 2013 at 12:21 PM, Liu Ting-B28495 <[email protected]> wrote:
Quoted 30 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Otavio Salvador
Sent: Saturday, March 09, 2013 10:54 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH v4 1/8] removelm_sensoras it is already in meta-oeQuoted 18 lines · On Sat, Mar 9, 2013 at 11:37 AM, Liu Ting-B28495 <[email protected]> wrote:
Quoted 18 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Otavio Salvador
Sent: Saturday, March 09, 2013 8:21 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH v4 1/8] removelm_sensoras it is already in meta-oeQuoted 3 lines · On Sat, Mar 9, 2013 at 12:30 AM, <[email protected]> wrote:
From: Ting Liu <[email protected]>
Signed-off-by Ting Liu <[email protected]>I have just checked the revision used in meta-oe and it is 'r1' so you'll need to keep an bbappend to add PRINC otherwise we'll lost
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
upgrade path.
Quoted 5 lines
Quoted 1 line
It is named as lmsensors-apps_3.3.2.bb in meta-fsl-ppc, and lmsensors_3.3.2.bb in meta-oe. But they are the same pkg. I think we can skip to bump PR as they are using 'different' recipe
name.
Quoted 18 lines
Quoted 17 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
If it does not make sense, I will generate new patches.
Regarding the PR you're right, good catch! However we need to take care of binary packages. You should provide a RPROVIDES/RREPLACES/RCONFLICTS for the binary packages which were
renamed so the upgrade path works.
Quoted 3 lines
Quoted 1 line
I think we can skip it too. They are identical, just with different
name.
Quoted 3 lines
RPROVIDES/RREPLACES/RCONFLICTS does not make sense. No one will install the two at the same time. They will find lmsensors-apps has gone away and use the one in meta-oe.
If someone has an image and has a lmsensors-apps-<foo> it will fail to build. That's why you should have the overrides so the images will not need to be changed to be kept working.
Quoted 5 lines
Quoted 1 line
So they will know the changes and use the right pkg name in image :-)
This breaks user image; we ought to avoid to do that. People using the BSP/SDK are kept working nowadays so you're moving them to a new package so please take care to not break them.
Consider this case: people include poky, meta-fsl-ppc and other layers except meta-oe. If we remove lmsensors-apps_3.3.2.bb in meta-fsl-ppc, then their image that has lmsensors-apps will absolutely fail to build. I wonder how to get a proper upgrade path in this case? Dose RPROVIDES/RREPLACES/RCONFLICTS works? They have to do some changes.
-Ting
Quoted 2 lines
I won't ack the package without a proper upgrade path. Matt, your call.
All right.
RPROVIDES/RREPLACES/RCONFLICTS
Quoted 5 lines
--
Otavio SalvadorO.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Re: [meta-fsl-ppc][PATCH v4 1/8] remove lm_sensor as it is already in meta-oe
Ting, Otavio,
I think Otavio is referring to binary feeds to some degree here? Where in a package has already generated an ipk/deb/rpm and it's being upgraded in a live install. It's worth noting that some SDKs use this method to upgrading / deploying vs. doing a build from source that poky does.
With that in mind, given the package has changed we may need a RREPLACES? I'm really not that familiar with this and I don't know that anyone that uses ppc does this method yet. Do any SDKs/DISTROs out there do this with meta-fsl-ppc? If so speak up, or let me know if I am completely off base.
Also, please CC me on the patches and commentary so I see it sooner.
-M
Quoted 104 lines · On Sun, Mar 10, 2013 at 9:10 PM, Liu Ting-B28495 <[email protected]> wrote:
Quoted 78 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Otavio Salvador
Sent: Saturday, March 09, 2013 11:40 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH v4 1/8] removelm_sensoras it is already in meta-oeQuoted 42 lines · On Sat, Mar 9, 2013 at 12:37 PM, Liu Ting-B28495 <[email protected]> wrote:
Quoted 42 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Otavio Salvador
Sent: Saturday, March 09, 2013 11:34 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH v4 1/8] removelm_sensoras it is already in meta-oeQuoted 30 lines · On Sat, Mar 9, 2013 at 12:21 PM, Liu Ting-B28495 <[email protected]> wrote:
Quoted 30 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Otavio Salvador
Sent: Saturday, March 09, 2013 10:54 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH v4 1/8] removelm_sensoras it is already in meta-oeQuoted 18 lines · On Sat, Mar 9, 2013 at 11:37 AM, Liu Ting-B28495 <[email protected]> wrote:
Quoted 18 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Otavio Salvador
Sent: Saturday, March 09, 2013 8:21 PM
To: Liu Ting-B28495
Cc: [email protected]
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH v4 1/8] removelm_sensoras it is already in meta-oeQuoted 3 lines · On Sat, Mar 9, 2013 at 12:30 AM, <[email protected]> wrote:
From: Ting Liu <[email protected]>
Signed-off-by Ting Liu <[email protected]>I have just checked the revision used in meta-oe and it is 'r1' so you'll need to keep an bbappend to add PRINC otherwise we'll lost
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
upgrade path.
Quoted 5 lines
Quoted 1 line
It is named as lmsensors-apps_3.3.2.bb in meta-fsl-ppc, and lmsensors_3.3.2.bb in meta-oe. But they are the same pkg. I think we can skip to bump PR as they are using 'different' recipe
name.
Quoted 18 lines
Quoted 17 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
If it does not make sense, I will generate new patches.
Regarding the PR you're right, good catch! However we need to take care of binary packages. You should provide a RPROVIDES/RREPLACES/RCONFLICTS for the binary packages which were
renamed so the upgrade path works.
Quoted 3 lines
Quoted 1 line
I think we can skip it too. They are identical, just with different
name.
Quoted 3 lines
RPROVIDES/RREPLACES/RCONFLICTS does not make sense. No one will install the two at the same time. They will find lmsensors-apps has gone away and use the one in meta-oe.
If someone has an image and has a lmsensors-apps-<foo> it will fail to build. That's why you should have the overrides so the images will not need to be changed to be kept working.
Quoted 5 lines
Quoted 1 line
So they will know the changes and use the right pkg name in image :-)
This breaks user image; we ought to avoid to do that. People using the BSP/SDK are kept working nowadays so you're moving them to a new package so please take care to not break them.
Consider this case: people include poky, meta-fsl-ppc and other layers except meta-oe. If we remove lmsensors-apps_3.3.2.bb in meta-fsl-ppc, then their image that has lmsensors-apps will absolutely fail to build. I wonder how to get a proper upgrade path in this case? Dose RPROVIDES/RREPLACES/RCONFLICTS works? They have to do some changes.
-Ting
Quoted 2 lines
I won't ack the package without a proper upgrade path. Matt, your call.
All right.
RPROVIDES/RREPLACES/RCONFLICTSQuoted 5 lines
--
Otavio SalvadorO.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-fsl-ppc][PATCH v4 1/8] remove lm_sensor as it is already in meta-oe
Quoted 7 lines · Matthew McClintock
Ting, Otavio,
I think Otavio is referring to binary feeds to some degree here? Where in a package has already generated an ipk/deb/rpm and it's being upgraded in a live install. It's worth noting that some SDKs use this method to upgrading / deploying vs. doing a build from source that poky does.
Yes; correct.
Quoted 5 lines
With that in mind, given the package has changed we may need a RREPLACES? I'm really not that familiar with this and I don't know that anyone that uses ppc does this method yet. Do any SDKs/DISTROs out there do this with meta-fsl-ppc? If so speak up, or let me know if I am completely off base.
RPROVIDES, RCONFLICTS and RREPLACES.
Quoted 1 line
Also, please CC me on the patches and commentary so I see it sooner.
Will do :-) Thanks :-D
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
PATCH v4 2/8 qemu: configure properly check if -lrt is needed
In reply to [email protected]From: Ting Liu <[email protected]>
-lrt is needed to avoid the error "undefined reference to `timer_settime'". add the check in configure.
Backport from http://git.qemu.org/?p=qemu.git
commit: 8bacde8d86a09699207d85d4bab06162aed18dc4
Fix the below build issue:
| ../qemu-timer.o: In function `dynticks_rearm_timer': | .../qemu/1.0+fsl-r2/git/qemu-timer.c:597: undefined reference to `timer_gettime' | .../qemu/1.0+fsl-r2/git/qemu-timer.c:610: undefined reference to `timer_settime' | ../qemu-timer.o: In function `dynticks_stop_timer': | .../qemu/1.0+fsl-r2/git/qemu-timer.c:583: undefined reference to `timer_delete' | ../qemu-timer.o: In function `dynticks_start_timer': | .../qemu/1.0+fsl-r2/git/qemu-timer.c:565: undefined reference to `timer_create' | ivshmem.o: In function `pci_ivshmem_init': | .../qemu/1.0+fsl-r2/git/hw/ivshmem.c:720: undefined reference to `shm_open' | .../qemu/1.0+fsl-r2/git/hw/ivshmem.c:727: undefined reference to `shm_open' | collect2: error: ld returned 1 exit status | make[1]: *** [qemu-system-ppc] Error 1 | make: *** [subdir-ppc-softmmu] Error 2 | ERROR: oe_runmake failed | ERROR: Function failed: do_compile
Yocto 1.4_M4 uses qemu 1.3.1 which includes this fix. So this issue only appeared to us.
--- ...configure-properly-check-if-lrt-is-needed.patch | 43 ++++++++++++++++++++ recipes-devtools/qemu/qemu_1.0.bb | 6 ++- 2 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 recipes-devtools/qemu/files/0001-configure-properly-check-if-lrt-is-needed.patch
recipes-devtools/qemu/files/0001-configure-properly-check-if-lrt-is-needed.patch new file +43 -0
@@ -0,0 +1,43 @@ +From e5906138d8042817cc3b49872dd181c66a11abdf Mon Sep 17 00:00:00 2001 +From: Ting Liu <[email protected]> +Date: Wed, 6 Mar 2013 01:56:35 -0600 +Subject: [PATCH] configure: properly check if -lrt is needed + +Upstream-Status: Backport +commit 8bacde8d86a09699207d85d4bab06162aed18dc4 + +Signed-off-by: Natanael Copa <[email protected]> +Signed-off-by: Blue Swirl <[email protected]> +Signed-off-by: Ting Liu <[email protected]> +--- + configure | 9 +++++++-- + 1 file changed, 7 insertions(+), 2 deletions(-) + +diff --git a/configure b/configure +index 999375a..29b3e30 100755 +--- a/configure ++++ b/configure +@@ -2444,13 +2444,18 @@ fi + cat > $TMPC <<EOF + #include <signal.h> + #include <time.h> +-int main(void) { clockid_t id; return clock_gettime(id, NULL); } ++int main(void) { ++ timer_create(CLOCK_REALTIME, NULL, NULL); ++ return clock_gettime(CLOCK_REALTIME, NULL); ++} + EOF + + if compile_prog "" "" ; then + : +-elif compile_prog "" "-lrt" ; then ++# we need pthread for static linking. use previous pthread test result ++elif compile_prog "" "-lrt $pthread_lib" ; then + LIBS="-lrt $LIBS" ++ libs_qga="-lrt $libs_qga" + fi + + if test "$darwin" != "yes" -a "$mingw32" != "yes" -a "$solaris" != yes -a \ +-- +1.7.9.7 +
recipes-devtools/qemu/qemu_1.0.bb +4 -2
@@ -5,11 +5,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \ # This means v1.0 with FSL specific patches applied PV = "1.0+fsl" -PR = "r2" +PR = "r3" DEPENDS += "dtc" -SRC_URI = "git://git.freescale.com/ppc/sdk/qemu.git" +SRC_URI = "git://git.freescale.com/ppc/sdk/qemu.git \ + file://0001-configure-properly-check-if-lrt-is-needed.patch \ +" SRCREV = "7feabd47a814214dc4bebfd97d0eaf30dc50a68f" S = "${WORKDIR}/git"
Signature · 1 line
1.7.3.4
PATCH v4 3/8 lio-utils: add tcm_start.sh and lio_start.sh to rootfs
In reply to [email protected]From: Chunrong Guo <[email protected]>
*following scripts had been added
/etc/init.d/target
/etc/target/tcm_start.sh
/etc/target/lio_start.sh
--- recipes-tools/lio-utils/lio-utils_4.0.bb | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-)
recipes-tools/lio-utils/lio-utils_4.0.bb +6 -3
@@ -4,7 +4,7 @@ HOMEPAGE = "http://linux-iscsi.org/index.php/Lio-utils" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://debian/copyright;md5=c3ea231a32635cbb5debedf3e88aa3df" -PR = "r1" +PR = "r2" SRC_URI = "git://risingtidesystems.com/lio-utils.git;protocal=git \ file://lio-utils-install-more-modules.patch "
@@ -46,13 +46,16 @@ do_install() { if test -d ${S}/tools; then oe_runmake install fi - + + install -d ${D}/etc/target/ install -d ${D}/etc/init.d/ install -m 755 ${S}/scripts/rc.target ${D}/etc/init.d/ + install -m 755 ${S}/conf/tcm_start.default ${D}/etc/target/tcm_start.sh + install -m 755 ${S}/conf/lio_start.default ${D}/etc/target/lio_start.sh } RDEPENDS_${PN} += "python-stringold python-subprocess python-shell \ python-datetime python-textutils python-crypt python-netclient python-email" -FILES_${PN} += "${sbindir}/* /etc/init.d/*" +FILES_${PN} += "${sbindir}/* /etc/init.d/* /etc/target/*"
Signature · 1 line
1.7.3.4
PATCH v4 4/8 sysvinit: remove SDK specific bits
In reply to [email protected]From: Ting Liu <[email protected]>
This is fsl SDK specific, and was recommended to go to SDK layer:
http://patches.openembedded.org/patch/34623/
--- .../sysvinit/files/auto-detect-hostname.patch | 16 ---------------- recipes-append/sysvinit/sysvinit_2.88dsf.bbappend | 5 +---- 2 files changed, 1 insertions(+), 20 deletions(-) delete mode 100644 recipes-append/sysvinit/files/auto-detect-hostname.patch
recipes-append/sysvinit/files/auto-detect-hostname.patch deleted +0 -16
@@ -1,16 +0,0 @@ -diff --git a/rcS b/rcS -index 080b04f..51425ff 100755 ---- a/rcS -+++ b/rcS -@@ -22,6 +22,11 @@ export PATH runlevel prevlevel - . /etc/default/rcS - - # -+# Update the hostname according to actual board type -+# -+echo `cat /proc/cpuinfo | grep model | cut -d "," -f 2 | tr "[A-Z]" "[a-z]"` > /etc/hostname -+ -+# - # Trap CTRL-C &c only in this shell so we can interrupt subprocesses. - # - trap ":" INT QUIT TSTP
recipes-append/sysvinit/sysvinit_2.88dsf.bbappend +1 -4
@@ -1,5 +1,2 @@ -FILESEXTRAPATHS_prepend_fsl := "${THISDIR}/files:" +PRINC := "${@int(PRINC) + 1}" -PR_fsl .= "+${DISTRO}.1" - -SRC_URI_append_fsl = " file://auto-detect-hostname.patch;patchdir=../"
Signature · 1 line
1.7.3.4
PATCH v4 5/8 procps: remove customized sysctl.conf which is SDK specific
In reply to [email protected]From: Ting Liu <[email protected]>
It was added to disable rp_filter to enhance ASF IP forward performance, which is really fsl SDK specific.
--- recipes-append/procps/files/sysctl.conf | 64 --------------------------- recipes-append/procps/procps_3.2.8.bbappend | 3 +- 2 files changed, 1 insertions(+), 66 deletions(-) delete mode 100644 recipes-append/procps/files/sysctl.conf
recipes-append/procps/files/sysctl.conf deleted +0 -64
@@ -1,64 +0,0 @@ -# This configuration file is taken from Debian. -# -# /etc/sysctl.conf - Configuration file for setting system variables -# See sysctl.conf (5) for information. -# - -#kernel.domainname = example.com - -# Uncomment the following to stop low-level messages on console -#kernel.printk = 4 4 1 7 - -##############################################################3 -# Functions previously found in netbase -# - -# Uncomment the next two lines to enable Spoof protection (reverse-path filter) -# Turn on Source Address Verification in all interfaces to -# prevent some spoofing attacks -net.ipv4.conf.default.rp_filter=0 -net.ipv4.conf.all.rp_filter=0 - -# Uncomment the next line to enable TCP/IP SYN cookies -#net.ipv4.tcp_syncookies=1 - -# Uncomment the next line to enable packet forwarding for IPv4 -#net.ipv4.ip_forward=1 - -# Uncomment the next line to enable packet forwarding for IPv6 -#net.ipv6.conf.all.forwarding=1 - - -################################################################### -# Additional settings - these settings can improve the network -# security of the host and prevent against some network attacks -# including spoofing attacks and man in the middle attacks through -# redirection. Some network environments, however, require that these -# settings are disabled so review and enable them as needed. -# -# Ignore ICMP broadcasts -#net.ipv4.icmp_echo_ignore_broadcasts = 1 -# -# Ignore bogus ICMP errors -#net.ipv4.icmp_ignore_bogus_error_responses = 1 -# -# Do not accept ICMP redirects (prevent MITM attacks) -#net.ipv4.conf.all.accept_redirects = 0 -#net.ipv6.conf.all.accept_redirects = 0 -# _or_ -# Accept ICMP redirects only for gateways listed in our default -# gateway list (enabled by default) -# net.ipv4.conf.all.secure_redirects = 1 -# -# Do not send ICMP redirects (we are not a router) -#net.ipv4.conf.all.send_redirects = 0 -# -# Do not accept IP source route packets (we are not a router) -#net.ipv4.conf.all.accept_source_route = 0 -#net.ipv6.conf.all.accept_source_route = 0 -# -# Log Martian Packets -#net.ipv4.conf.all.log_martians = 1 -# - -#kernel.shmmax = 141762560
recipes-append/procps/procps_3.2.8.bbappend +1 -2
@@ -1,3 +1,2 @@ -PR_fsl .= "+${DISTRO}.0" +PRINC := "${@int(PRINC) + 1}" -FILESEXTRAPATHS_prepend_fsl := "${THISDIR}/files:"
Signature · 1 line
1.7.3.4
PATCH v4 6/8 udev-extraconf: move rules from udev and netbase
In reply to [email protected]From: Ting Liu <[email protected]>
---
recipes-append/netbase/netbase_5.0.bbappend | 10 +---------
recipes-append/udev/udev_182.bbappend | 3 +--
.../71-fsl-dpaa-persistent-networking.rules | 0
.../udev/udev-extraconf}/local.rules | 0
recipes-core/udev/udev-extraconf_1.0.bbappend | 11 +++++++++++
5 files changed, 13 insertions(+), 11 deletions(-)
rename {recipes-append/netbase/files => recipes-core/udev/udev-extraconf}/71-fsl-dpaa-persistent-networking.rules (100%)
rename {recipes-append/udev/files => recipes-core/udev/udev-extraconf}/local.rules (100%)
create mode 100644 recipes-core/udev/udev-extraconf_1.0.bbappendrecipes-append/netbase/netbase_5.0.bbappend +1 -9
@@ -1,10 +1,2 @@ -FILESEXTRAPATHS_prepend_fsl := "${THISDIR}/files:" +PRINC := "${@int(PRINC) + 1}" -SRC_URI_append_fsl += "file://71-fsl-dpaa-persistent-networking.rules" - -do_install_append_fsl () { - install -d ${D}${sysconfdir}/udev/rules.d/ - install -m 0644 ${WORKDIR}/71-fsl-dpaa-persistent-networking.rules ${D}${sysconfdir}/udev/rules.d -} - -PR_fsl .= "+${DISTRO}"
recipes-append/udev/udev_182.bbappend +1 -2
@@ -1,3 +1,2 @@ -FILESEXTRAPATHS_prepend_fsl := "${THISDIR}/files:" +PRINC := "${@int(PRINC) + 1}" -PR_fsl .= "+${DISTRO}.1"
recipes-core/udev/udev-extraconf/71-fsl-dpaa-persistent-networking.rules renamed from recipes-append/netbase/files/71-fsl-dpaa-persistent-networking.rules +0 -0
recipes-core/udev/udev-extraconf/local.rules renamed from recipes-append/udev/files/local.rules +0 -0
recipes-core/udev/udev-extraconf_1.0.bbappend new file +11 -0
@@ -0,0 +1,11 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/udev-extraconf:" + +PRINC := "${@int(PRINC) + 1}" + +SRC_URI_append = " file://71-fsl-dpaa-persistent-networking.rules" + +do_install_append () { + install -d ${D}${sysconfdir}/udev/rules.d/ + install -m 0644 ${WORKDIR}/71-fsl-dpaa-persistent-networking.rules ${D}${sysconfdir}/udev/rules.d +} +
Signature · 1 line
1.7.3.4
Re: [meta-fsl-ppc][PATCH v4 6/8] udev-extraconf: move rules from udev and netbase
Quoted 53 lines · On Sat, Mar 9, 2013 at 12:30 AM, <[email protected]> wrote:
From: Ting Liu <[email protected]>
Signed-off-by Ting Liu <[email protected]>--- recipes-append/netbase/netbase_5.0.bbappend | 10 +--------- recipes-append/udev/udev_182.bbappend | 3 +-- .../71-fsl-dpaa-persistent-networking.rules | 0 .../udev/udev-extraconf}/local.rules | 0 recipes-core/udev/udev-extraconf_1.0.bbappend | 11 +++++++++++ 5 files changed, 13 insertions(+), 11 deletions(-) rename {recipes-append/netbase/files => recipes-core/udev/udev-extraconf}/71-fsl-dpaa-persistent-networking.rules (100%) rename {recipes-append/udev/files => recipes-core/udev/udev-extraconf}/local.rules (100%) create mode 100644 recipes-core/udev/udev-extraconf_1.0.bbappendrecipes-append/netbase/netbase_5.0.bbappend +1
-9@@ -1,10 +1,2 @@ -FILESEXTRAPATHS_prepend_fsl := "${THISDIR}/files:" +PRINC := "${@int(PRINC) + 1}" -SRC_URI_append_fsl += "file://71-fsl-dpaa-persistent-networking.rules" - -do_install_append_fsl () { - install -d ${D}${sysconfdir}/udev/rules.d/ - install -m 0644 ${WORKDIR}/71-fsl-dpaa-persistent-networking.rules ${D}${sysconfdir}/udev/rules.d -} - -PR_fsl .= "+${DISTRO}"recipes-append/udev/udev_182.bbappend +1
-2@@ -1,3 +1,2 @@ -FILESEXTRAPATHS_prepend_fsl := "${THISDIR}/files:" +PRINC := "${@int(PRINC) + 1}" -PR_fsl .= "+${DISTRO}.1"recipes-core/udev/udev-extraconf/71-fsl-dpaa-persistent-networking.rules renamed from recipes-append/netbase/files/71-fsl-dpaa-persistent-networking.rules +0
-0recipes-core/udev/udev-extraconf/local.rules renamed from recipes-append/udev/files/local.rules +0
-0recipes-core/udev/udev-extraconf_1.0.bbappend new file +0
-0
recipes-core/udev/udev-extraconf_1.0.bbappend line 1
Quoted 1 line
recipes-core/udev/udev-extraconf_1.0.bbappend new file +1
-0@@ -0,0 +1,11 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/udev-extraconf:"
I'd use ${PN} here.
Quoted 17 lines
recipes-core/udev/udev-extraconf_1.0.bbappend new file +9
-1+PRINC := "${@int(PRINC) + 1}" + +SRC_URI_append = " file://71-fsl-dpaa-persistent-networking.rules" + +do_install_append () { + install -d ${D}${sysconfdir}/udev/rules.d/ + install -m 0644 ${WORKDIR}/71-fsl-dpaa-persistent-networking.rules ${D}${sysconfdir}/udev/rules.d +} + --1.7.3.4
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
PATCH v4 7/8 udev-extraconf: added to the list of MACHINE_EXTRA_RRECOMMENDS
In reply to [email protected]From: Ting Liu <[email protected]>
It will then added into packagegroup-basic and packagegroup-base.
--- conf/machine/e500mc.inc | 2 +- conf/machine/e500v2.inc | 2 +- conf/machine/e5500-64b.inc | 2 +- conf/machine/e5500.inc | 2 +- conf/machine/e6500-64b.inc | 2 +- conf/machine/e6500.inc | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
conf/machine/e500mc.inc +1 -1
@@ -3,7 +3,7 @@ TARGET_FPU = "hard" require conf/machine/include/tune-ppce500mc.inc MACHINE_FEATURES = "kernel26 keyboard pci ext2 ext3 serial" -MACHINE_EXTRA_RRECOMMENDS = "u-boot" +MACHINE_EXTRA_RRECOMMENDS = "u-boot udev-extraconf" PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq-sdk" PREFERRED_VERSION_virtual/kernel ?= "3.0.34"
conf/machine/e500v2.inc +1 -1
@@ -1,7 +1,7 @@ require conf/machine/include/tune-ppce500v2.inc MACHINE_FEATURES = "kernel26 pci ext2 ext3 serial" -MACHINE_EXTRA_RRECOMMENDS = "u-boot" +MACHINE_EXTRA_RRECOMMENDS = "u-boot udev-extraconf" PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq-sdk" PREFERRED_VERSION_virtual/kernel ?= "3.0.34"
conf/machine/e5500-64b.inc +1 -1
@@ -4,7 +4,7 @@ DEFAULTTUNE ?= "ppc64e5500" require conf/machine/include/tune-ppce5500.inc MACHINE_FEATURES = "kernel26 keyboard pci ext2 ext3 serial" -MACHINE_EXTRA_RRECOMMENDS = "u-boot" +MACHINE_EXTRA_RRECOMMENDS = "u-boot udev-extraconf" PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq-sdk" PREFERRED_VERSION_virtual/kernel ?= "3.0.34"
conf/machine/e5500.inc +1 -1
@@ -3,7 +3,7 @@ TARGET_FPU = "hard" require conf/machine/include/tune-ppce5500.inc MACHINE_FEATURES = "kernel26 keyboard pci ext2 ext3 serial" -MACHINE_EXTRA_RRECOMMENDS = "u-boot" +MACHINE_EXTRA_RRECOMMENDS = "u-boot udev-extraconf" PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq-sdk" PREFERRED_VERSION_virtual/kernel ?= "3.0.34"
conf/machine/e6500-64b.inc +1 -1
@@ -4,7 +4,7 @@ DEFAULTTUNE ?= "ppc64e6500" require conf/machine/include/tune-ppce6500.inc MACHINE_FEATURES = "kernel26 keyboard pci ext2 ext3 serial" -MACHINE_EXTRA_RRECOMMENDS = "u-boot" +MACHINE_EXTRA_RRECOMMENDS = "u-boot udev-extraconf" PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq-sdk" PREFERRED_VERSION_virtual/kernel ?= "3.0.34"
conf/machine/e6500.inc +1 -1
@@ -3,7 +3,7 @@ TARGET_FPU = "hard" require conf/machine/include/tune-ppce6500.inc MACHINE_FEATURES = "kernel26 keyboard pci ext2 ext3 serial" -MACHINE_EXTRA_RRECOMMENDS = "u-boot" +MACHINE_EXTRA_RRECOMMENDS = "u-boot udev-extraconf" PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq-sdk" PREFERRED_VERSION_virtual/kernel ?= "3.0.34"
Signature · 1 line
1.7.3.4
PATCH v4 8/8 udev-extraconf: add rule to rename network interfaces for t4/b4
In reply to [email protected]From: Ting Liu <[email protected]>
Since on FManv3 a MEMAC can be configured either as 1G or 10G, rename all interfaces on T4/B4 to "fmX-macY", with X in the range 1..2 and Y in the range 1..10.
--- .../72-fsl-dpaa-persistent-networking.rules | 21 ++++++++++++++++++++ recipes-core/udev/udev-extraconf_1.0.bbappend | 8 +++--- 2 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 recipes-core/udev/udev-extraconf/72-fsl-dpaa-persistent-networking.rules
recipes-core/udev/udev-extraconf/72-fsl-dpaa-persistent-networking.rules new file +21 -0
@@ -0,0 +1,21 @@ +# Rules for handling naming the DPAA FMan ethernet ports in a consistent way +SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe4e0000", NAME="fm1-mac1" +SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe4e2000", NAME="fm1-mac2" +SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe4e4000", NAME="fm1-mac3" +SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe4e6000", NAME="fm1-mac4" +SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe4e8000", NAME="fm1-mac5" +SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe4ea000", NAME="fm1-mac6" +SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe4ec000", NAME="fm1-mac7" +SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe4ee000", NAME="fm1-mac8" +SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe4f0000", NAME="fm1-mac9" +SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe4f2000", NAME="fm1-mac10" +SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe5e0000", NAME="fm2-mac1" +SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe5e2000", NAME="fm2-mac2" +SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe5e4000", NAME="fm2-mac3" +SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe5e6000", NAME="fm2-mac4" +SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe5e8000", NAME="fm2-mac5" +SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe5ea000", NAME="fm2-mac6" +SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe5ec000", NAME="fm2-mac7" +SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe5ee000", NAME="fm2-mac8" +SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe5f0000", NAME="fm2-mac9" +SUBSYSTEM=="net", DRIVERS=="fsl_dpa", ATTR{device_addr}=="ffe5f2000", NAME="fm2-mac10"
recipes-core/udev/udev-extraconf_1.0.bbappend +4 -4
@@ -1,11 +1,11 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/udev-extraconf:" +PRINC := "${@int(PRINC) + 2}" -PRINC := "${@int(PRINC) + 1}" - -SRC_URI_append = " file://71-fsl-dpaa-persistent-networking.rules" +SRC_URI_append = " file://${@bb.utils.contains("TUNE_FEATURES", "e6500", \ + "72-fsl-dpaa-persistent-networking.rules", "71-fsl-dpaa-persistent-networking.rules", d)}" do_install_append () { install -d ${D}${sysconfdir}/udev/rules.d/ - install -m 0644 ${WORKDIR}/71-fsl-dpaa-persistent-networking.rules ${D}${sysconfdir}/udev/rules.d + install -m 0644 ${WORKDIR}/*-fsl-dpaa-persistent-networking.rules ${D}${sysconfdir}/udev/rules.d }
Signature · 1 line
1.7.3.4