summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/file/file-native_4.18.bb8
-rw-r--r--meta/packages/file/file/dump (renamed from meta/packages/file/files/dump)0
-rw-r--r--meta/packages/file/file/filesystems (renamed from meta/packages/file/files/filesystems)0
-rw-r--r--meta/packages/file/file/native-fix.diff (renamed from meta/packages/file/files/native-fix.diff)0
-rw-r--r--meta/packages/file/file_4.18.bb4
5 files changed, 4 insertions, 8 deletions
diff --git a/meta/packages/file/file-native_4.18.bb b/meta/packages/file/file-native_4.18.bb
deleted file mode 100644
index 63554b01f..000000000
--- a/meta/packages/file/file-native_4.18.bb
+++ /dev/null
@@ -1,8 +0,0 @@
-require file_${PV}.bb
-inherit native
-
-# avoid dependency loop
-DEPENDS = ""
-PR = "r1"
-
-SRC_URI += "file://native-fix.diff;patch=1"
diff --git a/meta/packages/file/files/dump b/meta/packages/file/file/dump
index 628ead86c..628ead86c 100644
--- a/meta/packages/file/files/dump
+++ b/meta/packages/file/file/dump
diff --git a/meta/packages/file/files/filesystems b/meta/packages/file/file/filesystems
index fd5073334..fd5073334 100644
--- a/meta/packages/file/files/filesystems
+++ b/meta/packages/file/file/filesystems
diff --git a/meta/packages/file/files/native-fix.diff b/meta/packages/file/file/native-fix.diff
index d17215a1b..d17215a1b 100644
--- a/meta/packages/file/files/native-fix.diff
+++ b/meta/packages/file/file/native-fix.diff
diff --git a/meta/packages/file/file_4.18.bb b/meta/packages/file/file_4.18.bb
index 6d2eed0cd..f5ed6e130 100644
--- a/meta/packages/file/file_4.18.bb
+++ b/meta/packages/file/file_4.18.bb
@@ -15,3 +15,7 @@ do_configure_prepend() {
cp ${WORKDIR}/dump ${S}/magic/Magdir/
cp ${WORKDIR}/filesystems ${S}/magic/Magdir/
}
+
+DEPENDS_virtclass-native = ""
+SRC_URI_append_virtclass-native = " file://native-fix.diff;patch=1"
+BBCLASSEXTEND = "native"