Skip to contentSkip to conversation

remove-net-rules: _remove is a new keyword now, sanitize the function name

PATCH In review Denys Dmytriyenko 2 participants 2 messages Sep 2, 2013 – Sep 3, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove-net-rules: _remove is a new keyword now, sanitize the function name

From: Denys Dmytriyenko <[email protected]>

---
 meta-arago-distro/classes/remove-net-rules.bbclass | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
meta-arago-distro/classes/remove-net-rules.bbclass +2 -3
index fcad9c7..2764f7b 100644
@@ -4,12 +4,11 @@
 # will allow moving SD cards between EVMs and similar boards such as
 # beaglebone and the EVM.
 
-ROOTFS_POSTPROCESS_COMMAND += "rootfs_remove_net_rules;"
+ROOTFS_POSTPROCESS_COMMAND += "rootfs_rm_net_rules;"
 
-rootfs_remove_net_rules () {
+rootfs_rm_net_rules () {
     if [ -e ${IMAGE_ROOTFS}/lib/udev/write_net_rules ]
     then
         rm ${IMAGE_ROOTFS}/lib/udev/write_net_rules
     fi
 }
-
Signature · 1 line
1.8.3.2
Acked-by on v1 1/1
#1 lore raw

Sincerely,
Chase Maupin
Integration Team Manager
Linux Core Product Development
e-mail: [email protected]
phone: (214) 567-2950

For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/

Quoted 43 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Monday, September 02, 2013 4:35 PM
To: [email protected]
Subject: [meta-arago] [PATCH] remove-net-rules: _remove is a new keyword now, sanitize the function name

From: Denys Dmytriyenko <[email protected]>

---
meta-arago-distro/classes/remove-net-rules.bbclass | 5 ++---

1 file changed, 2 insertions(+), 3 deletions(-)
meta-arago-distro/classes/remove-net-rules.bbclass +0 -0
index fcad9c7..2764f7b 100644
@@ -4,12 +4,11 @@
 # will allow moving SD cards between EVMs and similar boards such

as

# beaglebone and the EVM.
meta-arago-distro/classes/remove-net-rules.bbclass +2 -2
-ROOTFS_POSTPROCESS_COMMAND += "rootfs_remove_net_rules;"
+ROOTFS_POSTPROCESS_COMMAND += "rootfs_rm_net_rules;"
 
-rootfs_remove_net_rules () {
+rootfs_rm_net_rules () {
    if [ -e ${IMAGE_ROOTFS}/lib/udev/write_net_rules ]
    then
        rm ${IMAGE_ROOTFS}/lib/udev/write_net_rules
    fi

}
-
--
1.8.3.2

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