enable CONFIG_SYSFS_DEPRECATED_V until we have a modern userspace
S.Çağlar Onur [Wed, 8 Dec 2010 17:21:17 +0000 (12:21 -0500)]
Makefile
config-workarounds [new file with mode: 0644]

index e329d0c..354d00c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -86,10 +86,11 @@ trees: sources
 srpm: sources
        mkdir -p SOURCES SRPMS
        (cd SOURCES; rpm2cpio ../$(SOURCE_RPM) | cpio -diu; \
-        cp ../$(notdir $(SPECFILE)) . ; cp ../linux-*.patch .; cp ../config-vserver . ; cp ../config-planetlab .; \
+        cp ../$(notdir $(SPECFILE)) . ; cp ../linux-*.patch .; cp ../config-vserver . ; cp ../config-planetlab .; cp ../config-workarounds .; \
         for downloaded in $(SOURCEFILES) ; do cp ../$$downloaded . ; done ; \
         cat config-vserver >> config-generic ; \
         cat config-planetlab >> config-generic ; \
+        cat config-workarounds >> config-generic ; \
         sed -i -e s,CONFIG_IPV6=m,CONFIG_IPV6=y, config-generic ;\
         sed -e -e s,CONFIG_MODULE_SIG=y,CONFIG_MODULE_SIG=n, config-generic-rhel)
        ./rpmmacros.sh
diff --git a/config-workarounds b/config-workarounds
new file mode 100644 (file)
index 0000000..cb6bdf7
--- /dev/null
@@ -0,0 +1 @@
+CONFIG_SYSFS_DEPRECATED_V2=y