commit 1d0217b9cacdacc3fc3267a226971137c44d7281

OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-source?expand=0&rev=7636
This commit is contained in:
Michal Marek 2013-10-05 06:01:30 +00:00 committed by Git OBS Bridge
parent 5fcd0c6dd6
commit 8b01ca98b4
31 changed files with 4111 additions and 2971 deletions

View File

@ -46,10 +46,10 @@
# Define some CONFIG variables as rpm macros as well. (rpm cannot handle
# defining them all at once.)
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_ENTERPRISE_SUPPORT CONFIG_EFI_STUB
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_SUSE_KERNEL_SUPPORTED CONFIG_EFI_STUB
%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)}
%define split_base (%CONFIG_SPLIT_PACKAGE == "y")
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_ENTERPRISE_SUPPORT == "y")
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_SUSE_KERNEL_SUPPORTED == "y")
%ifarch %ix86 x86_64
%define install_vdso 1
@ -240,16 +240,27 @@ fi
mkdir -p %kernel_build_dir
supported_conf() {
%_sourcedir/guards $* < %_sourcedir/supported.conf | \
sed 's,.*/,,; s,\.ko$,,' | sort -u
}
# Generate the list of modules to be marked as supported
{ supported_conf base
supported_conf --default=0 external | sed 's/$/ external/'
} > %kernel_build_dir/Module.supported
supported_conf --default=0 base >%kernel_build_dir/Module.base
# Generate a list of modules with their support status marking
%_sourcedir/guards --list --with-guards <%_sourcedir/supported.conf | \
awk '
/^\+(base|yes) / {
print $(NF);
next;
}
/^\+external / {
print $(NF) " external";
next;
}
/^[-+]/ {
print $(NF) " no";
next;
}
{
print $(NF);
}
' >%kernel_build_dir/Module.supported
%_sourcedir/guards --default=0 base < %_sourcedir/supported.conf | \
sed 's,.*/,,; s,\.ko$,,' | sort -u >%kernel_build_dir/Module.base
cd linux-%srcversion
@ -594,14 +605,6 @@ if [ %CONFIG_MODULES = y ]; then
make modules_install $MAKE_ARGS INSTALL_MOD_PATH=%buildroot
if ! %_sourcedir/check-supported-list \
%_sourcedir %buildroot/lib/modules/%kernelrelease-%build_flavor; then
%if %supported_modules_check
exit 1
%endif
echo "Consistency check error: please update supported.conf."
fi
%ifarch s390 s390x
if test -e arch/s390/boot/kerntypes.o; then
:
@ -654,10 +657,12 @@ if [ %CONFIG_MODULES = y ]; then
%_sourcedir/split-modules -d %buildroot \
-o %my_builddir \
-b %kernel_build_dir/Module.base \
%if ! %supported_modules_check
-i \
%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
-e \
%endif
%if ! %supported_modules_check
-i
%endif
-s %kernel_build_dir/Module.supported
%if ! %split_extra
cat %my_builddir/unsupported-modules >>%my_builddir/main-modules
%endif

View File

@ -1,3 +1,91 @@
-------------------------------------------------------------------
Fri Oct 4 20:14:16 CEST 2013 - bp@suse.de
- supported.conf: Remove IOMMU v2
This is only needed for HSA.
- commit 1d0217b
-------------------------------------------------------------------
Fri Oct 4 19:53:33 CEST 2013 - bp@suse.de
- supported.conf: Add a bunch of AMD-specific drivers to the list
+ sb_edac which people wanted since SLE11-SP2.
- commit 942c03a
-------------------------------------------------------------------
Fri Oct 4 19:41:56 CEST 2013 - bpoirier@suse.de
- supported.conf: update for network related modules
based on FATE#313655
+ drivers/net/ethernet/intel/i40e/i40e
vhost_net depends on vhost
+ drivers/vhost/vhost
nf_nat is now nf_nat_ipv4, _ipv6 was introduced in v3.7
- net/ipv4/netfilter/nf_nat
+ net/ipv4/netfilter/nf_nat_ipv4
+ net/ipv6/netfilter/nf_nat_ipv6
based on the rationale that we already package `ss` and support inet_diag:
+ net/ipv4/udp_diag
+ net/netlink/netlink_diag
+ net/packet/af_packet_diag
+ net/unix/unix_diag
- commit 07a54e6
-------------------------------------------------------------------
Fri Oct 4 17:04:15 CEST 2013 - mmarek@suse.cz
- supported.conf: Add newly requested drivers
- commit 199c169
-------------------------------------------------------------------
Fri Oct 4 14:53:01 CEST 2013 - mmarek@suse.cz
- supported.conf: More updates from SLE11-SP3
- commit 45bc81a
-------------------------------------------------------------------
Fri Oct 4 13:04:43 CEST 2013 - mmarek@suse.cz
- rpm/split-modules: Check module support only if the -extra package is requested
- commit add86bf
-------------------------------------------------------------------
Fri Oct 4 13:02:48 CEST 2013 - mmarek@suse.cz
- rpm/split-modules: Remove unused options
- commit 3736315
-------------------------------------------------------------------
Fri Oct 4 12:57:44 CEST 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix creating the kernel-*-extra package
CONFIG_ENTERPRISE_SUPPORT has been renamed to CONFIG_SUSE_KERNEL_SUPPORTED
- commit 9e5b6fe
-------------------------------------------------------------------
Fri Oct 4 11:48:44 CEST 2013 - mmarek@suse.cz
- supported.conf: Copy some missing changes from SLE11-SP3
- commit fdeb1a7
-------------------------------------------------------------------
Fri Oct 4 10:47:37 CEST 2013 - mmarek@suse.cz
- supported.conf: Remove the kernel/ prefix from module paths.
- commit 9649d9f
-------------------------------------------------------------------
Fri Oct 4 10:45:53 CEST 2013 - mmarek@suse.cz
- modpost: Allow wildcards in the Module.supported file.
- commit a464383
-------------------------------------------------------------------
Fri Oct 4 10:38:42 CEST 2013 - mmarek@suse.cz
- modpost: Fix matching of dashes and underscores in Module.supported (bnc#719090).
- commit cab1abc
-------------------------------------------------------------------
Thu Oct 3 17:25:25 CEST 2013 - mmarek@suse.cz
@ -4987,6 +5075,31 @@ Mon Sep 26 10:01:25 CEST 2011 - jeffm@suse.com
- Update to 3.1-rc7.
- commit ee8cc90
-------------------------------------------------------------------
Thu Sep 22 11:18:31 CEST 2011 - mmarek@suse.cz
- rpm/split-modules: Print the full path for modules missing in supported.conf
- commit e55e4c6
-------------------------------------------------------------------
Thu Sep 22 10:52:13 CEST 2011 - mmarek@suse.cz
- supported.conf: Fix stray line making net/atm/atm suddenly unsupported.
- commit 58dbd06
-------------------------------------------------------------------
Wed Sep 21 16:33:53 CEST 2011 - mmarek@suse.cz
- Add support for wildcards in supported.conf
- rpm/kernel-binary.spec.in: Generate Module.supported with all
lines from supported conf, unsupported modules are marked as "no"
- rpm/split-modules: Use the supported flag in modules, instead of
parsing the Module.supported file and report modules that have no
supported marking.
- rpm/check-supported-list: Delete, this is done by split-modules
now.
- commit edfdc2a
-------------------------------------------------------------------
Wed Sep 21 13:20:35 CEST 2011 - trenn@suse.de

View File

@ -39,17 +39,17 @@
%define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-obj
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,check-supported-list,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor
# Define some CONFIG variables as rpm macros as well. (rpm cannot handle
# defining them all at once.)
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_ENTERPRISE_SUPPORT CONFIG_EFI_STUB
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_SUSE_KERNEL_SUPPORTED CONFIG_EFI_STUB
%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)}
%define split_base (%CONFIG_SPLIT_PACKAGE == "y")
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_ENTERPRISE_SUPPORT == "y")
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_SUSE_KERNEL_SUPPORTED == "y")
%ifarch %ix86 x86_64
%define install_vdso 1
@ -61,7 +61,7 @@ Name: kernel-cubox
Summary: Kernel for SolidRun Cubox
Version: 3.12.rc3
%if 0%{?is_kotd}
Release: <RELEASE>.g468300e
Release: <RELEASE>.g1d0217b
%else
Release: 0
%endif
@ -161,7 +161,6 @@ Source17: apply-patches
Source21: config.conf
Source23: supported.conf
Source33: check-for-config-changes
Source34: check-supported-list
Source35: group-source-files.pl
Source37: README.SUSE
Source38: README.KSYMS
@ -317,16 +316,27 @@ fi
mkdir -p %kernel_build_dir
supported_conf() {
%_sourcedir/guards $* < %_sourcedir/supported.conf | \
sed 's,.*/,,; s,\.ko$,,' | sort -u
}
# Generate the list of modules to be marked as supported
{ supported_conf base
supported_conf --default=0 external | sed 's/$/ external/'
} > %kernel_build_dir/Module.supported
supported_conf --default=0 base >%kernel_build_dir/Module.base
# Generate a list of modules with their support status marking
%_sourcedir/guards --list --with-guards <%_sourcedir/supported.conf | \
awk '
/^\+(base|yes) / {
print $(NF);
next;
}
/^\+external / {
print $(NF) " external";
next;
}
/^[-+]/ {
print $(NF) " no";
next;
}
{
print $(NF);
}
' >%kernel_build_dir/Module.supported
%_sourcedir/guards --default=0 base < %_sourcedir/supported.conf | \
sed 's,.*/,,; s,\.ko$,,' | sort -u >%kernel_build_dir/Module.base
cd linux-%srcversion
@ -671,14 +681,6 @@ if [ %CONFIG_MODULES = y ]; then
make modules_install $MAKE_ARGS INSTALL_MOD_PATH=%buildroot
if ! %_sourcedir/check-supported-list \
%_sourcedir %buildroot/lib/modules/%kernelrelease-%build_flavor; then
%if %supported_modules_check
exit 1
%endif
echo "Consistency check error: please update supported.conf."
fi
%ifarch s390 s390x
if test -e arch/s390/boot/kerntypes.o; then
:
@ -731,10 +733,12 @@ if [ %CONFIG_MODULES = y ]; then
%_sourcedir/split-modules -d %buildroot \
-o %my_builddir \
-b %kernel_build_dir/Module.base \
%if ! %supported_modules_check
-i \
%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
-e \
%endif
%if ! %supported_modules_check
-i
%endif
-s %kernel_build_dir/Module.supported
%if ! %split_extra
cat %my_builddir/unsupported-modules >>%my_builddir/main-modules
%endif

View File

@ -1,3 +1,91 @@
-------------------------------------------------------------------
Fri Oct 4 20:14:16 CEST 2013 - bp@suse.de
- supported.conf: Remove IOMMU v2
This is only needed for HSA.
- commit 1d0217b
-------------------------------------------------------------------
Fri Oct 4 19:53:33 CEST 2013 - bp@suse.de
- supported.conf: Add a bunch of AMD-specific drivers to the list
+ sb_edac which people wanted since SLE11-SP2.
- commit 942c03a
-------------------------------------------------------------------
Fri Oct 4 19:41:56 CEST 2013 - bpoirier@suse.de
- supported.conf: update for network related modules
based on FATE#313655
+ drivers/net/ethernet/intel/i40e/i40e
vhost_net depends on vhost
+ drivers/vhost/vhost
nf_nat is now nf_nat_ipv4, _ipv6 was introduced in v3.7
- net/ipv4/netfilter/nf_nat
+ net/ipv4/netfilter/nf_nat_ipv4
+ net/ipv6/netfilter/nf_nat_ipv6
based on the rationale that we already package `ss` and support inet_diag:
+ net/ipv4/udp_diag
+ net/netlink/netlink_diag
+ net/packet/af_packet_diag
+ net/unix/unix_diag
- commit 07a54e6
-------------------------------------------------------------------
Fri Oct 4 17:04:15 CEST 2013 - mmarek@suse.cz
- supported.conf: Add newly requested drivers
- commit 199c169
-------------------------------------------------------------------
Fri Oct 4 14:53:01 CEST 2013 - mmarek@suse.cz
- supported.conf: More updates from SLE11-SP3
- commit 45bc81a
-------------------------------------------------------------------
Fri Oct 4 13:04:43 CEST 2013 - mmarek@suse.cz
- rpm/split-modules: Check module support only if the -extra package is requested
- commit add86bf
-------------------------------------------------------------------
Fri Oct 4 13:02:48 CEST 2013 - mmarek@suse.cz
- rpm/split-modules: Remove unused options
- commit 3736315
-------------------------------------------------------------------
Fri Oct 4 12:57:44 CEST 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix creating the kernel-*-extra package
CONFIG_ENTERPRISE_SUPPORT has been renamed to CONFIG_SUSE_KERNEL_SUPPORTED
- commit 9e5b6fe
-------------------------------------------------------------------
Fri Oct 4 11:48:44 CEST 2013 - mmarek@suse.cz
- supported.conf: Copy some missing changes from SLE11-SP3
- commit fdeb1a7
-------------------------------------------------------------------
Fri Oct 4 10:47:37 CEST 2013 - mmarek@suse.cz
- supported.conf: Remove the kernel/ prefix from module paths.
- commit 9649d9f
-------------------------------------------------------------------
Fri Oct 4 10:45:53 CEST 2013 - mmarek@suse.cz
- modpost: Allow wildcards in the Module.supported file.
- commit a464383
-------------------------------------------------------------------
Fri Oct 4 10:38:42 CEST 2013 - mmarek@suse.cz
- modpost: Fix matching of dashes and underscores in Module.supported (bnc#719090).
- commit cab1abc
-------------------------------------------------------------------
Thu Oct 3 17:25:25 CEST 2013 - mmarek@suse.cz
@ -4987,6 +5075,31 @@ Mon Sep 26 10:01:25 CEST 2011 - jeffm@suse.com
- Update to 3.1-rc7.
- commit ee8cc90
-------------------------------------------------------------------
Thu Sep 22 11:18:31 CEST 2011 - mmarek@suse.cz
- rpm/split-modules: Print the full path for modules missing in supported.conf
- commit e55e4c6
-------------------------------------------------------------------
Thu Sep 22 10:52:13 CEST 2011 - mmarek@suse.cz
- supported.conf: Fix stray line making net/atm/atm suddenly unsupported.
- commit 58dbd06
-------------------------------------------------------------------
Wed Sep 21 16:33:53 CEST 2011 - mmarek@suse.cz
- Add support for wildcards in supported.conf
- rpm/kernel-binary.spec.in: Generate Module.supported with all
lines from supported conf, unsupported modules are marked as "no"
- rpm/split-modules: Use the supported flag in modules, instead of
parsing the Module.supported file and report modules that have no
supported marking.
- rpm/check-supported-list: Delete, this is done by split-modules
now.
- commit edfdc2a
-------------------------------------------------------------------
Wed Sep 21 13:20:35 CEST 2011 - trenn@suse.de

View File

@ -39,17 +39,17 @@
%define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-obj
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,check-supported-list,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor
# Define some CONFIG variables as rpm macros as well. (rpm cannot handle
# defining them all at once.)
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_ENTERPRISE_SUPPORT CONFIG_EFI_STUB
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_SUSE_KERNEL_SUPPORTED CONFIG_EFI_STUB
%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)}
%define split_base (%CONFIG_SPLIT_PACKAGE == "y")
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_ENTERPRISE_SUPPORT == "y")
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_SUSE_KERNEL_SUPPORTED == "y")
%ifarch %ix86 x86_64
%define install_vdso 1
@ -61,7 +61,7 @@ Name: kernel-debug
Summary: A Debug Version of the Kernel
Version: 3.12.rc3
%if 0%{?is_kotd}
Release: <RELEASE>.g468300e
Release: <RELEASE>.g1d0217b
%else
Release: 0
%endif
@ -164,7 +164,6 @@ Source17: apply-patches
Source21: config.conf
Source23: supported.conf
Source33: check-for-config-changes
Source34: check-supported-list
Source35: group-source-files.pl
Source37: README.SUSE
Source38: README.KSYMS
@ -320,16 +319,27 @@ fi
mkdir -p %kernel_build_dir
supported_conf() {
%_sourcedir/guards $* < %_sourcedir/supported.conf | \
sed 's,.*/,,; s,\.ko$,,' | sort -u
}
# Generate the list of modules to be marked as supported
{ supported_conf base
supported_conf --default=0 external | sed 's/$/ external/'
} > %kernel_build_dir/Module.supported
supported_conf --default=0 base >%kernel_build_dir/Module.base
# Generate a list of modules with their support status marking
%_sourcedir/guards --list --with-guards <%_sourcedir/supported.conf | \
awk '
/^\+(base|yes) / {
print $(NF);
next;
}
/^\+external / {
print $(NF) " external";
next;
}
/^[-+]/ {
print $(NF) " no";
next;
}
{
print $(NF);
}
' >%kernel_build_dir/Module.supported
%_sourcedir/guards --default=0 base < %_sourcedir/supported.conf | \
sed 's,.*/,,; s,\.ko$,,' | sort -u >%kernel_build_dir/Module.base
cd linux-%srcversion
@ -674,14 +684,6 @@ if [ %CONFIG_MODULES = y ]; then
make modules_install $MAKE_ARGS INSTALL_MOD_PATH=%buildroot
if ! %_sourcedir/check-supported-list \
%_sourcedir %buildroot/lib/modules/%kernelrelease-%build_flavor; then
%if %supported_modules_check
exit 1
%endif
echo "Consistency check error: please update supported.conf."
fi
%ifarch s390 s390x
if test -e arch/s390/boot/kerntypes.o; then
:
@ -734,10 +736,12 @@ if [ %CONFIG_MODULES = y ]; then
%_sourcedir/split-modules -d %buildroot \
-o %my_builddir \
-b %kernel_build_dir/Module.base \
%if ! %supported_modules_check
-i \
%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
-e \
%endif
%if ! %supported_modules_check
-i
%endif
-s %kernel_build_dir/Module.supported
%if ! %split_extra
cat %my_builddir/unsupported-modules >>%my_builddir/main-modules
%endif

View File

@ -1,3 +1,91 @@
-------------------------------------------------------------------
Fri Oct 4 20:14:16 CEST 2013 - bp@suse.de
- supported.conf: Remove IOMMU v2
This is only needed for HSA.
- commit 1d0217b
-------------------------------------------------------------------
Fri Oct 4 19:53:33 CEST 2013 - bp@suse.de
- supported.conf: Add a bunch of AMD-specific drivers to the list
+ sb_edac which people wanted since SLE11-SP2.
- commit 942c03a
-------------------------------------------------------------------
Fri Oct 4 19:41:56 CEST 2013 - bpoirier@suse.de
- supported.conf: update for network related modules
based on FATE#313655
+ drivers/net/ethernet/intel/i40e/i40e
vhost_net depends on vhost
+ drivers/vhost/vhost
nf_nat is now nf_nat_ipv4, _ipv6 was introduced in v3.7
- net/ipv4/netfilter/nf_nat
+ net/ipv4/netfilter/nf_nat_ipv4
+ net/ipv6/netfilter/nf_nat_ipv6
based on the rationale that we already package `ss` and support inet_diag:
+ net/ipv4/udp_diag
+ net/netlink/netlink_diag
+ net/packet/af_packet_diag
+ net/unix/unix_diag
- commit 07a54e6
-------------------------------------------------------------------
Fri Oct 4 17:04:15 CEST 2013 - mmarek@suse.cz
- supported.conf: Add newly requested drivers
- commit 199c169
-------------------------------------------------------------------
Fri Oct 4 14:53:01 CEST 2013 - mmarek@suse.cz
- supported.conf: More updates from SLE11-SP3
- commit 45bc81a
-------------------------------------------------------------------
Fri Oct 4 13:04:43 CEST 2013 - mmarek@suse.cz
- rpm/split-modules: Check module support only if the -extra package is requested
- commit add86bf
-------------------------------------------------------------------
Fri Oct 4 13:02:48 CEST 2013 - mmarek@suse.cz
- rpm/split-modules: Remove unused options
- commit 3736315
-------------------------------------------------------------------
Fri Oct 4 12:57:44 CEST 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix creating the kernel-*-extra package
CONFIG_ENTERPRISE_SUPPORT has been renamed to CONFIG_SUSE_KERNEL_SUPPORTED
- commit 9e5b6fe
-------------------------------------------------------------------
Fri Oct 4 11:48:44 CEST 2013 - mmarek@suse.cz
- supported.conf: Copy some missing changes from SLE11-SP3
- commit fdeb1a7
-------------------------------------------------------------------
Fri Oct 4 10:47:37 CEST 2013 - mmarek@suse.cz
- supported.conf: Remove the kernel/ prefix from module paths.
- commit 9649d9f
-------------------------------------------------------------------
Fri Oct 4 10:45:53 CEST 2013 - mmarek@suse.cz
- modpost: Allow wildcards in the Module.supported file.
- commit a464383
-------------------------------------------------------------------
Fri Oct 4 10:38:42 CEST 2013 - mmarek@suse.cz
- modpost: Fix matching of dashes and underscores in Module.supported (bnc#719090).
- commit cab1abc
-------------------------------------------------------------------
Thu Oct 3 17:25:25 CEST 2013 - mmarek@suse.cz
@ -4987,6 +5075,31 @@ Mon Sep 26 10:01:25 CEST 2011 - jeffm@suse.com
- Update to 3.1-rc7.
- commit ee8cc90
-------------------------------------------------------------------
Thu Sep 22 11:18:31 CEST 2011 - mmarek@suse.cz
- rpm/split-modules: Print the full path for modules missing in supported.conf
- commit e55e4c6
-------------------------------------------------------------------
Thu Sep 22 10:52:13 CEST 2011 - mmarek@suse.cz
- supported.conf: Fix stray line making net/atm/atm suddenly unsupported.
- commit 58dbd06
-------------------------------------------------------------------
Wed Sep 21 16:33:53 CEST 2011 - mmarek@suse.cz
- Add support for wildcards in supported.conf
- rpm/kernel-binary.spec.in: Generate Module.supported with all
lines from supported conf, unsupported modules are marked as "no"
- rpm/split-modules: Use the supported flag in modules, instead of
parsing the Module.supported file and report modules that have no
supported marking.
- rpm/check-supported-list: Delete, this is done by split-modules
now.
- commit edfdc2a
-------------------------------------------------------------------
Wed Sep 21 13:20:35 CEST 2011 - trenn@suse.de

View File

@ -39,17 +39,17 @@
%define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-obj
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,check-supported-list,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor
# Define some CONFIG variables as rpm macros as well. (rpm cannot handle
# defining them all at once.)
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_ENTERPRISE_SUPPORT CONFIG_EFI_STUB
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_SUSE_KERNEL_SUPPORTED CONFIG_EFI_STUB
%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)}
%define split_base (%CONFIG_SPLIT_PACKAGE == "y")
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_ENTERPRISE_SUPPORT == "y")
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_SUSE_KERNEL_SUPPORTED == "y")
%ifarch %ix86 x86_64
%define install_vdso 1
@ -61,7 +61,7 @@ Name: kernel-default
Summary: The Standard Kernel
Version: 3.12.rc3
%if 0%{?is_kotd}
Release: <RELEASE>.g468300e
Release: <RELEASE>.g1d0217b
%else
Release: 0
%endif
@ -176,7 +176,6 @@ Source17: apply-patches
Source21: config.conf
Source23: supported.conf
Source33: check-for-config-changes
Source34: check-supported-list
Source35: group-source-files.pl
Source37: README.SUSE
Source38: README.KSYMS
@ -331,16 +330,27 @@ fi
mkdir -p %kernel_build_dir
supported_conf() {
%_sourcedir/guards $* < %_sourcedir/supported.conf | \
sed 's,.*/,,; s,\.ko$,,' | sort -u
}
# Generate the list of modules to be marked as supported
{ supported_conf base
supported_conf --default=0 external | sed 's/$/ external/'
} > %kernel_build_dir/Module.supported
supported_conf --default=0 base >%kernel_build_dir/Module.base
# Generate a list of modules with their support status marking
%_sourcedir/guards --list --with-guards <%_sourcedir/supported.conf | \
awk '
/^\+(base|yes) / {
print $(NF);
next;
}
/^\+external / {
print $(NF) " external";
next;
}
/^[-+]/ {
print $(NF) " no";
next;
}
{
print $(NF);
}
' >%kernel_build_dir/Module.supported
%_sourcedir/guards --default=0 base < %_sourcedir/supported.conf | \
sed 's,.*/,,; s,\.ko$,,' | sort -u >%kernel_build_dir/Module.base
cd linux-%srcversion
@ -685,14 +695,6 @@ if [ %CONFIG_MODULES = y ]; then
make modules_install $MAKE_ARGS INSTALL_MOD_PATH=%buildroot
if ! %_sourcedir/check-supported-list \
%_sourcedir %buildroot/lib/modules/%kernelrelease-%build_flavor; then
%if %supported_modules_check
exit 1
%endif
echo "Consistency check error: please update supported.conf."
fi
%ifarch s390 s390x
if test -e arch/s390/boot/kerntypes.o; then
:
@ -745,10 +747,12 @@ if [ %CONFIG_MODULES = y ]; then
%_sourcedir/split-modules -d %buildroot \
-o %my_builddir \
-b %kernel_build_dir/Module.base \
%if ! %supported_modules_check
-i \
%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
-e \
%endif
%if ! %supported_modules_check
-i
%endif
-s %kernel_build_dir/Module.supported
%if ! %split_extra
cat %my_builddir/unsupported-modules >>%my_builddir/main-modules
%endif

View File

@ -1,3 +1,91 @@
-------------------------------------------------------------------
Fri Oct 4 20:14:16 CEST 2013 - bp@suse.de
- supported.conf: Remove IOMMU v2
This is only needed for HSA.
- commit 1d0217b
-------------------------------------------------------------------
Fri Oct 4 19:53:33 CEST 2013 - bp@suse.de
- supported.conf: Add a bunch of AMD-specific drivers to the list
+ sb_edac which people wanted since SLE11-SP2.
- commit 942c03a
-------------------------------------------------------------------
Fri Oct 4 19:41:56 CEST 2013 - bpoirier@suse.de
- supported.conf: update for network related modules
based on FATE#313655
+ drivers/net/ethernet/intel/i40e/i40e
vhost_net depends on vhost
+ drivers/vhost/vhost
nf_nat is now nf_nat_ipv4, _ipv6 was introduced in v3.7
- net/ipv4/netfilter/nf_nat
+ net/ipv4/netfilter/nf_nat_ipv4
+ net/ipv6/netfilter/nf_nat_ipv6
based on the rationale that we already package `ss` and support inet_diag:
+ net/ipv4/udp_diag
+ net/netlink/netlink_diag
+ net/packet/af_packet_diag
+ net/unix/unix_diag
- commit 07a54e6
-------------------------------------------------------------------
Fri Oct 4 17:04:15 CEST 2013 - mmarek@suse.cz
- supported.conf: Add newly requested drivers
- commit 199c169
-------------------------------------------------------------------
Fri Oct 4 14:53:01 CEST 2013 - mmarek@suse.cz
- supported.conf: More updates from SLE11-SP3
- commit 45bc81a
-------------------------------------------------------------------
Fri Oct 4 13:04:43 CEST 2013 - mmarek@suse.cz
- rpm/split-modules: Check module support only if the -extra package is requested
- commit add86bf
-------------------------------------------------------------------
Fri Oct 4 13:02:48 CEST 2013 - mmarek@suse.cz
- rpm/split-modules: Remove unused options
- commit 3736315
-------------------------------------------------------------------
Fri Oct 4 12:57:44 CEST 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix creating the kernel-*-extra package
CONFIG_ENTERPRISE_SUPPORT has been renamed to CONFIG_SUSE_KERNEL_SUPPORTED
- commit 9e5b6fe
-------------------------------------------------------------------
Fri Oct 4 11:48:44 CEST 2013 - mmarek@suse.cz
- supported.conf: Copy some missing changes from SLE11-SP3
- commit fdeb1a7
-------------------------------------------------------------------
Fri Oct 4 10:47:37 CEST 2013 - mmarek@suse.cz
- supported.conf: Remove the kernel/ prefix from module paths.
- commit 9649d9f
-------------------------------------------------------------------
Fri Oct 4 10:45:53 CEST 2013 - mmarek@suse.cz
- modpost: Allow wildcards in the Module.supported file.
- commit a464383
-------------------------------------------------------------------
Fri Oct 4 10:38:42 CEST 2013 - mmarek@suse.cz
- modpost: Fix matching of dashes and underscores in Module.supported (bnc#719090).
- commit cab1abc
-------------------------------------------------------------------
Thu Oct 3 17:25:25 CEST 2013 - mmarek@suse.cz
@ -4987,6 +5075,31 @@ Mon Sep 26 10:01:25 CEST 2011 - jeffm@suse.com
- Update to 3.1-rc7.
- commit ee8cc90
-------------------------------------------------------------------
Thu Sep 22 11:18:31 CEST 2011 - mmarek@suse.cz
- rpm/split-modules: Print the full path for modules missing in supported.conf
- commit e55e4c6
-------------------------------------------------------------------
Thu Sep 22 10:52:13 CEST 2011 - mmarek@suse.cz
- supported.conf: Fix stray line making net/atm/atm suddenly unsupported.
- commit 58dbd06
-------------------------------------------------------------------
Wed Sep 21 16:33:53 CEST 2011 - mmarek@suse.cz
- Add support for wildcards in supported.conf
- rpm/kernel-binary.spec.in: Generate Module.supported with all
lines from supported conf, unsupported modules are marked as "no"
- rpm/split-modules: Use the supported flag in modules, instead of
parsing the Module.supported file and report modules that have no
supported marking.
- rpm/check-supported-list: Delete, this is done by split-modules
now.
- commit edfdc2a
-------------------------------------------------------------------
Wed Sep 21 13:20:35 CEST 2011 - trenn@suse.de

View File

@ -39,17 +39,17 @@
%define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-obj
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,check-supported-list,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor
# Define some CONFIG variables as rpm macros as well. (rpm cannot handle
# defining them all at once.)
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_ENTERPRISE_SUPPORT CONFIG_EFI_STUB
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_SUSE_KERNEL_SUPPORTED CONFIG_EFI_STUB
%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)}
%define split_base (%CONFIG_SPLIT_PACKAGE == "y")
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_ENTERPRISE_SUPPORT == "y")
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_SUSE_KERNEL_SUPPORTED == "y")
%ifarch %ix86 x86_64
%define install_vdso 1
@ -61,7 +61,7 @@ Name: kernel-desktop
Summary: Kernel optimized for the desktop
Version: 3.12.rc3
%if 0%{?is_kotd}
Release: <RELEASE>.g468300e
Release: <RELEASE>.g1d0217b
%else
Release: 0
%endif
@ -161,7 +161,6 @@ Source17: apply-patches
Source21: config.conf
Source23: supported.conf
Source33: check-for-config-changes
Source34: check-supported-list
Source35: group-source-files.pl
Source37: README.SUSE
Source38: README.KSYMS
@ -329,16 +328,27 @@ fi
mkdir -p %kernel_build_dir
supported_conf() {
%_sourcedir/guards $* < %_sourcedir/supported.conf | \
sed 's,.*/,,; s,\.ko$,,' | sort -u
}
# Generate the list of modules to be marked as supported
{ supported_conf base
supported_conf --default=0 external | sed 's/$/ external/'
} > %kernel_build_dir/Module.supported
supported_conf --default=0 base >%kernel_build_dir/Module.base
# Generate a list of modules with their support status marking
%_sourcedir/guards --list --with-guards <%_sourcedir/supported.conf | \
awk '
/^\+(base|yes) / {
print $(NF);
next;
}
/^\+external / {
print $(NF) " external";
next;
}
/^[-+]/ {
print $(NF) " no";
next;
}
{
print $(NF);
}
' >%kernel_build_dir/Module.supported
%_sourcedir/guards --default=0 base < %_sourcedir/supported.conf | \
sed 's,.*/,,; s,\.ko$,,' | sort -u >%kernel_build_dir/Module.base
cd linux-%srcversion
@ -683,14 +693,6 @@ if [ %CONFIG_MODULES = y ]; then
make modules_install $MAKE_ARGS INSTALL_MOD_PATH=%buildroot
if ! %_sourcedir/check-supported-list \
%_sourcedir %buildroot/lib/modules/%kernelrelease-%build_flavor; then
%if %supported_modules_check
exit 1
%endif
echo "Consistency check error: please update supported.conf."
fi
%ifarch s390 s390x
if test -e arch/s390/boot/kerntypes.o; then
:
@ -743,10 +745,12 @@ if [ %CONFIG_MODULES = y ]; then
%_sourcedir/split-modules -d %buildroot \
-o %my_builddir \
-b %kernel_build_dir/Module.base \
%if ! %supported_modules_check
-i \
%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
-e \
%endif
%if ! %supported_modules_check
-i
%endif
-s %kernel_build_dir/Module.supported
%if ! %split_extra
cat %my_builddir/unsupported-modules >>%my_builddir/main-modules
%endif

View File

@ -1,3 +1,91 @@
-------------------------------------------------------------------
Fri Oct 4 20:14:16 CEST 2013 - bp@suse.de
- supported.conf: Remove IOMMU v2
This is only needed for HSA.
- commit 1d0217b
-------------------------------------------------------------------
Fri Oct 4 19:53:33 CEST 2013 - bp@suse.de
- supported.conf: Add a bunch of AMD-specific drivers to the list
+ sb_edac which people wanted since SLE11-SP2.
- commit 942c03a
-------------------------------------------------------------------
Fri Oct 4 19:41:56 CEST 2013 - bpoirier@suse.de
- supported.conf: update for network related modules
based on FATE#313655
+ drivers/net/ethernet/intel/i40e/i40e
vhost_net depends on vhost
+ drivers/vhost/vhost
nf_nat is now nf_nat_ipv4, _ipv6 was introduced in v3.7
- net/ipv4/netfilter/nf_nat
+ net/ipv4/netfilter/nf_nat_ipv4
+ net/ipv6/netfilter/nf_nat_ipv6
based on the rationale that we already package `ss` and support inet_diag:
+ net/ipv4/udp_diag
+ net/netlink/netlink_diag
+ net/packet/af_packet_diag
+ net/unix/unix_diag
- commit 07a54e6
-------------------------------------------------------------------
Fri Oct 4 17:04:15 CEST 2013 - mmarek@suse.cz
- supported.conf: Add newly requested drivers
- commit 199c169
-------------------------------------------------------------------
Fri Oct 4 14:53:01 CEST 2013 - mmarek@suse.cz
- supported.conf: More updates from SLE11-SP3
- commit 45bc81a
-------------------------------------------------------------------
Fri Oct 4 13:04:43 CEST 2013 - mmarek@suse.cz
- rpm/split-modules: Check module support only if the -extra package is requested
- commit add86bf
-------------------------------------------------------------------
Fri Oct 4 13:02:48 CEST 2013 - mmarek@suse.cz
- rpm/split-modules: Remove unused options
- commit 3736315
-------------------------------------------------------------------
Fri Oct 4 12:57:44 CEST 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix creating the kernel-*-extra package
CONFIG_ENTERPRISE_SUPPORT has been renamed to CONFIG_SUSE_KERNEL_SUPPORTED
- commit 9e5b6fe
-------------------------------------------------------------------
Fri Oct 4 11:48:44 CEST 2013 - mmarek@suse.cz
- supported.conf: Copy some missing changes from SLE11-SP3
- commit fdeb1a7
-------------------------------------------------------------------
Fri Oct 4 10:47:37 CEST 2013 - mmarek@suse.cz
- supported.conf: Remove the kernel/ prefix from module paths.
- commit 9649d9f
-------------------------------------------------------------------
Fri Oct 4 10:45:53 CEST 2013 - mmarek@suse.cz
- modpost: Allow wildcards in the Module.supported file.
- commit a464383
-------------------------------------------------------------------
Fri Oct 4 10:38:42 CEST 2013 - mmarek@suse.cz
- modpost: Fix matching of dashes and underscores in Module.supported (bnc#719090).
- commit cab1abc
-------------------------------------------------------------------
Thu Oct 3 17:25:25 CEST 2013 - mmarek@suse.cz
@ -4987,6 +5075,31 @@ Mon Sep 26 10:01:25 CEST 2011 - jeffm@suse.com
- Update to 3.1-rc7.
- commit ee8cc90
-------------------------------------------------------------------
Thu Sep 22 11:18:31 CEST 2011 - mmarek@suse.cz
- rpm/split-modules: Print the full path for modules missing in supported.conf
- commit e55e4c6
-------------------------------------------------------------------
Thu Sep 22 10:52:13 CEST 2011 - mmarek@suse.cz
- supported.conf: Fix stray line making net/atm/atm suddenly unsupported.
- commit 58dbd06
-------------------------------------------------------------------
Wed Sep 21 16:33:53 CEST 2011 - mmarek@suse.cz
- Add support for wildcards in supported.conf
- rpm/kernel-binary.spec.in: Generate Module.supported with all
lines from supported conf, unsupported modules are marked as "no"
- rpm/split-modules: Use the supported flag in modules, instead of
parsing the Module.supported file and report modules that have no
supported marking.
- rpm/check-supported-list: Delete, this is done by split-modules
now.
- commit edfdc2a
-------------------------------------------------------------------
Wed Sep 21 13:20:35 CEST 2011 - trenn@suse.de

View File

@ -26,7 +26,7 @@ Name: kernel-docs
Summary: Kernel Documentation
Version: 3.12.rc3
%if 0%{?is_kotd}
Release: <RELEASE>.g468300e
Release: <RELEASE>.g1d0217b
%else
Release: 0
%endif

View File

@ -1,3 +1,91 @@
-------------------------------------------------------------------
Fri Oct 4 20:14:16 CEST 2013 - bp@suse.de
- supported.conf: Remove IOMMU v2
This is only needed for HSA.
- commit 1d0217b
-------------------------------------------------------------------
Fri Oct 4 19:53:33 CEST 2013 - bp@suse.de
- supported.conf: Add a bunch of AMD-specific drivers to the list
+ sb_edac which people wanted since SLE11-SP2.
- commit 942c03a
-------------------------------------------------------------------
Fri Oct 4 19:41:56 CEST 2013 - bpoirier@suse.de
- supported.conf: update for network related modules
based on FATE#313655
+ drivers/net/ethernet/intel/i40e/i40e
vhost_net depends on vhost
+ drivers/vhost/vhost
nf_nat is now nf_nat_ipv4, _ipv6 was introduced in v3.7
- net/ipv4/netfilter/nf_nat
+ net/ipv4/netfilter/nf_nat_ipv4
+ net/ipv6/netfilter/nf_nat_ipv6
based on the rationale that we already package `ss` and support inet_diag:
+ net/ipv4/udp_diag
+ net/netlink/netlink_diag
+ net/packet/af_packet_diag
+ net/unix/unix_diag
- commit 07a54e6
-------------------------------------------------------------------
Fri Oct 4 17:04:15 CEST 2013 - mmarek@suse.cz
- supported.conf: Add newly requested drivers
- commit 199c169
-------------------------------------------------------------------
Fri Oct 4 14:53:01 CEST 2013 - mmarek@suse.cz
- supported.conf: More updates from SLE11-SP3
- commit 45bc81a
-------------------------------------------------------------------
Fri Oct 4 13:04:43 CEST 2013 - mmarek@suse.cz
- rpm/split-modules: Check module support only if the -extra package is requested
- commit add86bf
-------------------------------------------------------------------
Fri Oct 4 13:02:48 CEST 2013 - mmarek@suse.cz
- rpm/split-modules: Remove unused options
- commit 3736315
-------------------------------------------------------------------
Fri Oct 4 12:57:44 CEST 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix creating the kernel-*-extra package
CONFIG_ENTERPRISE_SUPPORT has been renamed to CONFIG_SUSE_KERNEL_SUPPORTED
- commit 9e5b6fe
-------------------------------------------------------------------
Fri Oct 4 11:48:44 CEST 2013 - mmarek@suse.cz
- supported.conf: Copy some missing changes from SLE11-SP3
- commit fdeb1a7
-------------------------------------------------------------------
Fri Oct 4 10:47:37 CEST 2013 - mmarek@suse.cz
- supported.conf: Remove the kernel/ prefix from module paths.
- commit 9649d9f
-------------------------------------------------------------------
Fri Oct 4 10:45:53 CEST 2013 - mmarek@suse.cz
- modpost: Allow wildcards in the Module.supported file.
- commit a464383
-------------------------------------------------------------------
Fri Oct 4 10:38:42 CEST 2013 - mmarek@suse.cz
- modpost: Fix matching of dashes and underscores in Module.supported (bnc#719090).
- commit cab1abc
-------------------------------------------------------------------
Thu Oct 3 17:25:25 CEST 2013 - mmarek@suse.cz
@ -4987,6 +5075,31 @@ Mon Sep 26 10:01:25 CEST 2011 - jeffm@suse.com
- Update to 3.1-rc7.
- commit ee8cc90
-------------------------------------------------------------------
Thu Sep 22 11:18:31 CEST 2011 - mmarek@suse.cz
- rpm/split-modules: Print the full path for modules missing in supported.conf
- commit e55e4c6
-------------------------------------------------------------------
Thu Sep 22 10:52:13 CEST 2011 - mmarek@suse.cz
- supported.conf: Fix stray line making net/atm/atm suddenly unsupported.
- commit 58dbd06
-------------------------------------------------------------------
Wed Sep 21 16:33:53 CEST 2011 - mmarek@suse.cz
- Add support for wildcards in supported.conf
- rpm/kernel-binary.spec.in: Generate Module.supported with all
lines from supported conf, unsupported modules are marked as "no"
- rpm/split-modules: Use the supported flag in modules, instead of
parsing the Module.supported file and report modules that have no
supported marking.
- rpm/check-supported-list: Delete, this is done by split-modules
now.
- commit edfdc2a
-------------------------------------------------------------------
Wed Sep 21 13:20:35 CEST 2011 - trenn@suse.de

View File

@ -39,17 +39,17 @@
%define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-obj
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,check-supported-list,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor
# Define some CONFIG variables as rpm macros as well. (rpm cannot handle
# defining them all at once.)
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_ENTERPRISE_SUPPORT CONFIG_EFI_STUB
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_SUSE_KERNEL_SUPPORTED CONFIG_EFI_STUB
%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)}
%define split_base (%CONFIG_SPLIT_PACKAGE == "y")
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_ENTERPRISE_SUPPORT == "y")
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_SUSE_KERNEL_SUPPORTED == "y")
%ifarch %ix86 x86_64
%define install_vdso 1
@ -61,7 +61,7 @@ Name: kernel-exynos
Summary: Kernel for Samsung's Exynos SoC
Version: 3.12.rc3
%if 0%{?is_kotd}
Release: <RELEASE>.g468300e
Release: <RELEASE>.g1d0217b
%else
Release: 0
%endif
@ -161,7 +161,6 @@ Source17: apply-patches
Source21: config.conf
Source23: supported.conf
Source33: check-for-config-changes
Source34: check-supported-list
Source35: group-source-files.pl
Source37: README.SUSE
Source38: README.KSYMS
@ -316,16 +315,27 @@ fi
mkdir -p %kernel_build_dir
supported_conf() {
%_sourcedir/guards $* < %_sourcedir/supported.conf | \
sed 's,.*/,,; s,\.ko$,,' | sort -u
}
# Generate the list of modules to be marked as supported
{ supported_conf base
supported_conf --default=0 external | sed 's/$/ external/'
} > %kernel_build_dir/Module.supported
supported_conf --default=0 base >%kernel_build_dir/Module.base
# Generate a list of modules with their support status marking
%_sourcedir/guards --list --with-guards <%_sourcedir/supported.conf | \
awk '
/^\+(base|yes) / {
print $(NF);
next;
}
/^\+external / {
print $(NF) " external";
next;
}
/^[-+]/ {
print $(NF) " no";
next;
}
{
print $(NF);
}
' >%kernel_build_dir/Module.supported
%_sourcedir/guards --default=0 base < %_sourcedir/supported.conf | \
sed 's,.*/,,; s,\.ko$,,' | sort -u >%kernel_build_dir/Module.base
cd linux-%srcversion
@ -670,14 +680,6 @@ if [ %CONFIG_MODULES = y ]; then
make modules_install $MAKE_ARGS INSTALL_MOD_PATH=%buildroot
if ! %_sourcedir/check-supported-list \
%_sourcedir %buildroot/lib/modules/%kernelrelease-%build_flavor; then
%if %supported_modules_check
exit 1
%endif
echo "Consistency check error: please update supported.conf."
fi
%ifarch s390 s390x
if test -e arch/s390/boot/kerntypes.o; then
:
@ -730,10 +732,12 @@ if [ %CONFIG_MODULES = y ]; then
%_sourcedir/split-modules -d %buildroot \
-o %my_builddir \
-b %kernel_build_dir/Module.base \
%if ! %supported_modules_check
-i \
%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
-e \
%endif
%if ! %supported_modules_check
-i
%endif
-s %kernel_build_dir/Module.supported
%if ! %split_extra
cat %my_builddir/unsupported-modules >>%my_builddir/main-modules
%endif

View File

@ -1,3 +1,91 @@
-------------------------------------------------------------------
Fri Oct 4 20:14:16 CEST 2013 - bp@suse.de
- supported.conf: Remove IOMMU v2
This is only needed for HSA.
- commit 1d0217b
-------------------------------------------------------------------
Fri Oct 4 19:53:33 CEST 2013 - bp@suse.de
- supported.conf: Add a bunch of AMD-specific drivers to the list
+ sb_edac which people wanted since SLE11-SP2.
- commit 942c03a
-------------------------------------------------------------------
Fri Oct 4 19:41:56 CEST 2013 - bpoirier@suse.de
- supported.conf: update for network related modules
based on FATE#313655
+ drivers/net/ethernet/intel/i40e/i40e
vhost_net depends on vhost
+ drivers/vhost/vhost
nf_nat is now nf_nat_ipv4, _ipv6 was introduced in v3.7
- net/ipv4/netfilter/nf_nat
+ net/ipv4/netfilter/nf_nat_ipv4
+ net/ipv6/netfilter/nf_nat_ipv6
based on the rationale that we already package `ss` and support inet_diag:
+ net/ipv4/udp_diag
+ net/netlink/netlink_diag
+ net/packet/af_packet_diag
+ net/unix/unix_diag
- commit 07a54e6
-------------------------------------------------------------------
Fri Oct 4 17:04:15 CEST 2013 - mmarek@suse.cz
- supported.conf: Add newly requested drivers
- commit 199c169
-------------------------------------------------------------------
Fri Oct 4 14:53:01 CEST 2013 - mmarek@suse.cz
- supported.conf: More updates from SLE11-SP3
- commit 45bc81a
-------------------------------------------------------------------
Fri Oct 4 13:04:43 CEST 2013 - mmarek@suse.cz
- rpm/split-modules: Check module support only if the -extra package is requested
- commit add86bf
-------------------------------------------------------------------
Fri Oct 4 13:02:48 CEST 2013 - mmarek@suse.cz
- rpm/split-modules: Remove unused options
- commit 3736315
-------------------------------------------------------------------
Fri Oct 4 12:57:44 CEST 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix creating the kernel-*-extra package
CONFIG_ENTERPRISE_SUPPORT has been renamed to CONFIG_SUSE_KERNEL_SUPPORTED
- commit 9e5b6fe
-------------------------------------------------------------------
Fri Oct 4 11:48:44 CEST 2013 - mmarek@suse.cz
- supported.conf: Copy some missing changes from SLE11-SP3
- commit fdeb1a7
-------------------------------------------------------------------
Fri Oct 4 10:47:37 CEST 2013 - mmarek@suse.cz
- supported.conf: Remove the kernel/ prefix from module paths.
- commit 9649d9f
-------------------------------------------------------------------
Fri Oct 4 10:45:53 CEST 2013 - mmarek@suse.cz
- modpost: Allow wildcards in the Module.supported file.
- commit a464383
-------------------------------------------------------------------
Fri Oct 4 10:38:42 CEST 2013 - mmarek@suse.cz
- modpost: Fix matching of dashes and underscores in Module.supported (bnc#719090).
- commit cab1abc
-------------------------------------------------------------------
Thu Oct 3 17:25:25 CEST 2013 - mmarek@suse.cz
@ -4987,6 +5075,31 @@ Mon Sep 26 10:01:25 CEST 2011 - jeffm@suse.com
- Update to 3.1-rc7.
- commit ee8cc90
-------------------------------------------------------------------
Thu Sep 22 11:18:31 CEST 2011 - mmarek@suse.cz
- rpm/split-modules: Print the full path for modules missing in supported.conf
- commit e55e4c6
-------------------------------------------------------------------
Thu Sep 22 10:52:13 CEST 2011 - mmarek@suse.cz
- supported.conf: Fix stray line making net/atm/atm suddenly unsupported.
- commit 58dbd06
-------------------------------------------------------------------
Wed Sep 21 16:33:53 CEST 2011 - mmarek@suse.cz
- Add support for wildcards in supported.conf
- rpm/kernel-binary.spec.in: Generate Module.supported with all
lines from supported conf, unsupported modules are marked as "no"
- rpm/split-modules: Use the supported flag in modules, instead of
parsing the Module.supported file and report modules that have no
supported marking.
- rpm/check-supported-list: Delete, this is done by split-modules
now.
- commit edfdc2a
-------------------------------------------------------------------
Wed Sep 21 13:20:35 CEST 2011 - trenn@suse.de

View File

@ -39,17 +39,17 @@
%define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-obj
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,check-supported-list,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor
# Define some CONFIG variables as rpm macros as well. (rpm cannot handle
# defining them all at once.)
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_ENTERPRISE_SUPPORT CONFIG_EFI_STUB
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_SUSE_KERNEL_SUPPORTED CONFIG_EFI_STUB
%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)}
%define split_base (%CONFIG_SPLIT_PACKAGE == "y")
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_ENTERPRISE_SUPPORT == "y")
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_SUSE_KERNEL_SUPPORTED == "y")
%ifarch %ix86 x86_64
%define install_vdso 1
@ -61,7 +61,7 @@ Name: kernel-lpae
Summary: Kernel for LPAE enabled systems
Version: 3.12.rc3
%if 0%{?is_kotd}
Release: <RELEASE>.g468300e
Release: <RELEASE>.g1d0217b
%else
Release: 0
%endif
@ -161,7 +161,6 @@ Source17: apply-patches
Source21: config.conf
Source23: supported.conf
Source33: check-for-config-changes
Source34: check-supported-list
Source35: group-source-files.pl
Source37: README.SUSE
Source38: README.KSYMS
@ -317,16 +316,27 @@ fi
mkdir -p %kernel_build_dir
supported_conf() {
%_sourcedir/guards $* < %_sourcedir/supported.conf | \
sed 's,.*/,,; s,\.ko$,,' | sort -u
}
# Generate the list of modules to be marked as supported
{ supported_conf base
supported_conf --default=0 external | sed 's/$/ external/'
} > %kernel_build_dir/Module.supported
supported_conf --default=0 base >%kernel_build_dir/Module.base
# Generate a list of modules with their support status marking
%_sourcedir/guards --list --with-guards <%_sourcedir/supported.conf | \
awk '
/^\+(base|yes) / {
print $(NF);
next;
}
/^\+external / {
print $(NF) " external";
next;
}
/^[-+]/ {
print $(NF) " no";
next;
}
{
print $(NF);
}
' >%kernel_build_dir/Module.supported
%_sourcedir/guards --default=0 base < %_sourcedir/supported.conf | \
sed 's,.*/,,; s,\.ko$,,' | sort -u >%kernel_build_dir/Module.base
cd linux-%srcversion
@ -671,14 +681,6 @@ if [ %CONFIG_MODULES = y ]; then
make modules_install $MAKE_ARGS INSTALL_MOD_PATH=%buildroot
if ! %_sourcedir/check-supported-list \
%_sourcedir %buildroot/lib/modules/%kernelrelease-%build_flavor; then
%if %supported_modules_check
exit 1
%endif
echo "Consistency check error: please update supported.conf."
fi
%ifarch s390 s390x
if test -e arch/s390/boot/kerntypes.o; then
:
@ -731,10 +733,12 @@ if [ %CONFIG_MODULES = y ]; then
%_sourcedir/split-modules -d %buildroot \
-o %my_builddir \
-b %kernel_build_dir/Module.base \
%if ! %supported_modules_check
-i \
%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
-e \
%endif
%if ! %supported_modules_check
-i
%endif
-s %kernel_build_dir/Module.supported
%if ! %split_extra
cat %my_builddir/unsupported-modules >>%my_builddir/main-modules
%endif

View File

@ -1,3 +1,91 @@
-------------------------------------------------------------------
Fri Oct 4 20:14:16 CEST 2013 - bp@suse.de
- supported.conf: Remove IOMMU v2
This is only needed for HSA.
- commit 1d0217b
-------------------------------------------------------------------
Fri Oct 4 19:53:33 CEST 2013 - bp@suse.de
- supported.conf: Add a bunch of AMD-specific drivers to the list
+ sb_edac which people wanted since SLE11-SP2.
- commit 942c03a
-------------------------------------------------------------------
Fri Oct 4 19:41:56 CEST 2013 - bpoirier@suse.de
- supported.conf: update for network related modules
based on FATE#313655
+ drivers/net/ethernet/intel/i40e/i40e
vhost_net depends on vhost
+ drivers/vhost/vhost
nf_nat is now nf_nat_ipv4, _ipv6 was introduced in v3.7
- net/ipv4/netfilter/nf_nat
+ net/ipv4/netfilter/nf_nat_ipv4
+ net/ipv6/netfilter/nf_nat_ipv6
based on the rationale that we already package `ss` and support inet_diag:
+ net/ipv4/udp_diag
+ net/netlink/netlink_diag
+ net/packet/af_packet_diag
+ net/unix/unix_diag
- commit 07a54e6
-------------------------------------------------------------------
Fri Oct 4 17:04:15 CEST 2013 - mmarek@suse.cz
- supported.conf: Add newly requested drivers
- commit 199c169
-------------------------------------------------------------------
Fri Oct 4 14:53:01 CEST 2013 - mmarek@suse.cz
- supported.conf: More updates from SLE11-SP3
- commit 45bc81a
-------------------------------------------------------------------
Fri Oct 4 13:04:43 CEST 2013 - mmarek@suse.cz
- rpm/split-modules: Check module support only if the -extra package is requested
- commit add86bf
-------------------------------------------------------------------
Fri Oct 4 13:02:48 CEST 2013 - mmarek@suse.cz
- rpm/split-modules: Remove unused options
- commit 3736315
-------------------------------------------------------------------
Fri Oct 4 12:57:44 CEST 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix creating the kernel-*-extra package
CONFIG_ENTERPRISE_SUPPORT has been renamed to CONFIG_SUSE_KERNEL_SUPPORTED
- commit 9e5b6fe
-------------------------------------------------------------------
Fri Oct 4 11:48:44 CEST 2013 - mmarek@suse.cz
- supported.conf: Copy some missing changes from SLE11-SP3
- commit fdeb1a7
-------------------------------------------------------------------
Fri Oct 4 10:47:37 CEST 2013 - mmarek@suse.cz
- supported.conf: Remove the kernel/ prefix from module paths.
- commit 9649d9f
-------------------------------------------------------------------
Fri Oct 4 10:45:53 CEST 2013 - mmarek@suse.cz
- modpost: Allow wildcards in the Module.supported file.
- commit a464383
-------------------------------------------------------------------
Fri Oct 4 10:38:42 CEST 2013 - mmarek@suse.cz
- modpost: Fix matching of dashes and underscores in Module.supported (bnc#719090).
- commit cab1abc
-------------------------------------------------------------------
Thu Oct 3 17:25:25 CEST 2013 - mmarek@suse.cz
@ -4987,6 +5075,31 @@ Mon Sep 26 10:01:25 CEST 2011 - jeffm@suse.com
- Update to 3.1-rc7.
- commit ee8cc90
-------------------------------------------------------------------
Thu Sep 22 11:18:31 CEST 2011 - mmarek@suse.cz
- rpm/split-modules: Print the full path for modules missing in supported.conf
- commit e55e4c6
-------------------------------------------------------------------
Thu Sep 22 10:52:13 CEST 2011 - mmarek@suse.cz
- supported.conf: Fix stray line making net/atm/atm suddenly unsupported.
- commit 58dbd06
-------------------------------------------------------------------
Wed Sep 21 16:33:53 CEST 2011 - mmarek@suse.cz
- Add support for wildcards in supported.conf
- rpm/kernel-binary.spec.in: Generate Module.supported with all
lines from supported conf, unsupported modules are marked as "no"
- rpm/split-modules: Use the supported flag in modules, instead of
parsing the Module.supported file and report modules that have no
supported marking.
- rpm/check-supported-list: Delete, this is done by split-modules
now.
- commit edfdc2a
-------------------------------------------------------------------
Wed Sep 21 13:20:35 CEST 2011 - trenn@suse.de

View File

@ -39,17 +39,17 @@
%define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-obj
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,check-supported-list,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor
# Define some CONFIG variables as rpm macros as well. (rpm cannot handle
# defining them all at once.)
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_ENTERPRISE_SUPPORT CONFIG_EFI_STUB
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_SUSE_KERNEL_SUPPORTED CONFIG_EFI_STUB
%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)}
%define split_base (%CONFIG_SPLIT_PACKAGE == "y")
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_ENTERPRISE_SUPPORT == "y")
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_SUSE_KERNEL_SUPPORTED == "y")
%ifarch %ix86 x86_64
%define install_vdso 1
@ -61,7 +61,7 @@ Name: kernel-pae
Summary: Kernel with PAE Support
Version: 3.12.rc3
%if 0%{?is_kotd}
Release: <RELEASE>.g468300e
Release: <RELEASE>.g1d0217b
%else
Release: 0
%endif
@ -166,7 +166,6 @@ Source17: apply-patches
Source21: config.conf
Source23: supported.conf
Source33: check-for-config-changes
Source34: check-supported-list
Source35: group-source-files.pl
Source37: README.SUSE
Source38: README.KSYMS
@ -328,16 +327,27 @@ fi
mkdir -p %kernel_build_dir
supported_conf() {
%_sourcedir/guards $* < %_sourcedir/supported.conf | \
sed 's,.*/,,; s,\.ko$,,' | sort -u
}
# Generate the list of modules to be marked as supported
{ supported_conf base
supported_conf --default=0 external | sed 's/$/ external/'
} > %kernel_build_dir/Module.supported
supported_conf --default=0 base >%kernel_build_dir/Module.base
# Generate a list of modules with their support status marking
%_sourcedir/guards --list --with-guards <%_sourcedir/supported.conf | \
awk '
/^\+(base|yes) / {
print $(NF);
next;
}
/^\+external / {
print $(NF) " external";
next;
}
/^[-+]/ {
print $(NF) " no";
next;
}
{
print $(NF);
}
' >%kernel_build_dir/Module.supported
%_sourcedir/guards --default=0 base < %_sourcedir/supported.conf | \
sed 's,.*/,,; s,\.ko$,,' | sort -u >%kernel_build_dir/Module.base
cd linux-%srcversion
@ -682,14 +692,6 @@ if [ %CONFIG_MODULES = y ]; then
make modules_install $MAKE_ARGS INSTALL_MOD_PATH=%buildroot
if ! %_sourcedir/check-supported-list \
%_sourcedir %buildroot/lib/modules/%kernelrelease-%build_flavor; then
%if %supported_modules_check
exit 1
%endif
echo "Consistency check error: please update supported.conf."
fi
%ifarch s390 s390x
if test -e arch/s390/boot/kerntypes.o; then
:
@ -742,10 +744,12 @@ if [ %CONFIG_MODULES = y ]; then
%_sourcedir/split-modules -d %buildroot \
-o %my_builddir \
-b %kernel_build_dir/Module.base \
%if ! %supported_modules_check
-i \
%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
-e \
%endif
%if ! %supported_modules_check
-i
%endif
-s %kernel_build_dir/Module.supported
%if ! %split_extra
cat %my_builddir/unsupported-modules >>%my_builddir/main-modules
%endif

View File

@ -1,3 +1,91 @@
-------------------------------------------------------------------
Fri Oct 4 20:14:16 CEST 2013 - bp@suse.de
- supported.conf: Remove IOMMU v2
This is only needed for HSA.
- commit 1d0217b
-------------------------------------------------------------------
Fri Oct 4 19:53:33 CEST 2013 - bp@suse.de
- supported.conf: Add a bunch of AMD-specific drivers to the list
+ sb_edac which people wanted since SLE11-SP2.
- commit 942c03a
-------------------------------------------------------------------
Fri Oct 4 19:41:56 CEST 2013 - bpoirier@suse.de
- supported.conf: update for network related modules
based on FATE#313655
+ drivers/net/ethernet/intel/i40e/i40e
vhost_net depends on vhost
+ drivers/vhost/vhost
nf_nat is now nf_nat_ipv4, _ipv6 was introduced in v3.7
- net/ipv4/netfilter/nf_nat
+ net/ipv4/netfilter/nf_nat_ipv4
+ net/ipv6/netfilter/nf_nat_ipv6
based on the rationale that we already package `ss` and support inet_diag:
+ net/ipv4/udp_diag
+ net/netlink/netlink_diag
+ net/packet/af_packet_diag
+ net/unix/unix_diag
- commit 07a54e6
-------------------------------------------------------------------
Fri Oct 4 17:04:15 CEST 2013 - mmarek@suse.cz
- supported.conf: Add newly requested drivers
- commit 199c169
-------------------------------------------------------------------
Fri Oct 4 14:53:01 CEST 2013 - mmarek@suse.cz
- supported.conf: More updates from SLE11-SP3
- commit 45bc81a
-------------------------------------------------------------------
Fri Oct 4 13:04:43 CEST 2013 - mmarek@suse.cz
- rpm/split-modules: Check module support only if the -extra package is requested
- commit add86bf
-------------------------------------------------------------------
Fri Oct 4 13:02:48 CEST 2013 - mmarek@suse.cz
- rpm/split-modules: Remove unused options
- commit 3736315
-------------------------------------------------------------------
Fri Oct 4 12:57:44 CEST 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix creating the kernel-*-extra package
CONFIG_ENTERPRISE_SUPPORT has been renamed to CONFIG_SUSE_KERNEL_SUPPORTED
- commit 9e5b6fe
-------------------------------------------------------------------
Fri Oct 4 11:48:44 CEST 2013 - mmarek@suse.cz
- supported.conf: Copy some missing changes from SLE11-SP3
- commit fdeb1a7
-------------------------------------------------------------------
Fri Oct 4 10:47:37 CEST 2013 - mmarek@suse.cz
- supported.conf: Remove the kernel/ prefix from module paths.
- commit 9649d9f
-------------------------------------------------------------------
Fri Oct 4 10:45:53 CEST 2013 - mmarek@suse.cz
- modpost: Allow wildcards in the Module.supported file.
- commit a464383
-------------------------------------------------------------------
Fri Oct 4 10:38:42 CEST 2013 - mmarek@suse.cz
- modpost: Fix matching of dashes and underscores in Module.supported (bnc#719090).
- commit cab1abc
-------------------------------------------------------------------
Thu Oct 3 17:25:25 CEST 2013 - mmarek@suse.cz
@ -4987,6 +5075,31 @@ Mon Sep 26 10:01:25 CEST 2011 - jeffm@suse.com
- Update to 3.1-rc7.
- commit ee8cc90
-------------------------------------------------------------------
Thu Sep 22 11:18:31 CEST 2011 - mmarek@suse.cz
- rpm/split-modules: Print the full path for modules missing in supported.conf
- commit e55e4c6
-------------------------------------------------------------------
Thu Sep 22 10:52:13 CEST 2011 - mmarek@suse.cz
- supported.conf: Fix stray line making net/atm/atm suddenly unsupported.
- commit 58dbd06
-------------------------------------------------------------------
Wed Sep 21 16:33:53 CEST 2011 - mmarek@suse.cz
- Add support for wildcards in supported.conf
- rpm/kernel-binary.spec.in: Generate Module.supported with all
lines from supported conf, unsupported modules are marked as "no"
- rpm/split-modules: Use the supported flag in modules, instead of
parsing the Module.supported file and report modules that have no
supported marking.
- rpm/check-supported-list: Delete, this is done by split-modules
now.
- commit edfdc2a
-------------------------------------------------------------------
Wed Sep 21 13:20:35 CEST 2011 - trenn@suse.de

View File

@ -31,7 +31,7 @@ Name: kernel-source
Summary: The Linux Kernel Sources
Version: 3.12.rc3
%if 0%{?is_kotd}
Release: <RELEASE>.g468300e
Release: <RELEASE>.g1d0217b
%else
Release: 0
%endif
@ -60,7 +60,6 @@ Source17: apply-patches
Source21: config.conf
Source23: supported.conf
Source33: check-for-config-changes
Source34: check-supported-list
Source35: group-source-files.pl
Source37: README.SUSE
Source38: README.KSYMS
@ -111,7 +110,7 @@ Prefix: /usr/src
# Source is only complete with devel files.
Requires: kernel-devel = %version-%release
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,check-supported-list,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
%define symbols %(set -- $([ -e %_sourcedir/extra-symbols ] && cat %_sourcedir/extra-symbols) ; echo $*)
%define variant_symbols %(case %name in (*-rt) echo "RT" ;; esac)

View File

@ -60,7 +60,6 @@ Source17: apply-patches
Source21: config.conf
Source23: supported.conf
Source33: check-for-config-changes
Source34: check-supported-list
Source35: group-source-files.pl
Source37: README.SUSE
Source38: README.KSYMS

View File

@ -1,3 +1,91 @@
-------------------------------------------------------------------
Fri Oct 4 20:14:16 CEST 2013 - bp@suse.de
- supported.conf: Remove IOMMU v2
This is only needed for HSA.
- commit 1d0217b
-------------------------------------------------------------------
Fri Oct 4 19:53:33 CEST 2013 - bp@suse.de
- supported.conf: Add a bunch of AMD-specific drivers to the list
+ sb_edac which people wanted since SLE11-SP2.
- commit 942c03a
-------------------------------------------------------------------
Fri Oct 4 19:41:56 CEST 2013 - bpoirier@suse.de
- supported.conf: update for network related modules
based on FATE#313655
+ drivers/net/ethernet/intel/i40e/i40e
vhost_net depends on vhost
+ drivers/vhost/vhost
nf_nat is now nf_nat_ipv4, _ipv6 was introduced in v3.7
- net/ipv4/netfilter/nf_nat
+ net/ipv4/netfilter/nf_nat_ipv4
+ net/ipv6/netfilter/nf_nat_ipv6
based on the rationale that we already package `ss` and support inet_diag:
+ net/ipv4/udp_diag
+ net/netlink/netlink_diag
+ net/packet/af_packet_diag
+ net/unix/unix_diag
- commit 07a54e6
-------------------------------------------------------------------
Fri Oct 4 17:04:15 CEST 2013 - mmarek@suse.cz
- supported.conf: Add newly requested drivers
- commit 199c169
-------------------------------------------------------------------
Fri Oct 4 14:53:01 CEST 2013 - mmarek@suse.cz
- supported.conf: More updates from SLE11-SP3
- commit 45bc81a
-------------------------------------------------------------------
Fri Oct 4 13:04:43 CEST 2013 - mmarek@suse.cz
- rpm/split-modules: Check module support only if the -extra package is requested
- commit add86bf
-------------------------------------------------------------------
Fri Oct 4 13:02:48 CEST 2013 - mmarek@suse.cz
- rpm/split-modules: Remove unused options
- commit 3736315
-------------------------------------------------------------------
Fri Oct 4 12:57:44 CEST 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix creating the kernel-*-extra package
CONFIG_ENTERPRISE_SUPPORT has been renamed to CONFIG_SUSE_KERNEL_SUPPORTED
- commit 9e5b6fe
-------------------------------------------------------------------
Fri Oct 4 11:48:44 CEST 2013 - mmarek@suse.cz
- supported.conf: Copy some missing changes from SLE11-SP3
- commit fdeb1a7
-------------------------------------------------------------------
Fri Oct 4 10:47:37 CEST 2013 - mmarek@suse.cz
- supported.conf: Remove the kernel/ prefix from module paths.
- commit 9649d9f
-------------------------------------------------------------------
Fri Oct 4 10:45:53 CEST 2013 - mmarek@suse.cz
- modpost: Allow wildcards in the Module.supported file.
- commit a464383
-------------------------------------------------------------------
Fri Oct 4 10:38:42 CEST 2013 - mmarek@suse.cz
- modpost: Fix matching of dashes and underscores in Module.supported (bnc#719090).
- commit cab1abc
-------------------------------------------------------------------
Thu Oct 3 17:25:25 CEST 2013 - mmarek@suse.cz
@ -4987,6 +5075,31 @@ Mon Sep 26 10:01:25 CEST 2011 - jeffm@suse.com
- Update to 3.1-rc7.
- commit ee8cc90
-------------------------------------------------------------------
Thu Sep 22 11:18:31 CEST 2011 - mmarek@suse.cz
- rpm/split-modules: Print the full path for modules missing in supported.conf
- commit e55e4c6
-------------------------------------------------------------------
Thu Sep 22 10:52:13 CEST 2011 - mmarek@suse.cz
- supported.conf: Fix stray line making net/atm/atm suddenly unsupported.
- commit 58dbd06
-------------------------------------------------------------------
Wed Sep 21 16:33:53 CEST 2011 - mmarek@suse.cz
- Add support for wildcards in supported.conf
- rpm/kernel-binary.spec.in: Generate Module.supported with all
lines from supported conf, unsupported modules are marked as "no"
- rpm/split-modules: Use the supported flag in modules, instead of
parsing the Module.supported file and report modules that have no
supported marking.
- rpm/check-supported-list: Delete, this is done by split-modules
now.
- commit edfdc2a
-------------------------------------------------------------------
Wed Sep 21 13:20:35 CEST 2011 - trenn@suse.de

View File

@ -26,7 +26,7 @@ Summary: Kernel Symbol Versions (modversions)
Version: 3.12.rc3
%if %using_buildservice
%if 0%{?is_kotd}
Release: <RELEASE>.g468300e
Release: <RELEASE>.g1d0217b
%else
Release: 0
%endif

View File

@ -1,3 +1,91 @@
-------------------------------------------------------------------
Fri Oct 4 20:14:16 CEST 2013 - bp@suse.de
- supported.conf: Remove IOMMU v2
This is only needed for HSA.
- commit 1d0217b
-------------------------------------------------------------------
Fri Oct 4 19:53:33 CEST 2013 - bp@suse.de
- supported.conf: Add a bunch of AMD-specific drivers to the list
+ sb_edac which people wanted since SLE11-SP2.
- commit 942c03a
-------------------------------------------------------------------
Fri Oct 4 19:41:56 CEST 2013 - bpoirier@suse.de
- supported.conf: update for network related modules
based on FATE#313655
+ drivers/net/ethernet/intel/i40e/i40e
vhost_net depends on vhost
+ drivers/vhost/vhost
nf_nat is now nf_nat_ipv4, _ipv6 was introduced in v3.7
- net/ipv4/netfilter/nf_nat
+ net/ipv4/netfilter/nf_nat_ipv4
+ net/ipv6/netfilter/nf_nat_ipv6
based on the rationale that we already package `ss` and support inet_diag:
+ net/ipv4/udp_diag
+ net/netlink/netlink_diag
+ net/packet/af_packet_diag
+ net/unix/unix_diag
- commit 07a54e6
-------------------------------------------------------------------
Fri Oct 4 17:04:15 CEST 2013 - mmarek@suse.cz
- supported.conf: Add newly requested drivers
- commit 199c169
-------------------------------------------------------------------
Fri Oct 4 14:53:01 CEST 2013 - mmarek@suse.cz
- supported.conf: More updates from SLE11-SP3
- commit 45bc81a
-------------------------------------------------------------------
Fri Oct 4 13:04:43 CEST 2013 - mmarek@suse.cz
- rpm/split-modules: Check module support only if the -extra package is requested
- commit add86bf
-------------------------------------------------------------------
Fri Oct 4 13:02:48 CEST 2013 - mmarek@suse.cz
- rpm/split-modules: Remove unused options
- commit 3736315
-------------------------------------------------------------------
Fri Oct 4 12:57:44 CEST 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix creating the kernel-*-extra package
CONFIG_ENTERPRISE_SUPPORT has been renamed to CONFIG_SUSE_KERNEL_SUPPORTED
- commit 9e5b6fe
-------------------------------------------------------------------
Fri Oct 4 11:48:44 CEST 2013 - mmarek@suse.cz
- supported.conf: Copy some missing changes from SLE11-SP3
- commit fdeb1a7
-------------------------------------------------------------------
Fri Oct 4 10:47:37 CEST 2013 - mmarek@suse.cz
- supported.conf: Remove the kernel/ prefix from module paths.
- commit 9649d9f
-------------------------------------------------------------------
Fri Oct 4 10:45:53 CEST 2013 - mmarek@suse.cz
- modpost: Allow wildcards in the Module.supported file.
- commit a464383
-------------------------------------------------------------------
Fri Oct 4 10:38:42 CEST 2013 - mmarek@suse.cz
- modpost: Fix matching of dashes and underscores in Module.supported (bnc#719090).
- commit cab1abc
-------------------------------------------------------------------
Thu Oct 3 17:25:25 CEST 2013 - mmarek@suse.cz
@ -4987,6 +5075,31 @@ Mon Sep 26 10:01:25 CEST 2011 - jeffm@suse.com
- Update to 3.1-rc7.
- commit ee8cc90
-------------------------------------------------------------------
Thu Sep 22 11:18:31 CEST 2011 - mmarek@suse.cz
- rpm/split-modules: Print the full path for modules missing in supported.conf
- commit e55e4c6
-------------------------------------------------------------------
Thu Sep 22 10:52:13 CEST 2011 - mmarek@suse.cz
- supported.conf: Fix stray line making net/atm/atm suddenly unsupported.
- commit 58dbd06
-------------------------------------------------------------------
Wed Sep 21 16:33:53 CEST 2011 - mmarek@suse.cz
- Add support for wildcards in supported.conf
- rpm/kernel-binary.spec.in: Generate Module.supported with all
lines from supported conf, unsupported modules are marked as "no"
- rpm/split-modules: Use the supported flag in modules, instead of
parsing the Module.supported file and report modules that have no
supported marking.
- rpm/check-supported-list: Delete, this is done by split-modules
now.
- commit edfdc2a
-------------------------------------------------------------------
Wed Sep 21 13:20:35 CEST 2011 - trenn@suse.de

View File

@ -39,17 +39,17 @@
%define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-obj
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,check-supported-list,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor
# Define some CONFIG variables as rpm macros as well. (rpm cannot handle
# defining them all at once.)
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_ENTERPRISE_SUPPORT CONFIG_EFI_STUB
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_SUSE_KERNEL_SUPPORTED CONFIG_EFI_STUB
%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)}
%define split_base (%CONFIG_SPLIT_PACKAGE == "y")
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_ENTERPRISE_SUPPORT == "y")
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_SUSE_KERNEL_SUPPORTED == "y")
%ifarch %ix86 x86_64
%define install_vdso 1
@ -61,7 +61,7 @@ Name: kernel-trace
Summary: The Standard Kernel with Tracing Features
Version: 3.12.rc3
%if 0%{?is_kotd}
Release: <RELEASE>.g468300e
Release: <RELEASE>.g1d0217b
%else
Release: 0
%endif
@ -164,7 +164,6 @@ Source17: apply-patches
Source21: config.conf
Source23: supported.conf
Source33: check-for-config-changes
Source34: check-supported-list
Source35: group-source-files.pl
Source37: README.SUSE
Source38: README.KSYMS
@ -319,16 +318,27 @@ fi
mkdir -p %kernel_build_dir
supported_conf() {
%_sourcedir/guards $* < %_sourcedir/supported.conf | \
sed 's,.*/,,; s,\.ko$,,' | sort -u
}
# Generate the list of modules to be marked as supported
{ supported_conf base
supported_conf --default=0 external | sed 's/$/ external/'
} > %kernel_build_dir/Module.supported
supported_conf --default=0 base >%kernel_build_dir/Module.base
# Generate a list of modules with their support status marking
%_sourcedir/guards --list --with-guards <%_sourcedir/supported.conf | \
awk '
/^\+(base|yes) / {
print $(NF);
next;
}
/^\+external / {
print $(NF) " external";
next;
}
/^[-+]/ {
print $(NF) " no";
next;
}
{
print $(NF);
}
' >%kernel_build_dir/Module.supported
%_sourcedir/guards --default=0 base < %_sourcedir/supported.conf | \
sed 's,.*/,,; s,\.ko$,,' | sort -u >%kernel_build_dir/Module.base
cd linux-%srcversion
@ -673,14 +683,6 @@ if [ %CONFIG_MODULES = y ]; then
make modules_install $MAKE_ARGS INSTALL_MOD_PATH=%buildroot
if ! %_sourcedir/check-supported-list \
%_sourcedir %buildroot/lib/modules/%kernelrelease-%build_flavor; then
%if %supported_modules_check
exit 1
%endif
echo "Consistency check error: please update supported.conf."
fi
%ifarch s390 s390x
if test -e arch/s390/boot/kerntypes.o; then
:
@ -733,10 +735,12 @@ if [ %CONFIG_MODULES = y ]; then
%_sourcedir/split-modules -d %buildroot \
-o %my_builddir \
-b %kernel_build_dir/Module.base \
%if ! %supported_modules_check
-i \
%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
-e \
%endif
%if ! %supported_modules_check
-i
%endif
-s %kernel_build_dir/Module.supported
%if ! %split_extra
cat %my_builddir/unsupported-modules >>%my_builddir/main-modules
%endif

View File

@ -1,3 +1,91 @@
-------------------------------------------------------------------
Fri Oct 4 20:14:16 CEST 2013 - bp@suse.de
- supported.conf: Remove IOMMU v2
This is only needed for HSA.
- commit 1d0217b
-------------------------------------------------------------------
Fri Oct 4 19:53:33 CEST 2013 - bp@suse.de
- supported.conf: Add a bunch of AMD-specific drivers to the list
+ sb_edac which people wanted since SLE11-SP2.
- commit 942c03a
-------------------------------------------------------------------
Fri Oct 4 19:41:56 CEST 2013 - bpoirier@suse.de
- supported.conf: update for network related modules
based on FATE#313655
+ drivers/net/ethernet/intel/i40e/i40e
vhost_net depends on vhost
+ drivers/vhost/vhost
nf_nat is now nf_nat_ipv4, _ipv6 was introduced in v3.7
- net/ipv4/netfilter/nf_nat
+ net/ipv4/netfilter/nf_nat_ipv4
+ net/ipv6/netfilter/nf_nat_ipv6
based on the rationale that we already package `ss` and support inet_diag:
+ net/ipv4/udp_diag
+ net/netlink/netlink_diag
+ net/packet/af_packet_diag
+ net/unix/unix_diag
- commit 07a54e6
-------------------------------------------------------------------
Fri Oct 4 17:04:15 CEST 2013 - mmarek@suse.cz
- supported.conf: Add newly requested drivers
- commit 199c169
-------------------------------------------------------------------
Fri Oct 4 14:53:01 CEST 2013 - mmarek@suse.cz
- supported.conf: More updates from SLE11-SP3
- commit 45bc81a
-------------------------------------------------------------------
Fri Oct 4 13:04:43 CEST 2013 - mmarek@suse.cz
- rpm/split-modules: Check module support only if the -extra package is requested
- commit add86bf
-------------------------------------------------------------------
Fri Oct 4 13:02:48 CEST 2013 - mmarek@suse.cz
- rpm/split-modules: Remove unused options
- commit 3736315
-------------------------------------------------------------------
Fri Oct 4 12:57:44 CEST 2013 - mmarek@suse.cz
- rpm/kernel-binary.spec.in: Fix creating the kernel-*-extra package
CONFIG_ENTERPRISE_SUPPORT has been renamed to CONFIG_SUSE_KERNEL_SUPPORTED
- commit 9e5b6fe
-------------------------------------------------------------------
Fri Oct 4 11:48:44 CEST 2013 - mmarek@suse.cz
- supported.conf: Copy some missing changes from SLE11-SP3
- commit fdeb1a7
-------------------------------------------------------------------
Fri Oct 4 10:47:37 CEST 2013 - mmarek@suse.cz
- supported.conf: Remove the kernel/ prefix from module paths.
- commit 9649d9f
-------------------------------------------------------------------
Fri Oct 4 10:45:53 CEST 2013 - mmarek@suse.cz
- modpost: Allow wildcards in the Module.supported file.
- commit a464383
-------------------------------------------------------------------
Fri Oct 4 10:38:42 CEST 2013 - mmarek@suse.cz
- modpost: Fix matching of dashes and underscores in Module.supported (bnc#719090).
- commit cab1abc
-------------------------------------------------------------------
Thu Oct 3 17:25:25 CEST 2013 - mmarek@suse.cz
@ -4987,6 +5075,31 @@ Mon Sep 26 10:01:25 CEST 2011 - jeffm@suse.com
- Update to 3.1-rc7.
- commit ee8cc90
-------------------------------------------------------------------
Thu Sep 22 11:18:31 CEST 2011 - mmarek@suse.cz
- rpm/split-modules: Print the full path for modules missing in supported.conf
- commit e55e4c6
-------------------------------------------------------------------
Thu Sep 22 10:52:13 CEST 2011 - mmarek@suse.cz
- supported.conf: Fix stray line making net/atm/atm suddenly unsupported.
- commit 58dbd06
-------------------------------------------------------------------
Wed Sep 21 16:33:53 CEST 2011 - mmarek@suse.cz
- Add support for wildcards in supported.conf
- rpm/kernel-binary.spec.in: Generate Module.supported with all
lines from supported conf, unsupported modules are marked as "no"
- rpm/split-modules: Use the supported flag in modules, instead of
parsing the Module.supported file and report modules that have no
supported marking.
- rpm/check-supported-list: Delete, this is done by split-modules
now.
- commit edfdc2a
-------------------------------------------------------------------
Wed Sep 21 13:20:35 CEST 2011 - trenn@suse.de

View File

@ -39,17 +39,17 @@
%define rpm_install_dir %buildroot%obj_install_dir
%define kernel_build_dir %my_builddir/linux-obj
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,check-supported-list,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,find-provides,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,configtool.pl,log.sh,try-disable-staging-driver})
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
%define cpu_arch_flavor %cpu_arch/%build_flavor
# Define some CONFIG variables as rpm macros as well. (rpm cannot handle
# defining them all at once.)
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_ENTERPRISE_SUPPORT CONFIG_EFI_STUB
%define config_vars CONFIG_MODULES CONFIG_KMSG_IDS CONFIG_SPLIT_PACKAGE CONFIG_SUSE_KERNEL_SUPPORTED CONFIG_EFI_STUB
%{expand:%(eval "$(test -n "%cpu_arch_flavor" && tar -xjf %_sourcedir/config.tar.bz2 --to-stdout config/%cpu_arch_flavor)"; for config in %config_vars; do echo "%%global $config ${!config:-n}"; done)}
%define split_base (%CONFIG_SPLIT_PACKAGE == "y")
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_ENTERPRISE_SUPPORT == "y")
%define split_extra (%CONFIG_SPLIT_PACKAGE == "y" && %CONFIG_SUSE_KERNEL_SUPPORTED == "y")
%ifarch %ix86 x86_64
%define install_vdso 1
@ -61,7 +61,7 @@ Name: kernel-vanilla
Summary: The Standard Kernel - without any SUSE patches
Version: 3.12.rc3
%if 0%{?is_kotd}
Release: <RELEASE>.g468300e
Release: <RELEASE>.g1d0217b
%else
Release: 0
%endif
@ -161,7 +161,6 @@ Source17: apply-patches
Source21: config.conf
Source23: supported.conf
Source33: check-for-config-changes
Source34: check-supported-list
Source35: group-source-files.pl
Source37: README.SUSE
Source38: README.KSYMS
@ -316,16 +315,27 @@ fi
mkdir -p %kernel_build_dir
supported_conf() {
%_sourcedir/guards $* < %_sourcedir/supported.conf | \
sed 's,.*/,,; s,\.ko$,,' | sort -u
}
# Generate the list of modules to be marked as supported
{ supported_conf base
supported_conf --default=0 external | sed 's/$/ external/'
} > %kernel_build_dir/Module.supported
supported_conf --default=0 base >%kernel_build_dir/Module.base
# Generate a list of modules with their support status marking
%_sourcedir/guards --list --with-guards <%_sourcedir/supported.conf | \
awk '
/^\+(base|yes) / {
print $(NF);
next;
}
/^\+external / {
print $(NF) " external";
next;
}
/^[-+]/ {
print $(NF) " no";
next;
}
{
print $(NF);
}
' >%kernel_build_dir/Module.supported
%_sourcedir/guards --default=0 base < %_sourcedir/supported.conf | \
sed 's,.*/,,; s,\.ko$,,' | sort -u >%kernel_build_dir/Module.base
cd linux-%srcversion
@ -670,14 +680,6 @@ if [ %CONFIG_MODULES = y ]; then
make modules_install $MAKE_ARGS INSTALL_MOD_PATH=%buildroot
if ! %_sourcedir/check-supported-list \
%_sourcedir %buildroot/lib/modules/%kernelrelease-%build_flavor; then
%if %supported_modules_check
exit 1
%endif
echo "Consistency check error: please update supported.conf."
fi
%ifarch s390 s390x
if test -e arch/s390/boot/kerntypes.o; then
:
@ -730,10 +732,12 @@ if [ %CONFIG_MODULES = y ]; then
%_sourcedir/split-modules -d %buildroot \
-o %my_builddir \
-b %kernel_build_dir/Module.base \
%if ! %supported_modules_check
-i \
%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
-e \
%endif
%if ! %supported_modules_check
-i
%endif
-s %kernel_build_dir/Module.supported
%if ! %split_extra
cat %my_builddir/unsupported-modules >>%my_builddir/main-modules
%endif

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:316490905ecf500484d0888820e8adb0596f486fbbeb91658ae35a3a8520308b
size 128493
oid sha256:d08c8c6d009d158002c0345e14c354a24e482be5db65466d5dc57bbca1bc5798
size 129244

View File

@ -60,6 +60,8 @@
# kbuild/module infrastructure fixes
########################################################
patches.suse/supported-flag
patches.suse/supported-flag-underscores
patches.suse/supported-flag-wildcards
patches.suse/genksyms-add-override-flag.diff
patches.suse/kconfig-automate-kernel-desktop

View File

@ -60,6 +60,8 @@
# kbuild/module infrastructure fixes
########################################################
patches.suse/supported-flag
patches.suse/supported-flag-underscores
patches.suse/supported-flag-wildcards
patches.suse/genksyms-add-override-flag.diff
patches.suse/kconfig-automate-kernel-desktop

View File

@ -1,3 +1,3 @@
2013-10-03 18:11:00 +0200
GIT Revision: 468300e5f13e28922c090cd089f4812f3e4f022b
2013-10-04 20:14:16 +0200
GIT Revision: 1d0217b9cacdacc3fc3267a226971137c44d7281
GIT Branch: master

File diff suppressed because it is too large Load Diff