Accepting request 109625 from home:a_jaeger:my-factory-packages

Update version.h

OBS-URL: https://build.opensuse.org/request/show/109625
OBS-URL: https://build.opensuse.org/package/show/Base:System/linux-glibc-devel?expand=0&rev=47
This commit is contained in:
Andreas Jaeger 2012-03-16 11:40:16 +00:00 committed by Git OBS Bridge
parent cdef87a524
commit fc47645bfa
2 changed files with 21 additions and 14 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 16 08:28:51 UTC 2012 - aj@suse.de
- Update version.h text (bnc#751668).
-------------------------------------------------------------------
Thu Jan 5 15:15:12 CET 2012 - dmueller@suse.de

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
BuildRequires: fdupes
Name: linux-glibc-devel
@ -66,25 +67,26 @@ cat > version.h <<-BOGUS
#error "programs should not directly include <linux/*.h> or"
#error "<asm/*.h> as well."
#error ""
#error "To build kernel modules please do the following:"
#error "Since Linux 2.6, the kernel module build process has been"
#error "updated such that users building modules should not typically"
#error "need to specify additional include directories at all."
#error ""
#error " o Have the kernel sources installed"
#error "To build kernel modules, ensure you have the build environment "
#error "available either via the kernel-devel and kernel-<flavor>-devel "
#error "packages or a properly configured kernel source tree."
#error ""
#error " o Make sure that the symbolic link"
#error " /lib/modules/\`uname -r\`/build exists and points to"
#error " the matching kernel source directory"
#error "Then, modules can be built using:"
#error "make -C <path> M=$PWD"
#error ""
#error " o When compiling, make sure to use the following"
#error " compiler option to use the correct include files:"
#error "For the currently running kernel there will be a symbolic "
#error "link pointing to the build environment located at "
#error "/lib/modules/$(uname -r)/build for use as <path>."
#error ""
#error " -I/lib/modules/\`uname -r\`/build/include"
#error ""
#error " instead of"
#error ""
#error " -I/usr/include/linux"
#error "If you are seeing this message, your environment is "
#error "not configured properly. "
#error ""
#error "Please adjust the Makefile accordingly."
#error "======================================================="
#error "=======================================================
#else
BOGUS
# Get LINUX_VERSION_CODE and KERNEL_VERSION directly from kernel