[meta-arago][master][PATCH v2 3/5] remove-net-rules: Do not remove udev net rules

Andrew Davis <[email protected]>
Newsgroups org.yoctoproject.lists.meta-arago
Message-ID <[email protected]>
This isn't the issue it used to be, remove this bbclass.

Signed-off-by: Andrew Davis <[email protected]>
---
 meta-arago-distro/classes/remove-net-rules.bbclass | 14 --------------
 .../recipes-core/images/arago-image.inc            |  2 +-
 2 files changed, 1 insertion(+), 15 deletions(-)
 delete mode 100644 meta-arago-distro/classes/remove-net-rules.bbclass

diff --git a/meta-arago-distro/classes/remove-net-rules.bbclass b/meta-arago-distro/classes/remove-net-rules.bbclass
deleted file mode 100644
index 2764f7bb..00000000
--- a/meta-arago-distro/classes/remove-net-rules.bbclass
+++ /dev/null
@@ -1,14 +0,0 @@
-# Add a ROOTFS_POSTPROCESS_COMMAND that will strip the write_net_rules
-# executable from the file system.  This will prevent the
-# 70-persistent-net.rules from being created.  Not having this file
-# will allow moving SD cards between EVMs and similar boards such as
-# beaglebone and the EVM.
-
-ROOTFS_POSTPROCESS_COMMAND += "rootfs_rm_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
-}
diff --git a/meta-arago-distro/recipes-core/images/arago-image.inc b/meta-arago-distro/recipes-core/images/arago-image.inc
index f4f74310..c6e79118 100644
--- a/meta-arago-distro/recipes-core/images/arago-image.inc
+++ b/meta-arago-distro/recipes-core/images/arago-image.inc
@@ -24,4 +24,4 @@ BAD_RECOMMENDATIONS += " \
 "
 BAD_RECOMMENDATIONS += "${@oe.utils.conditional("INIT_MANAGER", "sysvinit", "", "busybox-syslog", d)}"
 
-inherit core-image remove-net-rules
+inherit core-image
-- 
2.39.2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.