Skip to contentSkip to conversation

gadget-init: replace RDEPENDS with RRECOMMENDS for recommended modules

PATCH In review Denys Dmytriyenko 2 participants 4 messages Sep 24, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 gadget-init: replace RDEPENDS with RRECOMMENDS for recommended modules

From: Denys Dmytriyenko <[email protected]>

---
 meta-arago-distro/recipes-tisdk/gadget-init/gadget-init.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-tisdk/gadget-init/gadget-init.bb +2 -2
index 34885c7..477f16a 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
 COMPATIBLE_MACHINE = "ti33x"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "file://init"
 
@@ -21,4 +21,4 @@ do_install() {
 }
 
 FILES_${PN} = "${sysconfdir} ${bindir}"
-RDEPENDS_${PN} += "kernel-module-g-ether kernel-module-g-mass-storage"
+RRECOMMENDS_${PN} += "kernel-module-g-ether kernel-module-g-mass-storage"
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 2/2 tisdk-image.bbclass: adjust to handle zImage along with uImage kernels

From: Denys Dmytriyenko <[email protected]>

---
 meta-arago-distro/classes/tisdk-image.bbclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-arago-distro/classes/tisdk-image.bbclass +3 -3
index 4397a70..c365eaa 100644
@@ -523,9 +523,9 @@ do_sdk_image () {
     fi
 
     # Copy the Kernel image if it exists
-    if [ -e ${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}.bin ]
+    if [ -e ${DEPLOY_DIR_IMAGE}/[uz]Image-${MACHINE}.bin ]
     then
-        cp ${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}.bin ${prebuilt_dir}/
+        cp ${DEPLOY_DIR_IMAGE}/[uz]Image-${MACHINE}.bin ${prebuilt_dir}/
     else
         echo "Could not find the Kernel image"
         return 1
@@ -539,7 +539,7 @@ do_sdk_image () {
     then
         for f in `find ${DEPLOY_DIR_IMAGE} -type l -name "*${DTB_FILTER}*.dtb"`
         do
-            dtb_file=`basename $f | sed s/uImage-//`
+            dtb_file=`basename $f | sed s/.Image-//`
             cp $f ${prebuilt_dir}/${dtb_file}
         done
     fi
Signature · 1 line
1.8.3.2
Acked-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] tisdk-image.bbclass: adjust to handle zImage along with uImage kernels

Quoted 51 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Tuesday, September 24, 2013 12:46 AM
To: [email protected]
Subject: [meta-arago] [PATCH 2/2] tisdk-image.bbclass: adjust to handle zImage along with uImage kernels

From: Denys Dmytriyenko <[email protected]>

---
meta-arago-distro/classes/tisdk-image.bbclass | 6 +++---

1 file changed, 3 insertions(+), 3 deletions(-)
meta- renamed from meta-arago-distro/classes/tisdk-image.bbclass +0 -0

arago-distro/classes/tisdk-image.bbclass
index 4397a70..c365eaa 100644

meta-arago-distro/classes/tisdk-image.bbclass +1 -2
@@ -523,9 +523,9 @@ do_sdk_image () {
    fi
 
    # Copy the Kernel image if it exists
-    if [ -e ${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}.bin ]
+    if [ -e ${DEPLOY_DIR_IMAGE}/[uz]Image-${MACHINE}.bin ]
    then
-        cp ${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}.bin

${prebuilt_dir}/
+ cp ${DEPLOY_DIR_IMAGE}/[uz]Image-${MACHINE}.bin
${prebuilt_dir}/
else
echo "Could not find the Kernel image"
return 1

meta-arago-distro/classes/tisdk-image.bbclass +0 -0
@@ -539,7 +539,7 @@ do_sdk_image () {
    then
        for f in `find ${DEPLOY_DIR_IMAGE} -type l -name

"*${DTB_FILTER}*.dtb"`
do

meta-arago-distro/classes/tisdk-image.bbclass +1 -2
-            dtb_file=`basename $f | sed s/uImage-//`
+            dtb_file=`basename $f | sed s/.Image-//`
            cp $f ${prebuilt_dir}/${dtb_file}
        done
    fi
--

1.8.3.2

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Acked-by on v1 1/2
#3 lore raw
In reply to Denys Dmytriyenko
Quoted 47 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Tuesday, September 24, 2013 12:46 AM
To: [email protected]
Subject: [meta-arago] [PATCH 1/2] gadget-init: replace RDEPENDS with RRECOMMENDS for recommended modules

From: Denys Dmytriyenko <[email protected]>

---
meta-arago-distro/recipes-tisdk/gadget-init/gadget-init.bb | 4
++--

1 file changed, 2 insertions(+), 2 deletions(-)
(quoted diff) +0 -0

init.bb b/meta-arago-distro/recipes-tisdk/gadget-init/gadget- init.bb
index 34885c7..477f16a 100644

meta-arago-distro/recipes-tisdk/gadget-init/gadget-init.bb +0 -0
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM =

"file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 COMPATIBLE_MACHINE = "ti33x"
PACKAGE_ARCH = "${MACHINE_ARCH}"

meta-arago-distro/recipes-tisdk/gadget-init/gadget-init.bb +1 -1
-PR = "r1"
+PR = "r2"

SRC_URI = "file://init"

meta-arago-distro/recipes-tisdk/gadget-init/gadget-init.bb +0 -0
@@ -21,4 +21,4 @@ do_install() {
 }
 

FILES_${PN} = "${sysconfdir} ${bindir}"
-RDEPENDS_${PN} += "kernel-module-g-ether kernel-module-g-mass- storage"
+RRECOMMENDS_${PN} += "kernel-module-g-ether kernel-module-g-mass- storage"
--
1.8.3.2

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago