summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/insane.bbclass32
1 files changed, 32 insertions, 0 deletions
diff --git a/classes/insane.bbclass b/classes/insane.bbclass
new file mode 100644
index 0000000000..067fa64dff
--- /dev/null
+++ b/classes/insane.bbclass
@@ -0,0 +1,32 @@
+#
+# BB Class inspired by ebuild.sh
+#
+# As I will be copying code from from ebuild.sh this is
+# Copyright Gentoo Foundation 1999-2006
+# GPLv2
+#
+# This class will test files after installation for certain
+# security issues and other kind of issues.
+#
+# Checks we do:
+# -Check the ownership and permissions
+# -Check the RUNTIME path for the $TMPDIR
+#
+# Checks that are planned:
+# -Check installed and stages .la files
+
+
+#
+# We need to have the scanelf utility as soon as
+# possible.
+#
+DEPENDS_prepend = " pax-utilities-native "
+
+# We play a special package function
+inherit packages
+
+
+PACKAGEFUNCS += "do_package_qa"
+
+python do_package_qa () {
+}