commit 1c2aaa5c797fabfd29562f85592cabd6465e6191
OBS-URL: https://build.opensuse.org/package/show/Kernel:stable/kernel-source?expand=0&rev=532
This commit is contained in:
parent
23459000cb
commit
05bf1ff37b
29
SLES-UEFI-SIGN-Certificate-2048.crt
Normal file
29
SLES-UEFI-SIGN-Certificate-2048.crt
Normal file
@ -0,0 +1,29 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIE/DCCA+SgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBpjEtMCsGA1UEAwwkU1VT
|
||||
RSBMaW51eCBFbnRlcnByaXNlIFNlY3VyZSBCb290IENBMQswCQYDVQQGEwJERTES
|
||||
MBAGA1UEBwwJTnVyZW1iZXJnMSEwHwYDVQQKDBhTVVNFIExpbnV4IFByb2R1Y3Rz
|
||||
IEdtYkgxEzARBgNVBAsMCkJ1aWxkIFRlYW0xHDAaBgkqhkiG9w0BCQEWDWJ1aWxk
|
||||
QHN1c2UuZGUwHhcNMTMwNDE4MTQzNDM0WhcNMjMwMjI1MTQzNDM0WjCBqzEyMDAG
|
||||
A1UEAwwpU1VTRSBMaW51eCBFbnRlcnByaXNlIFNlY3VyZSBCb290IFNpZ25rZXkx
|
||||
CzAJBgNVBAYTAkRFMRIwEAYDVQQHDAlOdXJlbWJlcmcxITAfBgNVBAoMGFNVU0Ug
|
||||
TGludXggUHJvZHVjdHMgR21iSDETMBEGA1UECwwKQnVpbGQgVGVhbTEcMBoGCSqG
|
||||
SIb3DQEJARYNYnVpbGRAc3VzZS5kZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC
|
||||
AQoCggEBAOVY/g3+3Bsa1JZ2hfU+7Fy28h0CKF0Sjqy8J4m9a8yKFoY6rb4hG9MK
|
||||
o4wnCJfPab9flWXRk4PFiouI+0nmLJX74U0sq8nKw3Ijl0UojuthXc6CeZH4hIF5
|
||||
HDoVhig3SfkUxdT1zZVF4mcYZ3Pf+UlROJ7JpY4sEhtYMY/DJW5qv2HwrzSw427V
|
||||
R1upA18U7ddMF5fKoN8vjKVihUFSNK/Up0tOWalxfcG5s9ugjbJgZULsjfcs2+8t
|
||||
og46QBjTaR7CtpmPbsaOJb1Z6BGDXsHV5GmaZG00TS0BwRn8mAQ1ske1eIpcqmBN
|
||||
q5Mlh6BVaufBot0nXJp9Vnnuib4napkCAwEAAaOCASwwggEoMAwGA1UdEwEB/wQC
|
||||
MAAwHQYDVR0OBBYEFD+wd7bOvG/yUi4cFIxXx3fHiOPnMIHTBgNVHSMEgcswgciA
|
||||
FOyrDULEVs93BDa5c5k4YpZehyYvoYGspIGpMIGmMS0wKwYDVQQDDCRTVVNFIExp
|
||||
bnV4IEVudGVycHJpc2UgU2VjdXJlIEJvb3QgQ0ExCzAJBgNVBAYTAkRFMRIwEAYD
|
||||
VQQHDAlOdXJlbWJlcmcxITAfBgNVBAoMGFNVU0UgTGludXggUHJvZHVjdHMgR21i
|
||||
SDETMBEGA1UECwwKQnVpbGQgVGVhbTEcMBoGCSqGSIb3DQEJARYNYnVpbGRAc3Vz
|
||||
ZS5kZYIBATAOBgNVHQ8BAf8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJ
|
||||
KoZIhvcNAQELBQADggEBAFEYo0sWgMCODHZEHWcoltp5RMcVj2DAYfw2NePbPqxW
|
||||
AmIgpMU0yG01JPbwJZu6dcuNeYoytgfDrSRLuloKm0JR8oR3+G7/oxbKQCxtMubB
|
||||
Qdflq7PIz73b/JSGiV5Pi77f9oAHijgnKEZrz4obs6sFp2gvuMvJ4w9jteCaofpq
|
||||
IDNhu7i2KFx4rC6FYF/p6V9xnVwOnZS1G56cJALfP/7kOD4k3TVSMiE2FCS3wLwR
|
||||
RI7VE0I/3oJHsi8CR++CT1BI02PI+EWgRcuW8jOzJ3+tYa77HCKpXNyIi7/L5QAK
|
||||
N5ZinPyv68tae+GHkL5U2FxLY365gABSXqXUA9mTquU=
|
||||
-----END CERTIFICATE-----
|
863
_buildconfig-standard-x86_64
Normal file
863
_buildconfig-standard-x86_64
Normal file
@ -0,0 +1,863 @@
|
||||
%define _project Devel:Kernel:SLE12
|
||||
|
||||
### from SUSE:SLE-12:GA
|
||||
%define _repository standard
|
||||
|
||||
Macros:
|
||||
%vendor obs://build.suse.de/Devel:Kernel
|
||||
%_project Devel:Kernel:SLE12
|
||||
|
||||
### from SUSE:SLE-12:GA
|
||||
|
||||
%_repository standard
|
||||
:Macros
|
||||
|
||||
%define gcc_version 48
|
||||
%define opensuse_bs 1
|
||||
|
||||
Constraint: linux:version:min 3.0.0
|
||||
%ifarch ppc64le %ix86 x86_64 s390 s390x ppc64le
|
||||
Constraint: sandbox kvm
|
||||
%endif
|
||||
%ifarch ppc64le
|
||||
Constraint: hostlabel PPC64LE_HOST
|
||||
Constraint: hostlabel POWER8
|
||||
%endif
|
||||
%ifarch aarch64
|
||||
Constraint: hardware:memory:size unit="M" 512
|
||||
Constraint: hostlabel aarch64_KVM_HOST
|
||||
%endif
|
||||
%ifarch %ix86 x86_64
|
||||
Constraint: hostlabel SLES12_x86_64_KVM_HOST
|
||||
%endif
|
||||
%ifarch i586 s390 s390x aarch64 x86_64 ppc64le
|
||||
VMInstall: kernel-obs-build
|
||||
%endif
|
||||
|
||||
Patterntype: rpm-md ymp
|
||||
%if "%_repository" == "images"
|
||||
Type: kiwi
|
||||
Repotype: none
|
||||
Patterntype: none
|
||||
Prefer: sles-release
|
||||
%endif
|
||||
|
||||
Substitute: kiwi-packagemanager:instsource kiwi-instsource cdrkit-cdrtools-compat syslinux dosfstools kiwi-instsource-plugins-SLE-12
|
||||
|
||||
Conflict: kiwi:libudev-mini1
|
||||
Conflict: kiwi:systemd-mini
|
||||
Conflict: libudev1:udev-mini
|
||||
Conflict: udev:udev-mini
|
||||
Conflict: sles-release:dummy-release
|
||||
|
||||
FileProvides: /usr/sbin/groupadd pwdutils
|
||||
FileProvides: /usr/sbin/useradd shadow
|
||||
FileProvides: /sbin/netconfig sysconfig-netconfig
|
||||
FileProvides: /usr/bin/docbook2man docbook-utils
|
||||
FileProvides: /usr/bin/mkisofs cdrkit-cdrtools-compat
|
||||
FileProvides: /usr/sbin/lockdev lockdev
|
||||
FileProvides: /bin/logger util-linux-systemd
|
||||
|
||||
Preinstall: aaa_base attr bash coreutils diffutils
|
||||
Preinstall: filesystem fillup glibc grep
|
||||
Preinstall: libbz2-1 libgcc_s1 m4 libncurses5 pam
|
||||
Preinstall: permissions libreadline6 rpm sed tar libz1 libselinux1
|
||||
Preinstall: liblzma5 libcap2 libacl1 libattr1
|
||||
Preinstall: libpopt0 libelf1 liblua5_1
|
||||
Preinstall: libpcre1 libsmartcols1
|
||||
#needed for preinstallimages
|
||||
Preinstall: perl
|
||||
|
||||
Runscripts: aaa_base
|
||||
|
||||
Order: libopenssl0_9_8:openssl-certs
|
||||
|
||||
Prefer: libdb-4_8-devel
|
||||
VMinstall: util-linux libmount1 perl-base libdb-4_8 libsepol1 libblkid1 libuuid1 net-tools
|
||||
|
||||
ExportFilter: \.x86_64\.rpm$ x86_64
|
||||
ExportFilter: \.ia64\.rpm$ ia64
|
||||
ExportFilter: \.s390x\.rpm$ s390x
|
||||
ExportFilter: \.ppc64\.rpm$ ppc64
|
||||
ExportFilter: \.ppc\.rpm$ ppc
|
||||
ExportFilter: -ia32-.*\.rpm$
|
||||
ExportFilter: -32bit-.*\.sparc64\.rpm$
|
||||
ExportFilter: -64bit-.*\.sparcv9\.rpm$
|
||||
ExportFilter: \.armv7l\.rpm$ armv7l
|
||||
ExportFilter: \.armv7hl\.rpm$ armv7l
|
||||
ExportFilter: ^glibc(?:-devel)?-32bit-.*\.sparc64\.rpm$ sparc64
|
||||
ExportFilter: ^glibc(?:-devel)?-64bit-.*\.sparcv9\.rpm$ sparcv9
|
||||
# it would be a great idea to have, but sometimes installation-images wants to build debuginfos in
|
||||
#ExportFilter: -debuginfo-.*\.rpm$
|
||||
#ExportFilter: -debugsource-.*\.rpm$
|
||||
#ExportFilter: ^master-boot-code.*\.i586.rpm$ . x86_64
|
||||
ExportFilter: ^acroread.*\.i586.rpm$ . x86_64
|
||||
ExportFilter: ^avmailgate.*\.i586.rpm$ . x86_64
|
||||
ExportFilter: ^avmailgate.*\.ppc.rpm$ . ppc64
|
||||
ExportFilter: ^avmailgate.*\.s390.rpm$ . s390x
|
||||
ExportFilter: ^novell-messenger-client.*\.i586.rpm$ . x86_64
|
||||
ExportFilter: ^openCryptoki-32bit.*\.s390.rpm$ . s390x
|
||||
ExportFilter: ^qemu-linux-user.*\.x86_64.rpm$ . aarch64
|
||||
ExportFilter: ^qemu-linux-user.*\.aarch64.rpm$
|
||||
# blacklist aarch64 (no-use-for-build)
|
||||
#ExportFilter: ^kernel-obs-build.*\.aarch64.rpm$
|
||||
ExportFilter: ^kernel-obs-build.*\.i586.rpm$
|
||||
ExportFilter: ^kernel-obs-build.*\.s390.rpm$
|
||||
ExportFilter: ^kernel-obs-build.*\.x86_64.rpm$ . i586
|
||||
ExportFilter: ^kernel-obs-build.*\.s390x.rpm$ . s390
|
||||
|
||||
#ifarch aarch64
|
||||
#Preinstall: qemu-linux-user
|
||||
#Runscripts: qemu-linux-user
|
||||
#Hostarch: x86_64
|
||||
#Macros:
|
||||
#%qemu_user_space_build 1
|
||||
#:Macros
|
||||
#%endif
|
||||
|
||||
Required: rpm-build
|
||||
|
||||
# needed for su's default config - perhaps we should use a simplified form?
|
||||
Support: pam-modules
|
||||
|
||||
# the basic stuff
|
||||
Support: perl build-mkbaselibs
|
||||
Support: brp-check-suse post-build-checks rpmlint-Factory
|
||||
%ifnarch aarch64
|
||||
Support: post-build-checks-malwarescan clamav-database clamav-nodb
|
||||
%endif
|
||||
# remove build-compare support to disable "same result" package dropping
|
||||
Support: build-compare
|
||||
# Extracting appdata.xml from desktop files
|
||||
Support: brp-extract-appdata
|
||||
|
||||
%ifnarch aarch64
|
||||
Support: icecream
|
||||
%endif
|
||||
|
||||
# trim the desktop files when building directly in factory
|
||||
%if "%_project" == "SUSE:SLE-12:GA"
|
||||
Support: brp-trim-desktopfiles
|
||||
%endif
|
||||
Support: rpmlint-Factory-strict
|
||||
|
||||
# testing deltas (only for O:F for now!)
|
||||
#Support: build-mkdrpms deltarpm
|
||||
|
||||
%ifarch ia64
|
||||
Support: libunwind libunwind-devel
|
||||
Preinstall: libunwind
|
||||
%endif
|
||||
|
||||
Prefer: libblkid1-mini libuuid1-mini libmount1-mini libsmartcols1-mini
|
||||
|
||||
Prefer: -openSUSE-build-key
|
||||
Prefer: krb5-mini krb5-mini-devel
|
||||
Conflict: krb5-devel:krb5-mini
|
||||
Conflict: krb5:krb5-mini-devel
|
||||
Prefer: libreadline5
|
||||
Prefer: libdb_java-4_8 libicu
|
||||
Prefer: cracklib-dict-small postfix
|
||||
Prefer: jta fam mozilla mozilla-nss
|
||||
Prefer: unixODBC libsoup glitz
|
||||
Prefer: gnome-panel desktop-data-SLE gnome2-SuSE
|
||||
Prefer: mono-nunit gecko-sharp2
|
||||
Prefer: apache2-prefork Mesa openmotif-libs ghostscript-mini ghostscript
|
||||
Prefer: gtk-sharp2 glib-sharp2 glade-sharp2
|
||||
Prefer: libzypp-zmd-backend novell-NLDAPsdk zaptel-kmp-default
|
||||
Prefer: hbedv-dazuko-kmp-default dazuko-kmp-default vmware-wkstnmods-kmp-default
|
||||
Prefer: virtualbox-kmp-default virtualbox-host-kmp-default
|
||||
Prefer: libstdc++6 libgcc_s1 libquadmath0
|
||||
Prefer: libstdc++6-32bit libstdc++6-64bit
|
||||
Prefer: libstdc++6-x86
|
||||
Prefer: libstdc++6-gcc%{gcc_version} libgcc_s1-gcc%{gcc_version} libgomp1-gcc%{gcc_version}
|
||||
%ifarch s390x
|
||||
Prefer: -libstdc++41
|
||||
%endif
|
||||
Prefer: libstroke
|
||||
# for symbol syslog (syslogd is best as it has the least dependencies)
|
||||
Prefer: syslog-service syslogd
|
||||
Prefer: gnome-sharp2:art-sharp2 gnome-sharp:art-sharp
|
||||
Prefer: ifolder3:gnome-sharp2 ifolder3:gconf-sharp2
|
||||
Prefer: nautilus-ifolder3:gnome-sharp2 inkscape:gtkmm24
|
||||
Prefer: gconf-sharp2:glade-sharp2 gconf-sharp:glade-sharp
|
||||
Prefer: gjdoc:antlr-bootstrap
|
||||
Prefer: tomboy:gconf-sharp2 tomboy:gnome-sharp2
|
||||
Prefer: zmd:libzypp-zmd-backend
|
||||
Prefer: yast2-packagemanager-devel:yast2-packagemanager
|
||||
Prefer: glitz-32bit:Mesa-32bit
|
||||
Prefer: poppler-tools
|
||||
Prefer: libjpeg8-devel libjpeg-turbo
|
||||
Prefer: banshee:banshee-engine-gst helix-banshee:helix-banshee-engine-gst
|
||||
Prefer: banshee-1:banshee-1-client-classic
|
||||
Prefer: libfam0
|
||||
Prefer: java-1_5_0-ibm:java-1_5_0-ibm-alsa
|
||||
Prefer: java-1_5_0-ibm:java-1_5_0-ibm-fonts
|
||||
Prefer: java-1_6_0-ibm:java-1_6_0-ibm-fonts
|
||||
Prefer: microcode_ctl:kernel-default
|
||||
Prefer: notification-daemon
|
||||
Prefer: pkg-config gtk-doc wlan-kmp-default lua-libs lua-devel
|
||||
Prefer: gnu-jaf classpathx-mail avahi-compat-mDNSResponder yast2-control-center-qt
|
||||
Prefer: vim-normal myspell-american wine
|
||||
Prefer: eclipse-platform eclipse-scripts
|
||||
Prefer: yast2-theme-SLE
|
||||
Prefer: amarok:amarok-xine
|
||||
Prefer: kdenetwork3-vnc:tightvnc
|
||||
Prefer: libgweather0 jessie ndesk-dbus ndesk-dbus-glib tomcat6-jsp-2_1-api tomcat6-servlet-2_5-api
|
||||
Prefer: icewm-lite
|
||||
Prefer: patterns-openSUSE-GNOME-cd:banshee
|
||||
Prefer: yast2-ncurses-pkg
|
||||
Prefer: monodevelop: mono-addins
|
||||
Prefer: ant-trax:saxon
|
||||
Prefer: gnome-session:gnome-session-branding-openSUSE
|
||||
Prefer: gnome-session:gconf2-branding-openSUSE
|
||||
Prefer: yast2-qt:yast2-qt-branding-openSUSE
|
||||
Prefer: bundle-lang-gnome:gnome-session-branding-openSUSE
|
||||
Prefer: fcitx:fcitx-branding-openSUSE
|
||||
Prefer: xfce4-notifyd:xfce4-notifyd-branding-upstream
|
||||
Prefer: exo-data:exo-branding-upstream
|
||||
Prefer: xfce4-settings:xfce4-settings-branding-upstream
|
||||
Prefer: xfdesktop:xfdesktop-branding-upstream
|
||||
Prefer: texlive-xmltex texlive-tools texlive-jadetex
|
||||
Prefer: mono-web:mono-data-sqlite
|
||||
Prefer: gnome-games:gnuchess
|
||||
Prefer: glchess:gnuchess
|
||||
Prefer: libreoffice:libreoffice-branding-upstream
|
||||
Prefer: yast2-branding-openSUSE
|
||||
Prefer: gimp:gimp-branding-upstream
|
||||
Prefer: libesd-devel:esound
|
||||
Prefer: libesd0:esound-daemon
|
||||
Prefer: package-lists-openSUSE-KDE-cd: esound-daemon
|
||||
Prefer: glib2:glib2-branding-upstream
|
||||
Prefer: libgio-2_0-0:gio-branding-upstream
|
||||
Prefer: libglib-2_0-0:glib2-branding-upstream
|
||||
Prefer: kdelibs4:kdelibs4-branding-upstream
|
||||
Prefer: kdebase4-workspace:kdebase4-workspace-branding-upstream
|
||||
Prefer: kdelibs4-branding:kdelibs4-branding-upstream
|
||||
Prefer: PackageKit:PackageKit-branding-upstream
|
||||
Prefer: lightdm-gtk-greeter:lightdm-gtk-greeter-branding-upstream
|
||||
Prefer: mysql-connector-java:java-1_5_0-gcj-compat
|
||||
Prefer: -geronimo-jta-1_0_1B-api -geronimo-jms-1_1-api -geronimo-el-1_0-api
|
||||
Prefer: rhino:xmlbeans-mini
|
||||
Prefer: ghostscript-devel:ghostscript-library
|
||||
Prefer: gdm:gdm-branding-upstream
|
||||
Prefer: rpcbind log4j-mini eclipse-source
|
||||
Prefer: mx4j:log4j-mini
|
||||
Prefer: podsleuth:sg3_utils
|
||||
Prefer: libcdio_cdda0 libcdio_paranoia0
|
||||
Prefer: mozilla-xulrunner191
|
||||
Prefer: mozilla-xulrunner191-32bit
|
||||
Prefer: boo tog-pegasus
|
||||
Prefer: kde4-kupdateapplet:kde4-kupdateapplet-zypp
|
||||
Prefer: kdebase4-workspace:kdebase4-workspace-ksysguardd
|
||||
Prefer: ant:xerces-j2
|
||||
Prefer: dhcp-client:dhcp
|
||||
Prefer: dummy-release
|
||||
# provides typelib(St)
|
||||
Prefer: -cinnamon
|
||||
Prefer: -bundle-lang-kde-de -bundle-lang-kde-en -bundle-lang-kde-es
|
||||
Prefer: -bundle-lang-kde-fr -bundle-lang-kde-pt -bundle-lang-kde-el
|
||||
Prefer: -bundle-lang-kde-zh -bundle-lang-kde-ja -bundle-lang-kde-ru -bundle-lang-kde-pl
|
||||
Prefer: -bundle-lang-kde-sv -bundle-lang-kde-ko -bundle-lang-kde-fi -bundle-lang-kde-da
|
||||
Prefer: -bundle-lang-kde-cs -bundle-lang-kde-nl -bundle-lang-kde-hu -bundle-lang-kde-nb
|
||||
Prefer: -bundle-lang-kde-it -bundle-lang-kde-ca -bundle-lang-kde-ar
|
||||
Prefer: -bundle-lang-gnome-es -bundle-lang-gnome-de -bundle-lang-gnome-fr
|
||||
Prefer: -bundle-lang-gnome-pt -bundle-lang-gnome-en -bundle-lang-gnome-el
|
||||
Prefer: -bundle-lang-gnome-zh -bundle-lang-gnome-ja -bundle-lang-gnome-ru -bundle-lang-gnome-cs
|
||||
Prefer: -bundle-lang-gnome-ko -bundle-lang-gnome-da -bundle-lang-gnome-nl -bundle-lang-gnome-hu
|
||||
Prefer: -bundle-lang-gnome-pl -bundle-lang-gnome-fi -bundle-lang-gnome-nb -bundle-lang-gnome-sv
|
||||
Prefer: -bundle-lang-gnome-it -bundle-lang-gnome-ca -bundle-lang-gnome-ar
|
||||
Prefer: -bundle-lang-gnome-extras-es -bundle-lang-gnome-extras-de -bundle-lang-gnome-extras-fr
|
||||
Prefer: -bundle-lang-gnome-extras-pt -bundle-lang-gnome-extras-en -bundle-lang-gnome-extras-el
|
||||
Prefer: -bundle-lang-gnome-extras-zh -bundle-lang-gnome-extras-ja -bundle-lang-gnome-extras-ru -bundle-lang-gnome-extras-cs
|
||||
Prefer: -bundle-lang-gnome-extras-ko -bundle-lang-gnome-extras-da -bundle-lang-gnome-extras-nl -bundle-lang-gnome-extras-hu
|
||||
Prefer: -bundle-lang-gnome-extras-pl -bundle-lang-gnome-extras-fi -bundle-lang-gnome-extras-nb -bundle-lang-gnome-extras-sv
|
||||
Prefer: -bundle-lang-gnome-extras-it -bundle-lang-gnome-extras-ca -bundle-lang-gnome-extras-ar
|
||||
Prefer: -bundle-lang-common-es -bundle-lang-common-de -bundle-lang-common-fr
|
||||
Prefer: -bundle-lang-common-pt -bundle-lang-common-en -bundle-lang-common-el
|
||||
Prefer: -bundle-lang-common-ja -bundle-lang-common-zh -bundle-lang-common-cs -bundle-lang-common-ru
|
||||
Prefer: -bundle-lang-common-nl -bundle-lang-common-hu -bundle-lang-common-pl -bundle-lang-common-da
|
||||
Prefer: -bundle-lang-common-ko -bundle-lang-common-nb -bundle-lang-common-fi -bundle-lang-common-sv
|
||||
Prefer: -bundle-lang-common-it -bundle-lang-common-ca -bundle-lang-common-ar
|
||||
Prefer: -libgcc-mainline -libstdc++-mainline -gcc-mainline-c++
|
||||
Prefer: -libgcj-mainline -viewperf -compat -compat-openssl097g
|
||||
Prefer: -zmd -libreoffice -pam-laus -libgcc-tree-ssa -busybox-links
|
||||
Prefer: -python-setuptools
|
||||
Prefer: -kdenetwork3-InstantMessenger
|
||||
Prefer: -icc-profiles
|
||||
Prefer: libsocialweb:libsocialweb-branding-upstream
|
||||
Prefer: gnome-panel:gnome-panel-branding-upstream
|
||||
Prefer: vala
|
||||
Prefer: wallpaper-branding-SLE
|
||||
# in doubt, take xerces
|
||||
Prefer: -crimson
|
||||
# in doubt, take higher versions
|
||||
Prefer: -rubygem-rack-1_1 -rubygem-rack-1_2 -rubygem-rack-1_3 -rubygem-tilt-1_1 -rubygem-rack-1_4
|
||||
Prefer: -rubygem-method_source-0_7 -rubygem-rails-2_3 -rubygem-activerecord-2_3
|
||||
Prefer: -rubygem-json_pure-1_5
|
||||
Prefer: geronimo-servlet-2_4-api
|
||||
Prefer: -libhdf5-0-openmpi -libhdf5_hl0-openmpi -libhdf5_hl8-openmpi -libhdf5-8-openmpi
|
||||
# for now gstream 0.10 is it
|
||||
Prefer: typelib-1_0-Gst-0_10 gstreamer-0_10-utils-unversioned gstreamer-0_10-utils typelib-1_0-GstInterfaces-0_10
|
||||
# prefer the small systemd for building
|
||||
Prefer: libudev-mini-devel libudev-mini1 udev-debuginfo libudev1-debuginfo
|
||||
Prefer: systemd-mini systemd-mini-devel
|
||||
Prefer: systemd-mini-devel:systemd-mini
|
||||
Prefer: udev-mini libcom_err2-mini libext2fs2-mini
|
||||
Prefer: libudev1:udev
|
||||
Prefer: xmlgraphics-commons:apache-commons-io
|
||||
# the -32bit stuff provides things it shouldn't (hopefully temporary)
|
||||
Prefer: -typelib-1_0-GdkPixbuf-2_0-32bit -typelib-1_0-Pango-1_0-32bit
|
||||
Prefer: postgresql postgresql-server
|
||||
Prefer: -unzip-rcc
|
||||
|
||||
# kernel bug (coolo)
|
||||
Prefer: kernel-default-devel
|
||||
|
||||
Prefer: wxWidgets-2_9-devel
|
||||
|
||||
Prefer: -NX -xaw3dd -db43
|
||||
Prefer: -xerces-j2-xml-resolver -xerces-j2-xml-apis
|
||||
Prefer: -vmware-player
|
||||
Prefer: libgcc_s1 libgcc_s1-32bit libgcc_s1-64bit
|
||||
Prefer: libffi%{gcc_version} libffi%{gcc_version}-devel
|
||||
Prefer: libgcc_s1-x86 libffi4 libgcj_bc1
|
||||
Prefer: libffi4-32bit libffi4-64bit
|
||||
Prefer: libgomp1 libgomp1-32bit libgomp1-64bit
|
||||
Prefer: libmudflap4 libmudflap4-32bit libmudflap4-64bit
|
||||
Prefer: libobjc4 libgfortran3 libquadmath0
|
||||
Prefer: -libnetpbm -libcdio7-mini -libiso9660-5-mini -libiso9660-7-mini -libcdio10-mini -libcdio12-mini
|
||||
Prefer: -libcdio-mini -faac-mini -libcdio-mini-devel
|
||||
Prefer: -seamonkey
|
||||
Prefer: -libdb-4_4-devel -libdb-4_5-devel -libevoldap-2_4-2
|
||||
Prefer: libopenal0-soft openal-soft -lsb-buildenv
|
||||
Prefer: -libevent
|
||||
Prefer: gnu-crypto libusb-compat-devel
|
||||
Prefer: libusb-0_1-4
|
||||
Prefer: CASA_auth_token_svc:xerces-j2
|
||||
Prefer: libreoffice:xerces-j2
|
||||
Prefer: k3b:libdvdread4
|
||||
Prefer: glibc-devel
|
||||
Prefer: -libpcap -libiniparser -loudmouth -libkonq4 -libnetcdf-4 -java-1_7_0-openjdk-javadoc -java-1_7_0-icedtea-javadoc
|
||||
%ifnarch %arm
|
||||
Prefer: -java-1_7_0-icedtea-devel
|
||||
%endif
|
||||
Prefer: NetworkManager:dhcp-client
|
||||
Prefer: kdebase3-SuSE:kdebase3
|
||||
Prefer: kde4-kdm:kde4-kdm-branding-upstream
|
||||
Prefer: kdm:kdm-branding-upstream
|
||||
Prefer: pcre-tools
|
||||
Prefer: libpopt0
|
||||
Prefer: -apache2-mod_perl -otrs -qa_apache_testsuite -ctcs2
|
||||
Prefer: libgnome-keyring-devel
|
||||
Prefer: linux-glibc-devel
|
||||
Prefer: squid sysvinit
|
||||
Prefer: libpng16-compat-devel
|
||||
Prefer: -python3 -python3-gobject-devel -python3-gobject2-devel -x11-video-fglrxG02 -libpng12-0
|
||||
Prefer: perl-Mail-SPF:perl-Error libldb0 -audit-libs mysql-community-server mysql-community-server-client
|
||||
#needed because new xml-commons package
|
||||
Prefer: xml-commons-resolver12 xml-commons-jaxp-1.3-apis
|
||||
Prefer: xmlgraphics-fop:xerces-j2
|
||||
Prefer: libxfce4ui:libxfce4ui-branding-upstream
|
||||
Prefer: libgarcon-1-0:libgarcon-branding-upstream
|
||||
Prefer: libgarcon-data:libgarcon-branding-upstream
|
||||
Prefer: libexo-1-0:libexo-1-0-branding-upstream
|
||||
Prefer: gnome-shell:mozilla-js20
|
||||
Prefer: cogl-devel
|
||||
Prefer: -perl-XML-SAX
|
||||
Prefer: gettext-tools-mini gettext-runtime-mini
|
||||
# choice p11-kit-nss-trust
|
||||
Prefer: mozilla-nss-certs
|
||||
# amarok dependency resolution
|
||||
Prefer: phonon-backend-gstreamer-0_10
|
||||
# replacing mkinitrd
|
||||
Prefer: dracut
|
||||
# replacing module-init-tools
|
||||
Prefer: kmod-compat
|
||||
|
||||
#additions ro 2014-06-23
|
||||
Prefer: typelib-1_0-Wnck-3_0
|
||||
#additions ro 2014-09-02
|
||||
Prefer: -cups154-libs -cups154-client -cups154
|
||||
|
||||
Ignore: java-1_7_0-openjdk:mozilla-nss
|
||||
Ignore: java-1_7_0-openjdk:java-ca-certificates
|
||||
Ignore: openSUSE-release:openSUSE-release-ftp,openSUSE-release-dvd5,openSUSE-release-biarch,openSUSE-release-livecdkde,openSUSE-release-livecdgnome
|
||||
Ignore: cracklib:cracklib-dict
|
||||
Ignore: aaa_base:aaa_skel,suse-release,logrotate,ash,distribution-release,udev
|
||||
Ignore: sysvinit:mingetty
|
||||
Ignore: gettext-tools:libgcj,libstdc++-devel,libgcj41,libstdc++41-devel,libgcj42,libstdc++42-devel
|
||||
Ignore: libgcj43,libstdc++43-devel
|
||||
Ignore: libgcj44,libstdc++44-devel
|
||||
Ignore: libgcj45,libstdc++45-devel
|
||||
Ignore: libgcj46,libstdc++46-devel
|
||||
Ignore: libgcj47,libstdc++47-devel
|
||||
Ignore: pwdutils:openslp
|
||||
Ignore: pam-modules:resmgr
|
||||
Ignore: rpm:suse-build-key,build-key
|
||||
Ignore: bind-utils:bind-libs
|
||||
Ignore: alsa:dialog,pciutils
|
||||
Ignore: portmap:syslogd
|
||||
Ignore: xorg-x11:x11-tools,resmgr,xkeyboard-config,xorg-x11-Mesa,libusb,freetype2,libjpeg,libpng
|
||||
Ignore: xorg-x11-server:xorg-x11-driver-input,xorg-x11-driver-video
|
||||
Ignore: apache2:logrotate
|
||||
Ignore: arts:alsa,audiofile,resmgr,libogg,libvorbis
|
||||
Ignore: kdelibs3:alsa,arts,OpenEXR,aspell,cups-libs,mDNSResponder-lib,krb5,libjasper
|
||||
Ignore: kdelibs3-devel:libvorbis-devel
|
||||
Ignore: kdebase3:kdebase3-ksysguardd,OpenEXR,dbus-1,dbus-1-qt,hal,powersave,openslp,libusb
|
||||
Ignore: kdebase3-SuSE:release-notes
|
||||
Ignore: jack:alsa,libsndfile
|
||||
Ignore: libxml2-devel:readline-devel
|
||||
Ignore: gnome-vfs2:gnome-mime-data,desktop-file-utils,cdparanoia,dbus-1,dbus-1-glib,hal,libsmbclient,fam,file_alteration
|
||||
Ignore: libgda:file_alteration
|
||||
Ignore: gnutls:lzo,libopencdk
|
||||
Ignore: gnutls-devel:lzo-devel,libopencdk-devel
|
||||
Ignore: pango:cairo,glitz,libpixman,libpng
|
||||
Ignore: pango-devel:cairo-devel
|
||||
Ignore: cairo-devel:libpixman-devel
|
||||
Ignore: libgnomeprint:libgnomecups
|
||||
Ignore: libgnomeprintui:libgnomecups
|
||||
Ignore: orbit2-devel:indent
|
||||
Ignore: qt3:libmng
|
||||
Ignore: qt-sql:qt_database_plugin
|
||||
Ignore: gtk2:libpng,libtiff
|
||||
Ignore: libgnomecanvas-devel:glib-devel
|
||||
Ignore: libgnomeui:gnome-icon-theme,shared-mime-info
|
||||
Ignore: scrollkeeper:docbook_4
|
||||
Ignore: gnome-desktop:libgnomesu,startup-notification
|
||||
Ignore: python-devel:python-tk
|
||||
Ignore: gnome-pilot:gnome-panel
|
||||
Ignore: gnome-panel:control-center2
|
||||
Ignore: gnome-menus:kdebase3
|
||||
Ignore: gnome-main-menu:rug
|
||||
Ignore: libbonoboui:gnome-desktop
|
||||
Ignore: libxfce4ui-1-0:exo-tools
|
||||
Ignore: docbook_4:iso_ent,xmlcharent
|
||||
Ignore: control-center2:nautilus,evolution-data-server,gnome-menus,gstreamer-plugins,gstreamer,metacity,mozilla-nspr,mozilla,libxklavier,gnome-desktop,startup-notification
|
||||
Ignore: docbook-xsl-stylesheets:xmlcharent
|
||||
Ignore: liby2util-devel:libstdc++-devel,openssl-devel
|
||||
Ignore: yast2:yast2-ncurses,yast2_theme,perl-Config-Crontab,yast2-xml,SuSEfirewall2
|
||||
Ignore: yast2-core:netcat,hwinfo,wireless-tools,sysfsutils
|
||||
Ignore: yast2-core-devel:libxcrypt-devel,hwinfo-devel,blocxx-devel,sysfsutils,libstdc++-devel
|
||||
Ignore: yast2-packagemanager-devel:rpm-devel,curl-devel,openssl-devel
|
||||
Ignore: yast2-devtools:libxslt
|
||||
Ignore: yast2-iscsi-lio-server:lio-utils
|
||||
Ignore: yast2-installation:yast2-update,yast2-mouse,yast2-country,yast2-bootloader,yast2-packager,yast2-network,yast2-online-update,yast2-users,release-notes,autoyast2-installation
|
||||
Ignore: yast2-bootloader:bootloader-theme
|
||||
Ignore: yast2-packager:yast2-x11,libyui_pkg
|
||||
# not during build
|
||||
Ignore: yui_backend
|
||||
Ignore: yast2-x11:sax2-libsax-perl
|
||||
Ignore: yast2-network:yast2-inetd
|
||||
Ignore: openslp-devel:openssl-devel
|
||||
Ignore: java-1_4_2-sun:xorg-x11-libs
|
||||
Ignore: java-1_4_2-sun-devel:xorg-x11-libs
|
||||
Ignore: tetex:xorg-x11-libs,expat,fontconfig,freetype2,libjpeg,ghostscript-x11,xaw3d,gd,dialog,ed
|
||||
Ignore: texlive-bin:ghostscript-x11
|
||||
Ignore: texlive-bin-omega:ghostscript-x11
|
||||
Ignore: yast2-country:yast2-trans-stats
|
||||
Ignore: tpb:tpctl-kmp
|
||||
Ignore: tpctl:tpctl-kmp
|
||||
Ignore: zaptel:zaptel-kmp
|
||||
Ignore: mkinitrd:pciutils
|
||||
Ignore: pciutils:pciutils-ids
|
||||
Ignore: postfix:iproute2
|
||||
Ignore: aaa_base:systemd
|
||||
Ignore: gpm:systemd
|
||||
Ignore: ConsoleKit:systemd
|
||||
Ignore: openssh:systemd
|
||||
Ignore: cronie:systemd
|
||||
Ignore: systemd:kbd
|
||||
Ignore: systemd:kmod
|
||||
Ignore: systemd:systemd-presets-branding
|
||||
Ignore: systemd:dbus-1
|
||||
Ignore: systemd:pam-config
|
||||
Ignore: systemd:udev
|
||||
Ignore: pesign:systemd
|
||||
Ignore: systemd-mini:this-is-only-for-build-envs
|
||||
Ignore: udev-mini:this-is-only-for-build-envs
|
||||
Ignore: libudev-mini1:this-is-only-for-build-envs
|
||||
Ignore: polkit:ConsoleKit
|
||||
Ignore: logrotate:cron
|
||||
Ignore: texlive-filesystem:cron
|
||||
Ignore: xinit:xterm
|
||||
Ignore: xdm:xterm
|
||||
Ignore: gnome-control-center:gnome-themes-accessibility
|
||||
Ignore: coreutils:info
|
||||
Ignore: cpio:info
|
||||
Ignore: diffutils:info
|
||||
Ignore: findutils:info
|
||||
Ignore: gawk:info
|
||||
Ignore: grep:info
|
||||
Ignore: groff:info
|
||||
Ignore: m4:info
|
||||
Ignore: sed:info
|
||||
Ignore: tar:info
|
||||
Ignore: util-linux:info
|
||||
Ignore: util-linux-mini:info
|
||||
Ignore: gettext-tools:info
|
||||
Ignore: gettext-runtime:info
|
||||
Ignore: libgcrypt-devel:info
|
||||
Ignore: binutils:info
|
||||
Ignore: gzip:info
|
||||
Ignore: make:info
|
||||
Ignore: bison:info
|
||||
Ignore: flex:info
|
||||
Ignore: help2man:info
|
||||
Ignore: man:groff-full
|
||||
Ignore: git-core:rsync
|
||||
Ignore: apache2:systemd
|
||||
Ignore: icewm-lite:icewm
|
||||
Ignore: cluster-glue:sudo
|
||||
|
||||
Ignore: libgcc:glibc-32bit
|
||||
Ignore: libgcc41:glibc-32bit
|
||||
Ignore: libgcc42:glibc-32bit
|
||||
Ignore: libgcc43:glibc-32bit
|
||||
Ignore: libgcc44:glibc-32bit
|
||||
Ignore: libgcc45:glibc-32bit
|
||||
Ignore: libgcc46:glibc-32bit
|
||||
Ignore: libgcc47:glibc-32bit
|
||||
Ignore: libstdc++:glibc-32bit
|
||||
Ignore: libstdc41++:glibc-32bit
|
||||
Ignore: libstdc42++:glibc-32bit
|
||||
Ignore: libstdc43++:glibc-32bit
|
||||
Ignore: libstdc44++:glibc-32bit
|
||||
Ignore: libstdc45++:glibc-32bit
|
||||
Ignore: libstdc46++:glibc-32bit
|
||||
Ignore: libstdc47++:glibc-32bit
|
||||
Ignore: ncurses-32bit
|
||||
|
||||
Ignore: susehelp:susehelp_lang,suse_help_viewer
|
||||
Ignore: mailx:smtp_daemon
|
||||
Ignore: cron:smtp_daemon
|
||||
Ignore: hotplug:syslog
|
||||
Ignore: pcmcia:syslog
|
||||
Ignore: openct:syslog
|
||||
Ignore: postfix:sysvinit(syslog)
|
||||
Ignore: cups:sysvinit(syslog)
|
||||
Ignore: avalon-logkit:servlet
|
||||
Ignore: jython:servlet
|
||||
Ignore: ispell:ispell_dictionary,ispell_english_dictionary
|
||||
Ignore: aspell:aspel_dictionary,aspell_dictionary
|
||||
Ignore: smartlink-softmodem:kernel,kernel-nongpl
|
||||
Ignore: libreoffice-de:myspell-german-dictionary
|
||||
Ignore: libreoffice:libreoffice-i18n
|
||||
Ignore: libreoffice:libreoffice-icon-themes
|
||||
Ignore: mediawiki:php-session,php-gettext,php-zlib,php-mysql,mod_php_any
|
||||
Ignore: squirrelmail:mod_php_any,php-session,php-gettext,php-iconv,php-mbstring,php-openssl
|
||||
Ignore: perl-Log-Log4perl:rrdtool
|
||||
|
||||
Ignore: simias:mono(log4net)
|
||||
Ignore: zmd:mono(log4net)
|
||||
Ignore: horde:mod_php_any,php-gettext,php-mcrypt,php-imap,php-pear-log,php-pear,php-session,php
|
||||
|
||||
Ignore: xerces-j2:xml-commons-apis,xml-commons-resolver
|
||||
Ignore: xdg-menu:desktop-data
|
||||
Ignore: nessus-libraries:nessus-core
|
||||
Ignore: evolution:yelp
|
||||
Ignore: e17:e17-branding e17:e17-theme
|
||||
|
||||
Ignore: mono-tools:mono(gconf-sharp),mono(glade-sharp),mono(gnome-sharp),mono(gtkhtml-sharp),mono(atk-sharp),mono(gdk-sharp),mono(glib-sharp),mono(gtk-sharp),mono(pango-sharp)
|
||||
Ignore: gecko-sharp2:mono(glib-sharp),mono(gtk-sharp)
|
||||
|
||||
Ignore: vcdimager:libcdio.so.6,libcdio.so.6(CDIO_6),libiso9660.so.4,libiso9660.so.4(ISO9660_4)
|
||||
Ignore: libcdio:libcddb.so.2
|
||||
|
||||
Ignore: gnome-libs:libgnomeui
|
||||
Ignore: nautilus:gnome-themes
|
||||
Ignore: gnome-panel:gnome-themes
|
||||
Ignore: gnome-panel:tomboy
|
||||
Ignore: NetworkManager:NetworkManager-client
|
||||
Ignore: libbeagle:beagle
|
||||
Ignore: coreutils:coreutils-lang
|
||||
Ignore: cpio:cpio-lang
|
||||
Ignore: glib2:glib2-lang
|
||||
Ignore: gtk2:gtk2-lang
|
||||
Ignore: gtk:gtk-lang
|
||||
Ignore: atk:atk-lang
|
||||
Ignore: hal:pm-utils
|
||||
Ignore: MozillaThunderbird:pinentry-dialog
|
||||
Ignore: seamonkey:pinentry-dialog
|
||||
Ignore: pinentry:pinentry-dialog
|
||||
Ignore: gpg2:gpg2-lang
|
||||
Ignore: util-linux:util-linux-lang
|
||||
Ignore: util-linux-mini:util-linux-mini-lang
|
||||
Ignore: suseRegister:distribution-release
|
||||
Ignore: compiz:compiz-decorator
|
||||
Ignore: icecream:gcc-c++
|
||||
Ignore: no
|
||||
Ignore: package
|
||||
Ignore: provides
|
||||
Ignore: j9vm/libjvm.so()(64bit)
|
||||
Ignore: kdepim3:suse_help_viewer
|
||||
Ignore: kdebase3-SuSE:kdebase3-SuSE-branding
|
||||
Ignore: kio_sysinfo:kdebase3-SuSE-branding
|
||||
Ignore: gnome-menus:gnome-menus-branding
|
||||
Ignore: epiphany:epiphany-branding
|
||||
Ignore: gnome-control-center:gnome-control-center-branding
|
||||
Ignore: phonon:phonon-backend
|
||||
Ignore: openwbem-devel
|
||||
Ignore: MozillaFirefox:MozillaFirefox-branding
|
||||
Ignore: yast2:yast2-branding
|
||||
Ignore: plymouth:plymouth-branding
|
||||
Ignore: plymouth:suspend
|
||||
Ignore: yast2-qt:yast2-branding
|
||||
Ignore: yast2-theme-SLE:yast2-branding
|
||||
Ignore: yast2-registration:yast2-registration-branding
|
||||
Ignore: compiz:compiz-branding
|
||||
Ignore: texlive:perl-Tk texlive-bin:perl-Tk
|
||||
Ignore: xfce4-desktop:xfce4-desktop-branding
|
||||
Ignore: xfce4-panel:xfce4-panel-branding
|
||||
Ignore: xfce4-session:xfce4-session-branding
|
||||
Ignore: kdebase4-runtime:kdebase4-runtime-branding
|
||||
Ignore: kwin:kdebase4-workspace-branding
|
||||
Ignore: pulseaudio:kernel
|
||||
Ignore: transmission-common:transmission-ui
|
||||
Ignore: mutter-moblin:moblin-branding
|
||||
Ignore: sysvinit-tools:mkinitrd cifs-utils:mkinitrd
|
||||
Ignore: mkinitrd:sbin_init
|
||||
Ignore: opensc:pinentry
|
||||
Ignore: gpg2:pinentry
|
||||
Ignore: NetworkManager:dhcp
|
||||
Ignore: NetworkManager:iproute2
|
||||
# sysconfig requires it at runtime, not buildtime
|
||||
Ignore: sysconfig:dbus-1
|
||||
Ignore: sysconfig:procps
|
||||
Ignore: sysconfig:iproute2
|
||||
Ignore: sysconfig-network:iproute2
|
||||
Ignore: sysconfig:tunctl
|
||||
# no build dependencies
|
||||
Ignore: libksuseinstall1:yast2-packager
|
||||
Ignore: libksuseinstall1:zypper
|
||||
Ignore: syslog-service:logrotate
|
||||
Ignore: libglue-devel:cluster-glue
|
||||
Ignore: libqca2:gpg2
|
||||
Ignore: NetworkManager:wpa_supplicant
|
||||
Ignore: NetworkManager:dhcp-client
|
||||
Ignore: openSUSE-release:product_flavor(openSUSE)
|
||||
Ignore: sles-release:product_flavor(SLES)
|
||||
Ignore: autoyast2:yast2-schema
|
||||
Ignore: libgio-2_0-0:dbus-1-x11
|
||||
Ignore: weather-wallpaper:inkscape
|
||||
Ignore: libgamin-1-0:gamin-server
|
||||
Ignore: libfam0-gamin:gamin-server
|
||||
Ignore: avahi:sysvinit(network)
|
||||
Ignore: sysconfig:sysvinit(network)
|
||||
|
||||
%ifarch %arm
|
||||
Prefer: java-1_7_0-icedtea java-1_7_0-icedtea-devel
|
||||
%else
|
||||
Prefer: java-1_7_0-openjdk java-1_7_0-openjdk-devel
|
||||
%endif
|
||||
|
||||
Prefer: -java-1_5_0-gcj-compat-devel
|
||||
Prefer: -java-1_6_0-ibm-devel
|
||||
%ifarch %ix86 x86_64
|
||||
Prefer: -java-1_5_0-ibm-devel
|
||||
%endif
|
||||
|
||||
%ifarch %arm
|
||||
Substitute: java2-devel-packages java-1_7_0-icedtea-devel
|
||||
%else
|
||||
Substitute: java2-devel-packages java-1_7_0-openjdk-devel
|
||||
%endif
|
||||
|
||||
%ifarch x86_64 ppc64 s390x sparc64
|
||||
Substitute: glibc-devel-32bit glibc-devel-32bit glibc-32bit
|
||||
%else
|
||||
%ifarch ppc sparc sparcv9
|
||||
Substitute: glibc-devel-32bit glibc-devel-64bit
|
||||
%else
|
||||
Substitute: glibc-devel-32bit
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%ifarch %ix86
|
||||
Substitute: kernel-binary-packages kernel-default kernel-smp kernel-bigsmp kernel-debug kernel-xen
|
||||
%endif
|
||||
%ifarch ia64
|
||||
Substitute: kernel-binary-packages kernel-default kernel-debug
|
||||
%endif
|
||||
%ifarch x86_64
|
||||
Substitute: kernel-binary-packages kernel-default kernel-smp kernel-xen
|
||||
%endif
|
||||
%ifarch ppc
|
||||
Substitute: kernel-binary-packages kernel-default kernel-ppc64 kernel-ps3
|
||||
%endif
|
||||
%ifarch ppc64
|
||||
Substitute: kernel-binary-packages kernel-default kernel-ppc64
|
||||
%endif
|
||||
%ifarch s390
|
||||
Substitute: kernel-binary-packages kernel-s390
|
||||
%endif
|
||||
%ifarch s390x
|
||||
Substitute: kernel-binary-packages kernel-default
|
||||
%endif
|
||||
|
||||
Optflags: i586 -fomit-frame-pointer -fmessage-length=0 -grecord-gcc-switches -fstack-protector
|
||||
Optflags: i686 -march=i686 -mtune=generic -fomit-frame-pointer -fmessage-length=0 -grecord-gcc-switches -fstack-protector
|
||||
Optflags: x86_64 -fmessage-length=0 -grecord-gcc-switches -fstack-protector
|
||||
Optflags: ppc -fmessage-length=0 -grecord-gcc-switches -fstack-protector
|
||||
Optflags: ppc64 -fmessage-length=0 -grecord-gcc-switches -fstack-protector
|
||||
Optflags: ppc64le -fmessage-length=0 -grecord-gcc-switches -fstack-protector
|
||||
Optflags: ia64 -fmessage-length=0 -grecord-gcc-switches -fstack-protector
|
||||
Optflags: s390 -fmessage-length=0 -grecord-gcc-switches -fstack-protector
|
||||
Optflags: s390x -fmessage-length=0 -grecord-gcc-switches -fstack-protector
|
||||
Optflags: armv5el -fmessage-length=0 -grecord-gcc-switches -fstack-protector
|
||||
Optflags: armv5tel -fmessage-length=0 -grecord-gcc-switches -fstack-protector
|
||||
Optflags: armv7l -fmessage-length=0 -grecord-gcc-switches -fstack-protector
|
||||
Optflags: armv7hl -fmessage-length=0 -grecord-gcc-switches -fstack-protector
|
||||
Optflags: aarch64 -fmessage-length=0 -grecord-gcc-switches -fstack-protector
|
||||
# need mcpu=ultrasparc to complete sparcv8plus to sparcv9 (adds, for example, atomic ops)
|
||||
Optflags: sparcv9 -fmessage-length=0 -grecord-gcc-switches -mcpu=ultrasparc -fstack-protector
|
||||
Optflags: sparc64 -fmessage-length=0 -grecord-gcc-switches -mcpu=ultrasparc -fstack-protector
|
||||
%ifarch sparcv9
|
||||
Target: sparcv9
|
||||
%endif
|
||||
|
||||
Optflags: * -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables
|
||||
|
||||
%define suse_version 1315
|
||||
%define _without_mono 1
|
||||
%define _without_vlc 1
|
||||
%define _without_compat_libs 1
|
||||
%define _with_ruby21 1
|
||||
|
||||
%define rb_default_ruby ruby21
|
||||
%define rb_default_ruby_suffix ruby2.1
|
||||
%define rb_default_ruby_abi ruby:2.1.0
|
||||
|
||||
%define rb_build_ruby_abis ruby:2.1.0
|
||||
%define rb_build_versions ruby21
|
||||
|
||||
#Prefer: rubygem(%{rb_default_ruby_abi}:gem2rpm)
|
||||
Prefer: %{rb_default_ruby_suffix}-rubygem-gem2rpm
|
||||
|
||||
Macros:
|
||||
%insserv_prereq insserv sed
|
||||
%fillup_prereq fillup coreutils grep diffutils
|
||||
%suseconfig_fonts_prereq perl aaa_base
|
||||
%install_info_prereq info
|
||||
%kernel_module_package_buildreq kmod-compat kernel-syms
|
||||
%kernel_module_package_buildreqs kmod-compat kernel-syms
|
||||
%maintenance_vendor SUSE LLC <https://www.suse.com/>
|
||||
%maintenance_distribution SUSE Linux Enterprise 12
|
||||
|
||||
%suse_version 1315
|
||||
%sles_version 0
|
||||
%ul_version 0
|
||||
%do_profiling 1
|
||||
%opensuse_bs 1
|
||||
%_without_mono 1
|
||||
%_without_vlc 1
|
||||
%_without_compat_libs 1
|
||||
%_with_ruby21 1
|
||||
%rb_default_ruby ruby21
|
||||
%rb_default_ruby_suffix ruby2.1
|
||||
%rb_default_ruby_abi ruby:2.1.0
|
||||
|
||||
%rb_build_ruby_abis ruby:2.1.0
|
||||
%rb_build_versions ruby21
|
||||
|
||||
%rubygemsruby21() rubygem(ruby:2.1.0:%{expand:%%rubygemsx%*} %{expand:%%{rubygems%*}}
|
||||
%rubygemsxruby21() %{expand:%%{rubygemsx%*}}
|
||||
#
|
||||
%rubygemsruby22() rubygem(ruby:2.2.0:%{expand:%%rubygemsx%*} %{expand:%%{rubygems%*}}
|
||||
%rubygemsxruby22() %{expand:%%{rubygemsx%*}}
|
||||
#
|
||||
%rubygem() %{expand:%%{rubygems%rb_build_versions STOP %*}}
|
||||
%rubygemsSTOP() %nil
|
||||
%rubygemsxSTOP() %{expand:%%rubygemsxxSTOP -a %*}
|
||||
%rubygemsxxSTOP(a:) %{-a*}) %*
|
||||
#
|
||||
%rubyruby21() ruby2.1 %{expand:%%rubyx%*} %{expand:%%{ruby%*}}
|
||||
%rubyxruby21() %{expand:%%{rubyx%*}}
|
||||
#
|
||||
%rubyruby22() ruby2.2 %{expand:%%rubyx%*} %{expand:%%{ruby%*}}
|
||||
%rubyxruby22() %{expand:%%{rubyx%*}}
|
||||
#
|
||||
%rubySTOP() %nil
|
||||
%rubyxSTOP() %*
|
||||
#
|
||||
%ruby() %{expand:%%{ruby%rb_build_versions STOP %*}}
|
||||
#
|
||||
%rubydevelruby21() ruby2.1-devel %{expand:%%rubydevelx%*} %{expand:%%{rubydevel%*}}
|
||||
%rubydevelxruby21() %{expand:%%{rubydevelx%*}}
|
||||
#
|
||||
%rubydevelruby22() ruby2.2-devel %{expand:%%rubydevelx%*} %{expand:%%{rubydevel%*}}
|
||||
%rubydevelxruby22() %{expand:%%{rubydevelx%*}}
|
||||
#
|
||||
%rubydevel() %{expand:%%{rubydevel%rb_build_versions STOP %*}}
|
||||
#
|
||||
%rubydevelSTOP() %nil
|
||||
%rubydevelxSTOP() %*
|
||||
|
||||
%_vendor suse
|
||||
|
||||
# define which gcc package builds the system libraries
|
||||
%product_libs_gcc_ver 48
|
||||
|
||||
%ext_info .gz
|
||||
%ext_man .gz
|
||||
|
||||
%info_add(:-:) test -x /sbin/install-info -a -f %{?2}%{?!2:%{_infodir}}/%{1}%ext_info && /sbin/install-info --info-dir=%{?2}%{?!2:%{_infodir}} %{?2}%{?!2:%{_infodir}}/%{1}%ext_info \
|
||||
%{nil}
|
||||
|
||||
%info_del(:-:) test -x /sbin/install-info -a ! -f %{?2}%{?!2:%{_infodir}}/%{1}%ext_info && /sbin/install-info --quiet --delete --info-dir=%{?2}%{?!2:%{_infodir}} %{?2}%{?!2:%{_infodir}}/%{1}%ext_info \
|
||||
%{nil}
|
||||
:Macros
|
||||
|
||||
%define sle_version 120000
|
||||
|
||||
Macros:
|
||||
%sle_version 120000
|
||||
:Macros
|
||||
|
||||
|
||||
### from SUSE:SLE-12:Update
|
||||
%define _repository standard
|
||||
%if "%_project" == "SUSE:SLE-12:Update" || "%_project" == "SUSE:SLE-12-SP1:Update" ||"%_project" == "SUSE:SLE-12-SP2:Update" ||"%_project" == "SUSE:SLE-12-SP3:Update" || "%_project" == "SUSE:SLE-12-SP4:Update"
|
||||
SingleExport: true
|
||||
RepoType: rpm-md singleexport
|
||||
%endif
|
||||
|
||||
Prefer: libgcc_s1 libstdc++6 libitm1 libatomic1 libtsan0
|
||||
Prefer: libitm1-32bit libatomic1-32bit
|
||||
Prefer: -ruby2.1-rubygem-i18n
|
||||
# prefer over ruby2.1-rubygem-hike-1_2 ... mistake
|
||||
Prefer: ruby2.1-rubygem-hike
|
||||
|
||||
Substitute: clamav-database:clamav-nodb clamav-database:clamav
|
||||
Support: !clamav-nodb clamav
|
||||
|
||||
Substitute: kiwi-packagemanager:instsource kiwi-instsource cdrkit-cdrtools-compat syslinux mtools dosfstools kiwi-instsource-plugins-SLE-12
|
||||
|
||||
ExportFilter: ^kernel-obs-build.*\.aarch64.rpm$
|
||||
|
||||
|
||||
### from Devel:Kernel:SLE12
|
||||
%define _repository standard
|
||||
Substitute: kernel-dummy
|
||||
Substitute: post-build-checks
|
||||
Substitute: rpmlint-Factory
|
||||
Support: icecream
|
||||
|
||||
Macros:
|
||||
|
||||
### from SUSE:SLE-12:Update
|
||||
%_repository standard
|
||||
%product_libs_gcc_ver_libasan0 48
|
||||
%product_libs_gcc_ver_libgcj_bc1 48
|
||||
%product_libs_gcc_ver_libobjc4 48
|
||||
%product_libs_gcc_ver 5
|
||||
|
||||
|
||||
%distribution Devel:Kernel:SLE12
|
||||
%_project Devel:Kernel:SLE12
|
||||
|
||||
### from Devel:Kernel:SLE12
|
||||
%_repository standard
|
||||
%opensuse_bs 1
|
||||
%is_kotd 1
|
||||
%ignore_kabi_badness 1
|
135
_buildinfo-standard-x86_64.xml
Normal file
135
_buildinfo-standard-x86_64.xml
Normal file
@ -0,0 +1,135 @@
|
||||
<buildinfo project="Devel:Kernel:SLE12" repository="standard" downloadurl="http://download.suse.de/ibs">
|
||||
<arch>x86_64</arch>
|
||||
<debuginfo>1</debuginfo>
|
||||
<subpack>kernel-default</subpack>
|
||||
<subpack>kernel-default-base</subpack>
|
||||
<subpack>kernel-default-extra</subpack>
|
||||
<subpack>kernel-default-devel</subpack>
|
||||
<bdep name="aaa_base" preinstall="1" runscripts="1" notmeta="1" version="13.2+git20140911.61c1681" release="15.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="attr" preinstall="1" notmeta="1" version="2.4.47" release="3.143" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="bash" preinstall="1" notmeta="1" version="4.2" release="77.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="coreutils" preinstall="1" version="8.22" release="9.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="diffutils" preinstall="1" notmeta="1" version="3.3" release="5.40" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="filesystem" preinstall="1" notmeta="1" version="13.1" release="11.13" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="fillup" preinstall="1" notmeta="1" version="1.42" release="270.64" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="glibc" preinstall="1" notmeta="1" version="2.19" release="22.13.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="grep" preinstall="1" notmeta="1" version="2.16" release="3.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="libbz2-1" preinstall="1" notmeta="1" version="1.0.6" release="29.2" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="libgcc_s1" preinstall="1" notmeta="1" version="5.3.1+r233831" release="9.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="m4" preinstall="1" notmeta="1" version="1.4.16" release="15.74" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libncurses5" preinstall="1" notmeta="1" version="5.9" release="40.124" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="pam" preinstall="1" notmeta="1" version="1.1.8" release="14.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="permissions" preinstall="1" notmeta="1" version="2015.09.28.1626" release="10.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="libreadline6" preinstall="1" notmeta="1" version="6.2" release="77.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="rpm" preinstall="1" notmeta="1" version="4.11.2" release="10.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="sed" preinstall="1" notmeta="1" version="4.2.2" release="6.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="tar" preinstall="1" notmeta="1" version="1.27.1" release="8.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="libz1" preinstall="1" notmeta="1" version="1.2.8" release="5.1" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libselinux1" preinstall="1" notmeta="1" version="2.3" release="4.6" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="liblzma5" preinstall="1" notmeta="1" version="5.0.5" release="4.852" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libcap2" preinstall="1" notmeta="1" version="2.22" release="13.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="libacl1" preinstall="1" notmeta="1" version="2.2.52" release="6.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="libattr1" preinstall="1" notmeta="1" version="2.4.47" release="3.143" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libpopt0" preinstall="1" notmeta="1" version="1.16" release="26.128" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libelf1" preinstall="1" notmeta="1" version="0.158" release="6.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="liblua5_1" preinstall="1" notmeta="1" version="5.1.5" release="7.127" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libpcre1" preinstall="1" notmeta="1" version="8.33" release="3.314" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libsmartcols1" preinstall="1" notmeta="1" version="2.25" release="24.3.2" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="perl" preinstall="1" notmeta="1" version="5.18.2" release="3.7" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="kernel-obs-build" vminstall="1" notmeta="1" version="3.12.55" release="52.42.2" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="util-linux" vminstall="1" version="2.25" release="24.3.2" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="libmount1" vminstall="1" version="2.25" release="24.3.2" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="perl-base" vminstall="1" version="5.18.2" release="3.7" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libdb-4_8" vminstall="1" notmeta="1" version="4.8.30" release="27.206" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libsepol1" vminstall="1" version="2.3" release="1.476" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libblkid1" vminstall="1" version="2.25" release="24.3.2" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="libuuid1" vminstall="1" version="2.25" release="24.3.2" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="net-tools" vminstall="1" version="1.60" release="764.185" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="bc" version="1.06.95" release="6.56" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="fdupes" version="1.50" release="5.97" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="hmaccalc" version="0.9.13" release="2.3" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libopenssl-devel" version="1.0.1i" release="27.16.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="openssl" version="1.0.1i" release="27.16.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="pesign-obs-integration" version="10.0" release="29.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="rpm-build" version="4.11.2" release="10.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="info" version="4.13a" release="37.229" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libgmp10" version="5.1.3" release="2.121" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="mozilla-nss" version="3.20.2" release="40.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="zlib-devel" version="1.2.8" release="5.1" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libopenssl1_0_0" version="1.0.1i" release="27.16.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="kmod-compat" version="17" release="1.18" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="mozilla-nss-tools" version="3.20.2" release="40.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="fipscheck" version="1.2.0" release="9.3" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="pesign" version="0.109" release="4.34" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="glibc-devel" version="2.19" release="22.13.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="file" version="5.19" release="9.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="binutils" version="2.25.0" release="13.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="bzip2" version="1.0.6" release="29.2" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="cpio" version="2.11" release="29.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="make" version="4.0" release="4.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="findutils" version="4.5.12" release="5.124" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="which" version="2.20" release="3.180" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="glibc-locale" version="2.19" release="22.13.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="xz" version="5.0.5" release="4.852" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="gawk" version="4.1.0" release="3.663" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="gcc" version="4.8" release="6.189" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="gzip" version="1.6" release="7.392" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="patch" version="2.7.5" release="7.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="systemd-rpm-macros" version="2.1" release="8.3.1" arch="noarch" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="libzio1" version="1.00" release="9.188" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="mozilla-nspr" version="4.12" release="12.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="libfreebl3" version="3.20.2" release="40.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="libsoftokn3" version="3.20.2" release="40.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="kmod" version="17" release="1.18" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libfipscheck1" version="1.2.0" release="9.3" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="shadow" version="4.1.5.1" release="17.3" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="linux-glibc-devel" version="3.12" release="3.98" arch="noarch" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libaudit1" version="2.3.6" release="3.103" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libcap-ng0" version="0.7.3" release="4.125" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libutempter0" version="1.1.6" release="5.114" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libmagic1" version="5.19" release="9.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="update-alternatives" version="1.16.10" release="6.109" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libsemanage1" version="2.3" release="1.340" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="gcc48" version="4.8.5" release="27.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="cpp" version="4.8" release="6.189" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="terminfo-base" version="5.9" release="40.124" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libsqlite3-0" version="3.8.3.1" release="2.3.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="suse-module-tools" version="12.3" release="14.14" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libcrack2" version="2.9.0" release="3.244" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="file-magic" version="5.19" release="9.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="libustr-1_0-1" version="1.0.4" release="31.197" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libmpfr4" version="3.1.2" release="7.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="libisl10" version="0.12.2" release="1.121" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libmpc3" version="1.0.2" release="1.123" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libcloog-isl4" version="0.18.1" release="1.124" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="cpp48" version="4.8.5" release="27.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="libasan0" version="4.8.5" release="27.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="cracklib" version="2.9.0" release="3.244" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libatomic1" version="5.3.1+r233831" release="9.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="libgomp1-gcc48" version="4.8.5" release="27.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="libitm1" version="5.3.1+r233831" release="9.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="libtsan0" version="5.3.1+r233831" release="9.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="libstdc++6" version="5.3.1+r233831" release="9.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="mozilla-nss-certs" version="3.20.2" release="40.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="pam-modules" notmeta="1" version="12.1" release="23.12" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="build-mkbaselibs" notmeta="1" version="20150115" release="5.1" arch="noarch" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="post-build-checks-malwarescan" notmeta="1" version="0.1" release="5.14" arch="noarch" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="clamav-database" notmeta="1" version="201606130003" release="116.1" arch="noarch" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="build-compare" notmeta="1" version="2014.07.15" release="1.36" arch="noarch" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="brp-extract-appdata" notmeta="1" version="2012.02.13" release="2.13" arch="noarch" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="icecream" notmeta="1" version="1.0.1" release="5.1" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="rpmlint-Factory-strict" notmeta="1" version="1.0" release="85.14" arch="noarch" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="clamav" notmeta="1" version="0.99.2" release="25.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="libgdbm4" notmeta="1" version="1.10" release="9.70" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="logrotate" notmeta="1" version="3.8.7" release="3.21" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="liblzo2-2" notmeta="1" version="2.08" release="1.13" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libxml2-2" notmeta="1" version="2.9.1" release="24.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="latex2html-pngicons" notmeta="1" version="2012" release="1.347" arch="noarch" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="systemd-mini" notmeta="1" version="210" release="70.51.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="libwrap0" notmeta="1" version="7.6" release="883.68" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<bdep name="libseccomp2" notmeta="1" version="2.1.1" release="5.1" arch="x86_64" project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<bdep name="libkmod2" notmeta="1" version="17" release="1.18" arch="x86_64" project="SUSE:SLE-12:GA" repository="standard" />
|
||||
<path project="Devel:Kernel:SLE12" repository="standard" url="http://download.suse.de/ibs/Devel:/Kernel:/SLE12/standard/" />
|
||||
<path project="SUSE:SLE-12:Update" repository="standard" />
|
||||
<path project="SUSE:SLE-12:GA" repository="standard" />
|
||||
</buildinfo>
|
20
_constraints
20
_constraints
@ -4,9 +4,10 @@
|
||||
<conditions>
|
||||
<package>kernel-debug</package>
|
||||
<package>kernel-default</package>
|
||||
<package>kernel-lpae</package>
|
||||
<package>kernel-pae</package>
|
||||
<package>kernel-ec2</package>
|
||||
<package>kernel-vanilla</package>
|
||||
<package>kernel-xen</package>
|
||||
<package>kernel-zfcpdump</package>
|
||||
</conditions>
|
||||
<hardware>
|
||||
<disk>
|
||||
@ -20,9 +21,10 @@
|
||||
<arch>s390x</arch>
|
||||
<package>kernel-debug</package>
|
||||
<package>kernel-default</package>
|
||||
<package>kernel-lpae</package>
|
||||
<package>kernel-pae</package>
|
||||
<package>kernel-ec2</package>
|
||||
<package>kernel-vanilla</package>
|
||||
<package>kernel-xen</package>
|
||||
<package>kernel-zfcpdump</package>
|
||||
</conditions>
|
||||
<hardware>
|
||||
<disk>
|
||||
@ -37,9 +39,10 @@
|
||||
<arch>x86_64</arch>
|
||||
<package>kernel-debug</package>
|
||||
<package>kernel-default</package>
|
||||
<package>kernel-lpae</package>
|
||||
<package>kernel-pae</package>
|
||||
<package>kernel-ec2</package>
|
||||
<package>kernel-vanilla</package>
|
||||
<package>kernel-xen</package>
|
||||
<package>kernel-zfcpdump</package>
|
||||
</conditions>
|
||||
<hardware>
|
||||
<processors>8</processors>
|
||||
@ -53,9 +56,10 @@
|
||||
<arch>ppc64le</arch>
|
||||
<package>kernel-debug</package>
|
||||
<package>kernel-default</package>
|
||||
<package>kernel-lpae</package>
|
||||
<package>kernel-pae</package>
|
||||
<package>kernel-ec2</package>
|
||||
<package>kernel-vanilla</package>
|
||||
<package>kernel-xen</package>
|
||||
<package>kernel-zfcpdump</package>
|
||||
</conditions>
|
||||
<hardware>
|
||||
<processors>4</processors>
|
||||
|
@ -1,21 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 25 20:35:38 UTC 2015 - mmarek@suse.com
|
||||
|
||||
- Drop the -desktop flavors and merge these settings back to
|
||||
i386/pae and x86_64/default, respectively:
|
||||
- CONFIG_PREEMPT=y
|
||||
- vm.dirty_ratio=20
|
||||
The builtin driver choices of the desktop configs were discarded
|
||||
and CONFIG_HZ is 250 (fate#319416).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 13 14:58:32 CET 2015 - jdelvare@suse.de
|
||||
|
||||
- On x86 and ppc*:
|
||||
- CONFIG_I2C_SLAVE=n
|
||||
There is currently no known use case for this feature on these
|
||||
architectures, and it has a small build time and size cost.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 23 10:04:27 UTC 2014 - ddiss@suse.com
|
||||
|
||||
@ -27,6 +9,13 @@ Fri May 23 10:04:27 UTC 2014 - ddiss@suse.com
|
||||
(fate#317480).
|
||||
- CONFIG_CIFS_SMB2=y
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 20 08:30:56 CEST 2014 - jdelvare@suse.de
|
||||
|
||||
- drbd will be shipped as a KMP in SLE12 HA only (not SLES nor
|
||||
SLED).
|
||||
- CONFIG_BLK_DEV_DRBD=n
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 6 10:48:07 CET 2014 - jdelvare@suse.de
|
||||
|
||||
@ -39,7 +28,20 @@ Thu Mar 6 10:48:07 CET 2014 - jdelvare@suse.de
|
||||
- CONFIG_THERMAL=y
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 28 18:38:01 CET 2014 - jdelvare@suse.de
|
||||
Tue Mar 4 11:14:43 CET 2014 - jdelvare@suse.de
|
||||
|
||||
- The core leds module is small (14 kB on x86_64) and many drivers
|
||||
depend on it or even select it, in particular laptop-specific
|
||||
drivers and wireless network drivers. So the core leds module
|
||||
will end up being loaded on most laptop systems, where boot time
|
||||
matters. On top of that, different architectures have different
|
||||
dependencies, some of them requiring that the core leds module is
|
||||
built-in. So the easiest way forward is to just keep the core
|
||||
leds module built into the kernel on all architectures.
|
||||
- CONFIG_LEDS_CLASS=y
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 28 10:17:34 CET 2014 - jdelvare@suse.de
|
||||
|
||||
- The msr driver creates /dev/cpu/*/msr through which you can poke
|
||||
at all the MSRs if you have CAP_SYS_RAWIO. We prefer to be able
|
||||
@ -47,21 +49,13 @@ Fri Feb 28 18:38:01 CET 2014 - jdelvare@suse.de
|
||||
- CONFIG_X86_MSR=m
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 25 11:44:55 CET 2014 - jdelvare@suse.de
|
||||
|
||||
- systemd requires autofs, so autofs4.ko will always be loaded on
|
||||
boot. For performance reasons, it makes sense to build it into
|
||||
the kernel (bnc#863771).
|
||||
- CONFIG_AUTOFS4_FS=y
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 9 14:38:52 CET 2014 - jdelvare@suse.de
|
||||
Thu Jan 9 14:48:09 CET 2014 - jdelvare@suse.de
|
||||
|
||||
- Forcing module unloading can't lead to anything good. If
|
||||
reference counting is wrong then it should be fixed. If the
|
||||
reference count is right and a regular (unforced) unloading
|
||||
doesn't work, then a forced unloading can only lead to chaos and
|
||||
ultimately a kernel crash.
|
||||
ultimately a kernel crash (bnc#854171).
|
||||
- CONFIG_MODULE_FORCE_UNLOAD=n
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
19
config.conf
19
config.conf
@ -8,31 +8,18 @@
|
||||
# kernel-binary and kernel-source rely on this
|
||||
#
|
||||
|
||||
+i386 i386/default
|
||||
+i386 i386/pae
|
||||
+i386 -syms i386/debug
|
||||
+i386 i386/vanilla
|
||||
|
||||
+x86_64 x86_64/default
|
||||
+x86_64 x86_64/xen
|
||||
+x86_64 -syms x86_64/ec2
|
||||
+x86_64 -syms x86_64/debug
|
||||
+x86_64 x86_64/vanilla
|
||||
|
||||
+ppc64 ppc64/default
|
||||
+ppc64 -syms ppc64/debug
|
||||
+ppc64 ppc64/vanilla
|
||||
|
||||
+ppc64le ppc64le/default
|
||||
+ppc64le -syms ppc64le/debug
|
||||
+ppc64le ppc64le/vanilla
|
||||
|
||||
# ARM architectures
|
||||
+armv6hl armv6hl/default
|
||||
+armv6hl armv6hl/vanilla
|
||||
+armv7hl armv7hl/default
|
||||
+armv7hl armv7hl/vanilla
|
||||
+armv7hl armv7hl/lpae
|
||||
+arm64 arm64/default
|
||||
+arm64 arm64/vanilla
|
||||
|
||||
+s390x s390x/default
|
||||
+s390x s390x/vanilla
|
||||
+s390x -syms s390x/zfcpdump
|
||||
|
@ -1,10 +1,7 @@
|
||||
# The version of the main tarball to use
|
||||
SRCVERSION=4.6
|
||||
SRCVERSION=3.12
|
||||
# variant of the kernel-source package, either empty or "-rt"
|
||||
VARIANT=
|
||||
# buildservice projects to build the kernel against
|
||||
OBS_PROJECT=openSUSE:Factory
|
||||
OBS_PROJECT_ARM=openSUSE:Factory:ARM
|
||||
OBS_PROJECT_PPC=openSUSE:Factory:PowerPC
|
||||
IBS_PROJECT=SUSE:Factory:Head
|
||||
IBS_PROJECT_ARM=Devel:ARM:Factory
|
||||
OBS_PROJECT=SUSE:SLE-12:Update
|
||||
IBS_PROJECT=SUSE:SLE-12:Update
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3316d6c430f31f9c14043e72ba4e2a6dbbbe2057be2d15630b5dec0f60816047
|
||||
size 231204
|
||||
oid sha256:d569fb589b6c9109c29e39330db12aca305d4e3fc854d0fad31236e33e2700f7
|
||||
size 88678
|
||||
|
BIN
kabi.tar.bz2
(Stored with Git LFS)
BIN
kabi.tar.bz2
(Stored with Git LFS)
Binary file not shown.
@ -28,6 +28,7 @@
|
||||
|
||||
%define build_flavor @FLAVOR@
|
||||
%define build_default ("%build_flavor" == "default")
|
||||
%define build_xen ("%build_flavor" == "xen" || "%build_flavor" == "ec2")
|
||||
%define build_vanilla ("%build_flavor" == "vanilla")
|
||||
|
||||
%if ! %build_vanilla
|
||||
@ -79,8 +80,6 @@ BuildRequires: modutils
|
||||
# Used to sign the kernel in the buildservice
|
||||
BuildRequires: openssl
|
||||
BuildRequires: pesign-obs-integration
|
||||
# for objtool
|
||||
BuildRequires: libelf-devel
|
||||
Provides: %name = %version-%source_rel
|
||||
# bnc#901925
|
||||
Provides: %name-%version-%source_rel
|
||||
@ -136,6 +135,9 @@ BuildRequires: dwarfextract
|
||||
%ifarch %arm
|
||||
BuildRequires: u-boot-tools
|
||||
%endif
|
||||
%if %build_xen
|
||||
#!BuildIgnore: xen
|
||||
%endif
|
||||
|
||||
Obsoletes: microcode_ctl
|
||||
|
||||
@ -152,9 +154,6 @@ Conflicts: udev < 118
|
||||
Conflicts: lvm2 < 2.02.33
|
||||
# Interface to hv_kvp_daemon changed
|
||||
Conflicts: hyper-v < 4
|
||||
%ifarch %ix86
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
Provides: kernel = %version-%source_rel
|
||||
@PROVIDES_OBSOLETES@
|
||||
@PROVIDES_OBSOLETES_BASE@
|
||||
@ -163,16 +162,6 @@ Provides: kernel = %version-%source_rel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExclusiveArch: @ARCHS@
|
||||
%define kmp_target_cpu %_target_cpu
|
||||
%ifarch %ix86
|
||||
# Only i386/default supports i586, mark other flavors' packages as i686
|
||||
%if ! %build_default
|
||||
BuildArch: i686
|
||||
# KMPs are always built as i586, because rpm does not allow to build
|
||||
# subpackages for different architectures. Therefore, we change the
|
||||
# /usr/src/linux-obj/<arch> symlink to i586.
|
||||
%define kmp_target_cpu i586
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# These files are found in the kernel-source package:
|
||||
@NOSOURCE@
|
||||
@ -225,17 +214,10 @@ Provides: ath3k-firmware = 1.0
|
||||
%obsolete_kmp compat-wireless 3.12
|
||||
%obsolete_kmp rts5229 1.08
|
||||
%obsolete_kmp rts_pstor 1.11
|
||||
# sle12-sp1 / Leap 42.1
|
||||
%obsolete_kmp xen 4.6.1
|
||||
%obsolete_kmp compat-wireless 4.4
|
||||
|
||||
# Provide the exported symbols as "ksym(symbol) = hash"
|
||||
%define _use_internal_dependency_generator 0
|
||||
%define __find_provides %_sourcedir/find-provides %name
|
||||
|
||||
# Generate dependencies for KMPs defined in supported.conf
|
||||
%define __find_requires %_sourcedir/find-requires %name %version-%release %my_builddir
|
||||
|
||||
# Will modules not listed in supported.conf abort the kernel build (0/1)?
|
||||
%define supported_modules_check 0
|
||||
|
||||
@ -265,11 +247,15 @@ mkdir -p %kernel_build_dir
|
||||
# Generate a list of modules with their support status marking
|
||||
%_sourcedir/guards --list --with-guards <%_sourcedir/supported.conf | \
|
||||
awk '
|
||||
/\+external / {
|
||||
/^\+(base|yes) / {
|
||||
print $(NF);
|
||||
next;
|
||||
}
|
||||
/^\+external / {
|
||||
print $(NF) " external";
|
||||
next;
|
||||
}
|
||||
/^-/ {
|
||||
/^[-+]/ {
|
||||
print $(NF) " no";
|
||||
next;
|
||||
}
|
||||
@ -277,11 +263,8 @@ awk '
|
||||
print $(NF);
|
||||
}
|
||||
' >%kernel_build_dir/Module.supported
|
||||
for package in base @KMPS@; do
|
||||
%_sourcedir/guards --default=0 "$package" \
|
||||
<%_sourcedir/supported.conf | sed 's,.*/,,; s,\.ko$,,' | \
|
||||
sort -u >%kernel_build_dir/Module."$package"
|
||||
done
|
||||
%_sourcedir/guards --default=0 base < %_sourcedir/supported.conf | \
|
||||
sed 's,.*/,,; s,\.ko$,,' | sort -u >%kernel_build_dir/Module.base
|
||||
|
||||
cd linux-%srcversion
|
||||
|
||||
@ -312,17 +295,7 @@ if [ -f %_sourcedir/localversion ] ; then
|
||||
cat %_sourcedir/localversion > localversion
|
||||
fi
|
||||
|
||||
vanilla_base="default"
|
||||
%ifarch %ix86
|
||||
vanilla_base="pae"
|
||||
%endif
|
||||
if ! grep -q CONFIG_MMU= "%my_builddir/config/%cpu_arch_flavor"; then
|
||||
cp "%my_builddir/config/%cpu_arch/$vanilla_base" .config
|
||||
../scripts/kconfig/merge_config.sh -m .config \
|
||||
%my_builddir/config/%cpu_arch_flavor
|
||||
else
|
||||
cp %my_builddir/config/%cpu_arch_flavor .config
|
||||
fi
|
||||
if test -e %my_builddir/config.addon/%cpu_arch_flavor; then
|
||||
# FIXME: config.addon doesn't affect the %CONFIG_ macros defined at
|
||||
# the top of the specfile
|
||||
@ -360,8 +333,7 @@ fi
|
||||
make clean $MAKE_ARGS
|
||||
|
||||
rm -f source
|
||||
find . ! -type d ! -name 'Module.base' ! -name 'Module.*-kmp' -printf '%%P\n' \
|
||||
> %my_builddir/obj-files
|
||||
find . ! -type d -printf '%%P\n' > %my_builddir/obj-files
|
||||
|
||||
%build
|
||||
cd %kernel_build_dir
|
||||
@ -372,21 +344,43 @@ if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
|
||||
%_sourcedir/modversions --unpack . < $_
|
||||
fi
|
||||
|
||||
# copy module signing certificate(s)
|
||||
# copy optional module signing files:
|
||||
# *.x509, *.crt
|
||||
# - certificates with pubkeys used to verify module and firmware signatures
|
||||
# at runtime. *.crt files assumed to be in the PEM format.
|
||||
# signing_key.priv
|
||||
# - unencrypted private key used to sign modules and firmware during build
|
||||
# x509.genkey
|
||||
# - openssl req config to generate a new signing_key.{x509,priv} pair for the
|
||||
# build
|
||||
for f in %_sourcedir/*.x509 %_sourcedir/{signing_key.priv,x509.genkey}; do
|
||||
if test -e "$f"; then
|
||||
cp "$f" .
|
||||
fi
|
||||
done
|
||||
for f in %_sourcedir/*.crt; do
|
||||
if ! test -e "$f"; then
|
||||
continue
|
||||
fi
|
||||
case "${f##*/}" in
|
||||
SLES-UEFI*.crt)
|
||||
../scripts/config --set-str CONFIG_MODULE_SIG_KEY "${f##*/}"
|
||||
cp "$f" .
|
||||
;;
|
||||
*)
|
||||
cat "$f" >>keyring.crt
|
||||
../scripts/config --set-str CONFIG_SYSTEM_TRUSTED_KEYS "keyring.crt"
|
||||
esac
|
||||
out=${f##*/}
|
||||
out=${out%.crt}.x509
|
||||
openssl x509 -inform PEM -in "$f" -outform DER -out "$out"
|
||||
done
|
||||
# Convince kernel/Makefile not to generate a new keypair
|
||||
touch x509.genkey
|
||||
touch signing_key.x509
|
||||
%if %build_vanilla
|
||||
# workaround for the 3.12 vanilla kernel which does not have
|
||||
# f0e6d22 ("KEYS: Load *.x509 files into kernel keyring)
|
||||
# but supports an "extra_certificates" file instead
|
||||
for f in *.x509; do
|
||||
if test ! -e "$f" -o "$f" = "signing_key.x509"; then
|
||||
continue
|
||||
fi
|
||||
cat "$f" >>extra_certificates
|
||||
done
|
||||
%endif
|
||||
|
||||
|
||||
MAKE_ARGS="$MAKE_ARGS %{?_smp_mflags}"
|
||||
|
||||
@ -418,11 +412,6 @@ export BRP_PESIGN_FILES="*.ko"
|
||||
%if %CONFIG_EFI_STUB == "y"
|
||||
BRP_PESIGN_FILES="$BRP_PESIGN_FILES /boot/vmlinuz-%kernelrelease-%build_flavor"
|
||||
%endif
|
||||
%ifarch %ix86
|
||||
# XXX: do not sign on x86, as the repackaging changes kernel-pae
|
||||
# from i686 to i586
|
||||
BRP_PESIGN_FILES=""
|
||||
%endif
|
||||
|
||||
# get rid of /usr/lib/rpm/brp-strip-debug
|
||||
# strip removes too much from the vmlinux ELF binary
|
||||
@ -471,6 +460,9 @@ add_vmlinux()
|
||||
%ifarch %ix86 x86_64
|
||||
add_vmlinux --compressed
|
||||
image=bzImage
|
||||
%if %build_xen
|
||||
test -f arch/x86/boot/$image || image=vmlinuz
|
||||
%endif
|
||||
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
|
||||
image=vmlinuz
|
||||
%endif
|
||||
@ -528,6 +520,12 @@ if test %CONFIG_MODULE_SIG = "y"; then
|
||||
done
|
||||
fi
|
||||
|
||||
# Install the frontend driver selector file for xen/ec2
|
||||
%if %build_xen
|
||||
mkdir -p %buildroot/etc/modprobe.d
|
||||
cp %_sourcedir/modprobe-xen.conf %buildroot/etc/modprobe.d/50-xen.conf
|
||||
%endif
|
||||
|
||||
for sub in '-base' '' '-extra'; do
|
||||
case "$sub" in
|
||||
'-base' | '') base_package=1 ;;
|
||||
@ -565,7 +563,7 @@ for sub in '-base' '' '-extra'; do
|
||||
done
|
||||
done
|
||||
|
||||
%if %build_vanilla
|
||||
%if %build_xen || %build_vanilla
|
||||
# keep this -suffix list in sync with post.sh and postun.sh
|
||||
suffix=-%build_flavor
|
||||
%endif
|
||||
@ -657,7 +655,7 @@ if [ %CONFIG_MODULES = y ]; then
|
||||
%if %split_base
|
||||
%_sourcedir/split-modules -d %buildroot \
|
||||
-o %my_builddir \
|
||||
-b %kernel_build_dir \
|
||||
-b %kernel_build_dir/Module.base \
|
||||
%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
|
||||
-e \
|
||||
%endif
|
||||
@ -668,18 +666,18 @@ if [ %CONFIG_MODULES = y ]; then
|
||||
cat %my_builddir/unsupported-modules >>%my_builddir/main-modules
|
||||
%endif
|
||||
|
||||
%else
|
||||
( cd %buildroot
|
||||
find lib/modules/%kernelrelease-%build_flavor -type f -name '*.ko' -printf '/%%p\n'
|
||||
) > %my_builddir/base-modules
|
||||
%endif
|
||||
|
||||
# The modules.dep file is sorted randomly which produces strange file
|
||||
# checksums. As the file is not included in the resulting RPM, it's
|
||||
# pointless to rely on its contents. Replacing by zeros to make the
|
||||
# checksums always the same for several builds of the same package.
|
||||
dd if=/dev/zero of=%buildroot/lib/modules/%kernelrelease-%build_flavor/modules.dep ibs=`stat -c%s %buildroot/lib/modules/%kernelrelease-%build_flavor/modules.dep` count=1
|
||||
|
||||
%else
|
||||
( cd %buildroot
|
||||
find lib/modules/%kernelrelease-%build_flavor -type f -name '*.ko' -printf '/%%p\n'
|
||||
) > %my_builddir/base-modules
|
||||
%endif
|
||||
|
||||
res=0
|
||||
if test -e %my_builddir/kabi/%cpu_arch/symvers-%build_flavor; then
|
||||
# check for kabi changes
|
||||
@ -786,35 +784,26 @@ done | add_dirs_to_filelist >%my_builddir/kernel-devel.files
|
||||
if test %CONFIG_MODULE_SIG = "y" -a -d etc/uefi/certs; then
|
||||
find etc/uefi/certs -type f -printf '/%%p\n'
|
||||
fi
|
||||
if test -d lib/firmware/%kernelrelease-%build_flavor; then
|
||||
%if %split_base
|
||||
echo "%%dir /lib/firmware/%kernelrelease-%build_flavor"
|
||||
cat %my_builddir/base-firmware
|
||||
%else
|
||||
echo "/lib/firmware/%kernelrelease-%build_flavor"
|
||||
%endif
|
||||
# optional per-kernel-release module config workarounds
|
||||
if test -d etc/modprobe.d; then
|
||||
find etc/modprobe.d -type f -printf '%%%%config(noreplace) /%%p\n'
|
||||
fi
|
||||
test -d lib/firmware/%kernelrelease-%build_flavor && \
|
||||
find lib/firmware/%kernelrelease-%build_flavor \
|
||||
-type d -o \
|
||||
-printf '/%%p\n'
|
||||
if [ -e .%_docdir/%name ]; then
|
||||
echo "%%doc %_docdir/%name"
|
||||
fi
|
||||
} | sort -u | add_dirs_to_filelist >%my_builddir/kernel-base.files
|
||||
|
||||
%if %split_base
|
||||
{
|
||||
add_dirs_to_filelist %my_builddir/{kernel-base.files,main-modules}
|
||||
if test -d %buildroot/lib/firmware/%kernelrelease-%build_flavor; then
|
||||
echo "/lib/firmware/%kernelrelease-%build_flavor"
|
||||
fi
|
||||
} > %my_builddir/kernel-main.files
|
||||
add_dirs_to_filelist %my_builddir/{kernel-base.files,main-modules} \
|
||||
> %my_builddir/kernel-main.files
|
||||
%endif
|
||||
%if %split_extra
|
||||
add_dirs_to_filelist %my_builddir/unsupported-modules > %my_builddir/kernel-extra.files
|
||||
%endif
|
||||
for f in %my_builddir/*-kmp-modules; do
|
||||
f2=${f%%-modules}.files
|
||||
add_dirs_to_filelist "$f" >"$f2"
|
||||
done
|
||||
|
||||
|
||||
# Hardlink duplicate files automatically (from package fdupes): It doesn't save
|
||||
# much, but it keeps rpmlint from breaking the package build. Note that we skip
|
||||
@ -849,9 +838,6 @@ Conflicts: %name = %version-%release
|
||||
@COMMON_DEPS@
|
||||
@PROVIDES_OBSOLETES_BASE@
|
||||
%obsolete_rebuilds %name-base
|
||||
%ifarch %ix86
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
|
||||
%description base
|
||||
@DESCRIPTION@
|
||||
@ -889,9 +875,6 @@ Requires(post): mkinitrd
|
||||
@PROVIDES_OBSOLETES_EXTRA@
|
||||
%obsolete_rebuilds %name-extra
|
||||
Supplements: packageand(product(SUSE_SLED):%{name}_%_target_cpu)
|
||||
%ifarch %ix86
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
|
||||
%description extra
|
||||
@DESCRIPTION@
|
||||
@ -917,7 +900,7 @@ This package contains additional modules not supported by Novell.
|
||||
%if %CONFIG_KMSG_IDS == "y"
|
||||
|
||||
%package man
|
||||
Summary: The collection of man pages generated by the kmsg script
|
||||
Summary: The collection of man pages generated by the kmsg script.
|
||||
Group: System/Kernel
|
||||
|
||||
%description man
|
||||
@ -938,9 +921,6 @@ Provides: %name-devel = %version-%source_rel
|
||||
Provides: multiversion(kernel)
|
||||
%if ! %build_vanilla
|
||||
Requires: kernel-devel%variant = %version-%source_rel
|
||||
Recommends: make
|
||||
Recommends: gcc
|
||||
Recommends: perl
|
||||
Supplements: packageand(%name:kernel-devel%variant)
|
||||
%else
|
||||
Requires: kernel-source-vanilla = %version-%source_rel
|
||||
@ -976,67 +956,4 @@ kernel module packages) against the %build_flavor flavor of the kernel.
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if %CONFIG_MODULES == "y" && %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
|
||||
%package kgraft
|
||||
Summary: Metapackage to pull in matching kgraft-patch package
|
||||
Group: System/Kernel
|
||||
Requires: kgraft-patch-%(echo %version-%source_rel | sed 'y/\./_/')-%build_flavor
|
||||
Provides: multiversion(kernel)
|
||||
|
||||
%description kgraft
|
||||
This is a metapackage that pulls in the matching kgraft-patch package for a
|
||||
given kernel version. The advantage of the metapackage is that its name is
|
||||
static, unlike the kgraft-patch-<kernel-version>-flavor package names.
|
||||
|
||||
%files kgraft
|
||||
# rpmlint complains about empty packages, so lets own something
|
||||
%defattr(-, root, root)
|
||||
%dir /lib/modules/%kernelrelease-%build_flavor
|
||||
%endif
|
||||
|
||||
%if %split_base
|
||||
# BEGIN KMP
|
||||
%package -n @KMP_NAME@-%build_flavor
|
||||
Summary: @KMP_SUMMARY@
|
||||
Group: System/Kernel
|
||||
Requires: %name = %version-%release
|
||||
Provides: multiversion(kernel)
|
||||
Provides: @KMP_NAME@ = %version-%release
|
||||
# tell weak-modules2 to ignore this package
|
||||
Provides: kmp_in_kernel
|
||||
Requires(post): suse-module-tools >= 12.4
|
||||
|
||||
%description -n @KMP_NAME@-%build_flavor
|
||||
@KMP_DESCRIPTION@
|
||||
|
||||
%post -n @KMP_NAME@-%build_flavor
|
||||
wm2=/usr/lib/module-init-tools/weak-modules2
|
||||
nvr=@KMP_NAME@-%build_flavor-%version-%release
|
||||
if test -x "$wm2"; then
|
||||
rpm -ql "$nvr" | INITRD_IN_POSTTRANS=1 /bin/bash -${-/e/} "$wm2" \
|
||||
--add-kernel-modules %kernelrelease-%build_flavor
|
||||
fi
|
||||
|
||||
%posttrans -n @KMP_NAME@-%build_flavor
|
||||
%{?regenerate_initrd_posttrans}
|
||||
|
||||
%preun -n @KMP_NAME@-%build_flavor
|
||||
nvr=@KMP_NAME@-%build_flavor-%version-%release
|
||||
rpm -ql "$nvr" | grep '\.ko$' > "/var/run/rpm-$nvr-modules"
|
||||
|
||||
%postun -n @KMP_NAME@-%build_flavor
|
||||
wm2=/usr/lib/module-init-tools/weak-modules2
|
||||
nvr=@KMP_NAME@-%build_flavor-%version-%release
|
||||
if test -x "$wm2"; then
|
||||
/bin/bash -${-/e/} "$wm2" < "/var/run/rpm-$nvr-modules" \
|
||||
--remove-kernel-modules %kernelrelease-%build_flavor
|
||||
fi
|
||||
rm -f "/var/run/rpm-$nvr-modules"
|
||||
|
||||
%files -n @KMP_NAME@-%build_flavor -f @KMP_NAME@.files
|
||||
%defattr(-, root, root)
|
||||
|
||||
# END KMP
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
42545
kernel-debug.changes
42545
kernel-debug.changes
File diff suppressed because it is too large
Load Diff
@ -19,8 +19,8 @@
|
||||
# This makes the OBS store the project cert as %_sourcedir/_projectcert.crt
|
||||
# needssslcertforbuild
|
||||
|
||||
%define srcversion 4.6
|
||||
%define patchversion 4.6.2
|
||||
%define srcversion 3.12
|
||||
%define patchversion 3.12.61
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -28,6 +28,7 @@
|
||||
|
||||
%define build_flavor debug
|
||||
%define build_default ("%build_flavor" == "default")
|
||||
%define build_xen ("%build_flavor" == "xen" || "%build_flavor" == "ec2")
|
||||
%define build_vanilla ("%build_flavor" == "vanilla")
|
||||
|
||||
%if ! %build_vanilla
|
||||
@ -39,7 +40,7 @@
|
||||
%define rpm_install_dir %buildroot%obj_install_dir
|
||||
%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj
|
||||
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,find-provides,find-requires,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh})
|
||||
%(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,log.sh,try-disable-staging-driver,compress-vmlinux.sh})
|
||||
|
||||
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
|
||||
%define cpu_arch_flavor %cpu_arch/%build_flavor
|
||||
@ -61,9 +62,9 @@ Name: kernel-debug
|
||||
Summary: A Debug Version of the Kernel
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
Version: 4.6.2
|
||||
Version: 3.12.61
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.g96a29db
|
||||
Release: <RELEASE>.g1c2aaa5
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@ -79,8 +80,6 @@ BuildRequires: modutils
|
||||
# Used to sign the kernel in the buildservice
|
||||
BuildRequires: openssl
|
||||
BuildRequires: pesign-obs-integration
|
||||
# for objtool
|
||||
BuildRequires: libelf-devel
|
||||
Provides: %name = %version-%source_rel
|
||||
# bnc#901925
|
||||
Provides: %name-%version-%source_rel
|
||||
@ -136,6 +135,9 @@ BuildRequires: dwarfextract
|
||||
%ifarch %arm
|
||||
BuildRequires: u-boot-tools
|
||||
%endif
|
||||
%if %build_xen
|
||||
#!BuildIgnore: xen
|
||||
%endif
|
||||
|
||||
Obsoletes: microcode_ctl
|
||||
|
||||
@ -152,20 +154,11 @@ Conflicts: udev < 118
|
||||
Conflicts: lvm2 < 2.02.33
|
||||
# Interface to hv_kvp_daemon changed
|
||||
Conflicts: hyper-v < 4
|
||||
%ifarch %ix86
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
Provides: kernel = %version-%source_rel
|
||||
%ifarch ppc64
|
||||
Provides: kernel-kdump = 2.6.28
|
||||
Obsoletes: kernel-kdump <= 2.6.28
|
||||
%endif
|
||||
%ifarch ppc64
|
||||
Provides: kernel-kdump-base = 2.6.28
|
||||
Obsoletes: kernel-kdump-base <= 2.6.28
|
||||
%endif
|
||||
|
||||
|
||||
%obsolete_rebuilds %name
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%srcversion.tar.xz
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.xz
|
||||
Source2: source-post.sh
|
||||
Source3: kernel-source.rpmlintrc
|
||||
Source8: devel-pre.sh
|
||||
@ -187,9 +180,8 @@ Source38: README.KSYMS
|
||||
Source39: config-options.changes.txt
|
||||
Source40: source-timestamp
|
||||
Source44: find-provides
|
||||
Source45: find-requires
|
||||
Source46: split-modules
|
||||
Source47: modversions
|
||||
Source45: split-modules
|
||||
Source46: modversions
|
||||
Source48: macros.kernel-source
|
||||
Source49: kernel-module-subpackage
|
||||
Source50: kabi.pl
|
||||
@ -213,6 +205,7 @@ Source69: try-disable-staging-driver
|
||||
Source70: kernel-obs-build.spec.in
|
||||
Source71: kernel-obs-qa.spec.in
|
||||
Source72: compress-vmlinux.sh
|
||||
Source90: SLES-UEFI-SIGN-Certificate-2048.crt
|
||||
Source100: config.tar.bz2
|
||||
Source101: config.addon.tar.bz2
|
||||
Source102: patches.arch.tar.bz2
|
||||
@ -229,19 +222,10 @@ Source112: patches.trace.tar.bz2
|
||||
Source113: patches.kabi.tar.bz2
|
||||
Source120: kabi.tar.bz2
|
||||
Source121: sysctl.tar.bz2
|
||||
Source122: modprobe-xen.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExclusiveArch: %ix86 ppc64 ppc64le x86_64
|
||||
ExclusiveArch: ppc64le x86_64
|
||||
%define kmp_target_cpu %_target_cpu
|
||||
%ifarch %ix86
|
||||
# Only i386/default supports i586, mark other flavors' packages as i686
|
||||
%if ! %build_default
|
||||
BuildArch: i686
|
||||
# KMPs are always built as i586, because rpm does not allow to build
|
||||
# subpackages for different architectures. Therefore, we change the
|
||||
# /usr/src/linux-obj/<arch> symlink to i586.
|
||||
%define kmp_target_cpu i586
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# These files are found in the kernel-source package:
|
||||
NoSource: 0
|
||||
@ -268,7 +252,6 @@ NoSource: 40
|
||||
NoSource: 44
|
||||
NoSource: 45
|
||||
NoSource: 46
|
||||
NoSource: 47
|
||||
NoSource: 48
|
||||
NoSource: 49
|
||||
NoSource: 50
|
||||
@ -292,6 +275,7 @@ NoSource: 69
|
||||
NoSource: 70
|
||||
NoSource: 71
|
||||
NoSource: 72
|
||||
NoSource: 90
|
||||
NoSource: 100
|
||||
NoSource: 101
|
||||
NoSource: 102
|
||||
@ -308,6 +292,7 @@ NoSource: 112
|
||||
NoSource: 113
|
||||
NoSource: 120
|
||||
NoSource: 121
|
||||
NoSource: 122
|
||||
|
||||
# The following KMPs have been integrated into the kernel package,
|
||||
# grouped by the last product that contained them.
|
||||
@ -357,17 +342,10 @@ Provides: ath3k-firmware = 1.0
|
||||
%obsolete_kmp compat-wireless 3.12
|
||||
%obsolete_kmp rts5229 1.08
|
||||
%obsolete_kmp rts_pstor 1.11
|
||||
# sle12-sp1 / Leap 42.1
|
||||
%obsolete_kmp xen 4.6.1
|
||||
%obsolete_kmp compat-wireless 4.4
|
||||
|
||||
# Provide the exported symbols as "ksym(symbol) = hash"
|
||||
%define _use_internal_dependency_generator 0
|
||||
%define __find_provides %_sourcedir/find-provides %name
|
||||
|
||||
# Generate dependencies for KMPs defined in supported.conf
|
||||
%define __find_requires %_sourcedir/find-requires %name %version-%release %my_builddir
|
||||
|
||||
# Will modules not listed in supported.conf abort the kernel build (0/1)?
|
||||
%define supported_modules_check 0
|
||||
|
||||
@ -398,11 +376,15 @@ mkdir -p %kernel_build_dir
|
||||
# Generate a list of modules with their support status marking
|
||||
%_sourcedir/guards --list --with-guards <%_sourcedir/supported.conf | \
|
||||
awk '
|
||||
/\+external / {
|
||||
/^\+(base|yes) / {
|
||||
print $(NF);
|
||||
next;
|
||||
}
|
||||
/^\+external / {
|
||||
print $(NF) " external";
|
||||
next;
|
||||
}
|
||||
/^-/ {
|
||||
/^[-+]/ {
|
||||
print $(NF) " no";
|
||||
next;
|
||||
}
|
||||
@ -410,11 +392,8 @@ awk '
|
||||
print $(NF);
|
||||
}
|
||||
' >%kernel_build_dir/Module.supported
|
||||
for package in base ; do
|
||||
%_sourcedir/guards --default=0 "$package" \
|
||||
<%_sourcedir/supported.conf | sed 's,.*/,,; s,\.ko$,,' | \
|
||||
sort -u >%kernel_build_dir/Module."$package"
|
||||
done
|
||||
%_sourcedir/guards --default=0 base < %_sourcedir/supported.conf | \
|
||||
sed 's,.*/,,; s,\.ko$,,' | sort -u >%kernel_build_dir/Module.base
|
||||
|
||||
cd linux-%srcversion
|
||||
|
||||
@ -445,17 +424,7 @@ if [ -f %_sourcedir/localversion ] ; then
|
||||
cat %_sourcedir/localversion > localversion
|
||||
fi
|
||||
|
||||
vanilla_base="default"
|
||||
%ifarch %ix86
|
||||
vanilla_base="pae"
|
||||
%endif
|
||||
if ! grep -q CONFIG_MMU= "%my_builddir/config/%cpu_arch_flavor"; then
|
||||
cp "%my_builddir/config/%cpu_arch/$vanilla_base" .config
|
||||
../scripts/kconfig/merge_config.sh -m .config \
|
||||
%my_builddir/config/%cpu_arch_flavor
|
||||
else
|
||||
cp %my_builddir/config/%cpu_arch_flavor .config
|
||||
fi
|
||||
if test -e %my_builddir/config.addon/%cpu_arch_flavor; then
|
||||
# FIXME: config.addon doesn't affect the %CONFIG_ macros defined at
|
||||
# the top of the specfile
|
||||
@ -493,8 +462,7 @@ fi
|
||||
make clean $MAKE_ARGS
|
||||
|
||||
rm -f source
|
||||
find . ! -type d ! -name 'Module.base' ! -name 'Module.*-kmp' -printf '%%P\n' \
|
||||
> %my_builddir/obj-files
|
||||
find . ! -type d -printf '%%P\n' > %my_builddir/obj-files
|
||||
|
||||
%build
|
||||
cd %kernel_build_dir
|
||||
@ -505,21 +473,43 @@ if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
|
||||
%_sourcedir/modversions --unpack . < $_
|
||||
fi
|
||||
|
||||
# copy module signing certificate(s)
|
||||
# copy optional module signing files:
|
||||
# *.x509, *.crt
|
||||
# - certificates with pubkeys used to verify module and firmware signatures
|
||||
# at runtime. *.crt files assumed to be in the PEM format.
|
||||
# signing_key.priv
|
||||
# - unencrypted private key used to sign modules and firmware during build
|
||||
# x509.genkey
|
||||
# - openssl req config to generate a new signing_key.{x509,priv} pair for the
|
||||
# build
|
||||
for f in %_sourcedir/*.x509 %_sourcedir/{signing_key.priv,x509.genkey}; do
|
||||
if test -e "$f"; then
|
||||
cp "$f" .
|
||||
fi
|
||||
done
|
||||
for f in %_sourcedir/*.crt; do
|
||||
if ! test -e "$f"; then
|
||||
continue
|
||||
fi
|
||||
case "${f##*/}" in
|
||||
SLES-UEFI*.crt)
|
||||
../scripts/config --set-str CONFIG_MODULE_SIG_KEY "${f##*/}"
|
||||
cp "$f" .
|
||||
;;
|
||||
*)
|
||||
cat "$f" >>keyring.crt
|
||||
../scripts/config --set-str CONFIG_SYSTEM_TRUSTED_KEYS "keyring.crt"
|
||||
esac
|
||||
out=${f##*/}
|
||||
out=${out%.crt}.x509
|
||||
openssl x509 -inform PEM -in "$f" -outform DER -out "$out"
|
||||
done
|
||||
# Convince kernel/Makefile not to generate a new keypair
|
||||
touch x509.genkey
|
||||
touch signing_key.x509
|
||||
%if %build_vanilla
|
||||
# workaround for the 3.12 vanilla kernel which does not have
|
||||
# f0e6d22 ("KEYS: Load *.x509 files into kernel keyring)
|
||||
# but supports an "extra_certificates" file instead
|
||||
for f in *.x509; do
|
||||
if test ! -e "$f" -o "$f" = "signing_key.x509"; then
|
||||
continue
|
||||
fi
|
||||
cat "$f" >>extra_certificates
|
||||
done
|
||||
%endif
|
||||
|
||||
|
||||
MAKE_ARGS="$MAKE_ARGS %{?_smp_mflags}"
|
||||
|
||||
@ -551,11 +541,6 @@ export BRP_PESIGN_FILES="*.ko"
|
||||
%if %CONFIG_EFI_STUB == "y"
|
||||
BRP_PESIGN_FILES="$BRP_PESIGN_FILES /boot/vmlinuz-%kernelrelease-%build_flavor"
|
||||
%endif
|
||||
%ifarch %ix86
|
||||
# XXX: do not sign on x86, as the repackaging changes kernel-pae
|
||||
# from i686 to i586
|
||||
BRP_PESIGN_FILES=""
|
||||
%endif
|
||||
|
||||
# get rid of /usr/lib/rpm/brp-strip-debug
|
||||
# strip removes too much from the vmlinux ELF binary
|
||||
@ -604,6 +589,9 @@ add_vmlinux()
|
||||
%ifarch %ix86 x86_64
|
||||
add_vmlinux --compressed
|
||||
image=bzImage
|
||||
%if %build_xen
|
||||
test -f arch/x86/boot/$image || image=vmlinuz
|
||||
%endif
|
||||
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
|
||||
image=vmlinuz
|
||||
%endif
|
||||
@ -661,6 +649,12 @@ if test %CONFIG_MODULE_SIG = "y"; then
|
||||
done
|
||||
fi
|
||||
|
||||
# Install the frontend driver selector file for xen/ec2
|
||||
%if %build_xen
|
||||
mkdir -p %buildroot/etc/modprobe.d
|
||||
cp %_sourcedir/modprobe-xen.conf %buildroot/etc/modprobe.d/50-xen.conf
|
||||
%endif
|
||||
|
||||
for sub in '-base' '' '-extra'; do
|
||||
case "$sub" in
|
||||
'-base' | '') base_package=1 ;;
|
||||
@ -698,7 +692,7 @@ for sub in '-base' '' '-extra'; do
|
||||
done
|
||||
done
|
||||
|
||||
%if %build_vanilla
|
||||
%if %build_xen || %build_vanilla
|
||||
# keep this -suffix list in sync with post.sh and postun.sh
|
||||
suffix=-%build_flavor
|
||||
%endif
|
||||
@ -790,7 +784,7 @@ if [ %CONFIG_MODULES = y ]; then
|
||||
%if %split_base
|
||||
%_sourcedir/split-modules -d %buildroot \
|
||||
-o %my_builddir \
|
||||
-b %kernel_build_dir \
|
||||
-b %kernel_build_dir/Module.base \
|
||||
%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
|
||||
-e \
|
||||
%endif
|
||||
@ -801,18 +795,18 @@ if [ %CONFIG_MODULES = y ]; then
|
||||
cat %my_builddir/unsupported-modules >>%my_builddir/main-modules
|
||||
%endif
|
||||
|
||||
%else
|
||||
( cd %buildroot
|
||||
find lib/modules/%kernelrelease-%build_flavor -type f -name '*.ko' -printf '/%%p\n'
|
||||
) > %my_builddir/base-modules
|
||||
%endif
|
||||
|
||||
# The modules.dep file is sorted randomly which produces strange file
|
||||
# checksums. As the file is not included in the resulting RPM, it's
|
||||
# pointless to rely on its contents. Replacing by zeros to make the
|
||||
# checksums always the same for several builds of the same package.
|
||||
dd if=/dev/zero of=%buildroot/lib/modules/%kernelrelease-%build_flavor/modules.dep ibs=`stat -c%s %buildroot/lib/modules/%kernelrelease-%build_flavor/modules.dep` count=1
|
||||
|
||||
%else
|
||||
( cd %buildroot
|
||||
find lib/modules/%kernelrelease-%build_flavor -type f -name '*.ko' -printf '/%%p\n'
|
||||
) > %my_builddir/base-modules
|
||||
%endif
|
||||
|
||||
res=0
|
||||
if test -e %my_builddir/kabi/%cpu_arch/symvers-%build_flavor; then
|
||||
# check for kabi changes
|
||||
@ -919,35 +913,26 @@ done | add_dirs_to_filelist >%my_builddir/kernel-devel.files
|
||||
if test %CONFIG_MODULE_SIG = "y" -a -d etc/uefi/certs; then
|
||||
find etc/uefi/certs -type f -printf '/%%p\n'
|
||||
fi
|
||||
if test -d lib/firmware/%kernelrelease-%build_flavor; then
|
||||
%if %split_base
|
||||
echo "%%dir /lib/firmware/%kernelrelease-%build_flavor"
|
||||
cat %my_builddir/base-firmware
|
||||
%else
|
||||
echo "/lib/firmware/%kernelrelease-%build_flavor"
|
||||
%endif
|
||||
# optional per-kernel-release module config workarounds
|
||||
if test -d etc/modprobe.d; then
|
||||
find etc/modprobe.d -type f -printf '%%%%config(noreplace) /%%p\n'
|
||||
fi
|
||||
test -d lib/firmware/%kernelrelease-%build_flavor && \
|
||||
find lib/firmware/%kernelrelease-%build_flavor \
|
||||
-type d -o \
|
||||
-printf '/%%p\n'
|
||||
if [ -e .%_docdir/%name ]; then
|
||||
echo "%%doc %_docdir/%name"
|
||||
fi
|
||||
} | sort -u | add_dirs_to_filelist >%my_builddir/kernel-base.files
|
||||
|
||||
%if %split_base
|
||||
{
|
||||
add_dirs_to_filelist %my_builddir/{kernel-base.files,main-modules}
|
||||
if test -d %buildroot/lib/firmware/%kernelrelease-%build_flavor; then
|
||||
echo "/lib/firmware/%kernelrelease-%build_flavor"
|
||||
fi
|
||||
} > %my_builddir/kernel-main.files
|
||||
add_dirs_to_filelist %my_builddir/{kernel-base.files,main-modules} \
|
||||
> %my_builddir/kernel-main.files
|
||||
%endif
|
||||
%if %split_extra
|
||||
add_dirs_to_filelist %my_builddir/unsupported-modules > %my_builddir/kernel-extra.files
|
||||
%endif
|
||||
for f in %my_builddir/*-kmp-modules; do
|
||||
f2=${f%%-modules}.files
|
||||
add_dirs_to_filelist "$f" >"$f2"
|
||||
done
|
||||
|
||||
|
||||
# Hardlink duplicate files automatically (from package fdupes): It doesn't save
|
||||
# much, but it keeps rpmlint from breaking the package build. Note that we skip
|
||||
@ -1002,14 +987,8 @@ Requires(post): mkinitrd >= 2.7.1
|
||||
# the grub entry has correct title (bnc#757565)
|
||||
Requires(post): distribution-release
|
||||
|
||||
%ifarch ppc64
|
||||
Provides: kernel-kdump-base = 2.6.28
|
||||
Obsoletes: kernel-kdump-base <= 2.6.28
|
||||
%endif
|
||||
|
||||
%obsolete_rebuilds %name-base
|
||||
%ifarch %ix86
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
|
||||
%description base
|
||||
This kernel has several debug facilities enabled that hurt performance.
|
||||
@ -1045,15 +1024,9 @@ Requires(pre): coreutils awk
|
||||
Requires(post): modutils
|
||||
Requires(post): perl-Bootloader
|
||||
Requires(post): mkinitrd
|
||||
%ifarch ppc64
|
||||
Provides: kernel-kdump-extra = 2.6.28
|
||||
Obsoletes: kernel-kdump-extra <= 2.6.28
|
||||
%endif
|
||||
|
||||
%obsolete_rebuilds %name-extra
|
||||
Supplements: packageand(product(SUSE_SLED):%{name}_%_target_cpu)
|
||||
%ifarch %ix86
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
|
||||
%description extra
|
||||
This kernel has several debug facilities enabled that hurt performance.
|
||||
@ -1080,7 +1053,7 @@ This package contains additional modules not supported by Novell.
|
||||
%if %CONFIG_KMSG_IDS == "y"
|
||||
|
||||
%package man
|
||||
Summary: The collection of man pages generated by the kmsg script
|
||||
Summary: The collection of man pages generated by the kmsg script.
|
||||
Group: System/Kernel
|
||||
|
||||
%description man
|
||||
@ -1101,18 +1074,12 @@ Provides: %name-devel = %version-%source_rel
|
||||
Provides: multiversion(kernel)
|
||||
%if ! %build_vanilla
|
||||
Requires: kernel-devel%variant = %version-%source_rel
|
||||
Recommends: make
|
||||
Recommends: gcc
|
||||
Recommends: perl
|
||||
Supplements: packageand(%name:kernel-devel%variant)
|
||||
%else
|
||||
Requires: kernel-source-vanilla = %version-%source_rel
|
||||
Supplements: packageand(%name:kernel-source-vanilla)
|
||||
%endif
|
||||
%ifarch ppc64
|
||||
Provides: kernel-kdump-devel = 2.6.28
|
||||
Obsoletes: kernel-kdump-devel <= 2.6.28
|
||||
%endif
|
||||
|
||||
%obsolete_rebuilds %name-devel
|
||||
PreReq: coreutils
|
||||
|
||||
@ -1142,26 +1109,4 @@ kernel module packages) against the %build_flavor flavor of the kernel.
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if %CONFIG_MODULES == "y" && %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
|
||||
%package kgraft
|
||||
Summary: Metapackage to pull in matching kgraft-patch package
|
||||
Group: System/Kernel
|
||||
Requires: kgraft-patch-%(echo %version-%source_rel | sed 'y/\./_/')-%build_flavor
|
||||
Provides: multiversion(kernel)
|
||||
|
||||
%description kgraft
|
||||
This is a metapackage that pulls in the matching kgraft-patch package for a
|
||||
given kernel version. The advantage of the metapackage is that its name is
|
||||
static, unlike the kgraft-patch-<kernel-version>-flavor package names.
|
||||
|
||||
%files kgraft
|
||||
# rpmlint complains about empty packages, so lets own something
|
||||
%defattr(-, root, root)
|
||||
%dir /lib/modules/%kernelrelease-%build_flavor
|
||||
%endif
|
||||
|
||||
%if %split_base
|
||||
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
42545
kernel-default.changes
42545
kernel-default.changes
File diff suppressed because it is too large
Load Diff
@ -19,8 +19,8 @@
|
||||
# This makes the OBS store the project cert as %_sourcedir/_projectcert.crt
|
||||
# needssslcertforbuild
|
||||
|
||||
%define srcversion 4.6
|
||||
%define patchversion 4.6.2
|
||||
%define srcversion 3.12
|
||||
%define patchversion 3.12.61
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -28,6 +28,7 @@
|
||||
|
||||
%define build_flavor default
|
||||
%define build_default ("%build_flavor" == "default")
|
||||
%define build_xen ("%build_flavor" == "xen" || "%build_flavor" == "ec2")
|
||||
%define build_vanilla ("%build_flavor" == "vanilla")
|
||||
|
||||
%if ! %build_vanilla
|
||||
@ -39,7 +40,7 @@
|
||||
%define rpm_install_dir %buildroot%obj_install_dir
|
||||
%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj
|
||||
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,find-provides,find-requires,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh})
|
||||
%(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,log.sh,try-disable-staging-driver,compress-vmlinux.sh})
|
||||
|
||||
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
|
||||
%define cpu_arch_flavor %cpu_arch/%build_flavor
|
||||
@ -61,9 +62,9 @@ Name: kernel-default
|
||||
Summary: The Standard Kernel
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
Version: 4.6.2
|
||||
Version: 3.12.61
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.g96a29db
|
||||
Release: <RELEASE>.g1c2aaa5
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@ -79,8 +80,6 @@ BuildRequires: modutils
|
||||
# Used to sign the kernel in the buildservice
|
||||
BuildRequires: openssl
|
||||
BuildRequires: pesign-obs-integration
|
||||
# for objtool
|
||||
BuildRequires: libelf-devel
|
||||
Provides: %name = %version-%source_rel
|
||||
# bnc#901925
|
||||
Provides: %name-%version-%source_rel
|
||||
@ -136,6 +135,9 @@ BuildRequires: dwarfextract
|
||||
%ifarch %arm
|
||||
BuildRequires: u-boot-tools
|
||||
%endif
|
||||
%if %build_xen
|
||||
#!BuildIgnore: xen
|
||||
%endif
|
||||
|
||||
Obsoletes: microcode_ctl
|
||||
|
||||
@ -152,20 +154,7 @@ Conflicts: udev < 118
|
||||
Conflicts: lvm2 < 2.02.33
|
||||
# Interface to hv_kvp_daemon changed
|
||||
Conflicts: hyper-v < 4
|
||||
%ifarch %ix86
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
Provides: kernel = %version-%source_rel
|
||||
%ifarch %ix86
|
||||
Provides: kernel-smp = 2.6.17
|
||||
Obsoletes: kernel-smp <= 2.6.17
|
||||
Provides: kernel-trace = 3.13
|
||||
Obsoletes: kernel-trace <= 3.13
|
||||
%endif
|
||||
%ifarch ppc64
|
||||
Provides: kernel-kdump = 2.6.28
|
||||
Obsoletes: kernel-kdump <= 2.6.28
|
||||
%endif
|
||||
%ifarch s390x
|
||||
Provides: kernel-trace = 3.13
|
||||
Obsoletes: kernel-trace <= 3.13
|
||||
@ -175,22 +164,6 @@ Provides: kernel-smp = 2.6.17
|
||||
Obsoletes: kernel-smp <= 2.6.17
|
||||
Provides: kernel-trace = 3.13
|
||||
Obsoletes: kernel-trace <= 3.13
|
||||
Provides: kernel-bigsmp = 3.1
|
||||
Obsoletes: kernel-bigsmp <= 3.1
|
||||
Provides: kernel-desktop = 4.3
|
||||
Obsoletes: kernel-desktop <= 4.3
|
||||
Provides: kernel-xen = 4.4
|
||||
Obsoletes: kernel-xen <= 4.4
|
||||
Provides: kernel-ec2 = 4.4
|
||||
Obsoletes: kernel-ec2 <= 4.4
|
||||
%endif
|
||||
%ifarch %ix86
|
||||
Provides: kernel-trace-base = 3.13
|
||||
Obsoletes: kernel-trace-base <= 3.13
|
||||
%endif
|
||||
%ifarch ppc64
|
||||
Provides: kernel-kdump-base = 2.6.28
|
||||
Obsoletes: kernel-kdump-base <= 2.6.28
|
||||
%endif
|
||||
%ifarch s390x
|
||||
Provides: kernel-trace-base = 3.13
|
||||
@ -199,17 +172,9 @@ Obsoletes: kernel-trace-base <= 3.13
|
||||
%ifarch x86_64
|
||||
Provides: kernel-trace-base = 3.13
|
||||
Obsoletes: kernel-trace-base <= 3.13
|
||||
Provides: kernel-bigsmp-base = 3.1
|
||||
Obsoletes: kernel-bigsmp-base <= 3.1
|
||||
Provides: kernel-desktop-base = 4.3
|
||||
Obsoletes: kernel-desktop-base <= 4.3
|
||||
Provides: kernel-xen-base = 4.4
|
||||
Obsoletes: kernel-xen-base <= 4.4
|
||||
Provides: kernel-ec2-base = 4.4
|
||||
Obsoletes: kernel-ec2-base <= 4.4
|
||||
%endif
|
||||
%obsolete_rebuilds %name
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%srcversion.tar.xz
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.xz
|
||||
Source2: source-post.sh
|
||||
Source3: kernel-source.rpmlintrc
|
||||
Source8: devel-pre.sh
|
||||
@ -231,9 +196,8 @@ Source38: README.KSYMS
|
||||
Source39: config-options.changes.txt
|
||||
Source40: source-timestamp
|
||||
Source44: find-provides
|
||||
Source45: find-requires
|
||||
Source46: split-modules
|
||||
Source47: modversions
|
||||
Source45: split-modules
|
||||
Source46: modversions
|
||||
Source48: macros.kernel-source
|
||||
Source49: kernel-module-subpackage
|
||||
Source50: kabi.pl
|
||||
@ -257,6 +221,7 @@ Source69: try-disable-staging-driver
|
||||
Source70: kernel-obs-build.spec.in
|
||||
Source71: kernel-obs-qa.spec.in
|
||||
Source72: compress-vmlinux.sh
|
||||
Source90: SLES-UEFI-SIGN-Certificate-2048.crt
|
||||
Source100: config.tar.bz2
|
||||
Source101: config.addon.tar.bz2
|
||||
Source102: patches.arch.tar.bz2
|
||||
@ -273,19 +238,10 @@ Source112: patches.trace.tar.bz2
|
||||
Source113: patches.kabi.tar.bz2
|
||||
Source120: kabi.tar.bz2
|
||||
Source121: sysctl.tar.bz2
|
||||
Source122: modprobe-xen.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExclusiveArch: aarch64 armv6hl armv7hl %ix86 ppc64 ppc64le s390x x86_64
|
||||
ExclusiveArch: aarch64 ppc64le s390x x86_64
|
||||
%define kmp_target_cpu %_target_cpu
|
||||
%ifarch %ix86
|
||||
# Only i386/default supports i586, mark other flavors' packages as i686
|
||||
%if ! %build_default
|
||||
BuildArch: i686
|
||||
# KMPs are always built as i586, because rpm does not allow to build
|
||||
# subpackages for different architectures. Therefore, we change the
|
||||
# /usr/src/linux-obj/<arch> symlink to i586.
|
||||
%define kmp_target_cpu i586
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# These files are found in the kernel-source package:
|
||||
NoSource: 0
|
||||
@ -312,7 +268,6 @@ NoSource: 40
|
||||
NoSource: 44
|
||||
NoSource: 45
|
||||
NoSource: 46
|
||||
NoSource: 47
|
||||
NoSource: 48
|
||||
NoSource: 49
|
||||
NoSource: 50
|
||||
@ -336,6 +291,7 @@ NoSource: 69
|
||||
NoSource: 70
|
||||
NoSource: 71
|
||||
NoSource: 72
|
||||
NoSource: 90
|
||||
NoSource: 100
|
||||
NoSource: 101
|
||||
NoSource: 102
|
||||
@ -352,6 +308,7 @@ NoSource: 112
|
||||
NoSource: 113
|
||||
NoSource: 120
|
||||
NoSource: 121
|
||||
NoSource: 122
|
||||
|
||||
# The following KMPs have been integrated into the kernel package,
|
||||
# grouped by the last product that contained them.
|
||||
@ -401,17 +358,10 @@ Provides: ath3k-firmware = 1.0
|
||||
%obsolete_kmp compat-wireless 3.12
|
||||
%obsolete_kmp rts5229 1.08
|
||||
%obsolete_kmp rts_pstor 1.11
|
||||
# sle12-sp1 / Leap 42.1
|
||||
%obsolete_kmp xen 4.6.1
|
||||
%obsolete_kmp compat-wireless 4.4
|
||||
|
||||
# Provide the exported symbols as "ksym(symbol) = hash"
|
||||
%define _use_internal_dependency_generator 0
|
||||
%define __find_provides %_sourcedir/find-provides %name
|
||||
|
||||
# Generate dependencies for KMPs defined in supported.conf
|
||||
%define __find_requires %_sourcedir/find-requires %name %version-%release %my_builddir
|
||||
|
||||
# Will modules not listed in supported.conf abort the kernel build (0/1)?
|
||||
%define supported_modules_check 0
|
||||
|
||||
@ -441,11 +391,15 @@ mkdir -p %kernel_build_dir
|
||||
# Generate a list of modules with their support status marking
|
||||
%_sourcedir/guards --list --with-guards <%_sourcedir/supported.conf | \
|
||||
awk '
|
||||
/\+external / {
|
||||
/^\+(base|yes) / {
|
||||
print $(NF);
|
||||
next;
|
||||
}
|
||||
/^\+external / {
|
||||
print $(NF) " external";
|
||||
next;
|
||||
}
|
||||
/^-/ {
|
||||
/^[-+]/ {
|
||||
print $(NF) " no";
|
||||
next;
|
||||
}
|
||||
@ -453,11 +407,8 @@ awk '
|
||||
print $(NF);
|
||||
}
|
||||
' >%kernel_build_dir/Module.supported
|
||||
for package in base ; do
|
||||
%_sourcedir/guards --default=0 "$package" \
|
||||
<%_sourcedir/supported.conf | sed 's,.*/,,; s,\.ko$,,' | \
|
||||
sort -u >%kernel_build_dir/Module."$package"
|
||||
done
|
||||
%_sourcedir/guards --default=0 base < %_sourcedir/supported.conf | \
|
||||
sed 's,.*/,,; s,\.ko$,,' | sort -u >%kernel_build_dir/Module.base
|
||||
|
||||
cd linux-%srcversion
|
||||
|
||||
@ -488,17 +439,7 @@ if [ -f %_sourcedir/localversion ] ; then
|
||||
cat %_sourcedir/localversion > localversion
|
||||
fi
|
||||
|
||||
vanilla_base="default"
|
||||
%ifarch %ix86
|
||||
vanilla_base="pae"
|
||||
%endif
|
||||
if ! grep -q CONFIG_MMU= "%my_builddir/config/%cpu_arch_flavor"; then
|
||||
cp "%my_builddir/config/%cpu_arch/$vanilla_base" .config
|
||||
../scripts/kconfig/merge_config.sh -m .config \
|
||||
%my_builddir/config/%cpu_arch_flavor
|
||||
else
|
||||
cp %my_builddir/config/%cpu_arch_flavor .config
|
||||
fi
|
||||
if test -e %my_builddir/config.addon/%cpu_arch_flavor; then
|
||||
# FIXME: config.addon doesn't affect the %CONFIG_ macros defined at
|
||||
# the top of the specfile
|
||||
@ -536,8 +477,7 @@ fi
|
||||
make clean $MAKE_ARGS
|
||||
|
||||
rm -f source
|
||||
find . ! -type d ! -name 'Module.base' ! -name 'Module.*-kmp' -printf '%%P\n' \
|
||||
> %my_builddir/obj-files
|
||||
find . ! -type d -printf '%%P\n' > %my_builddir/obj-files
|
||||
|
||||
%build
|
||||
cd %kernel_build_dir
|
||||
@ -548,21 +488,43 @@ if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
|
||||
%_sourcedir/modversions --unpack . < $_
|
||||
fi
|
||||
|
||||
# copy module signing certificate(s)
|
||||
# copy optional module signing files:
|
||||
# *.x509, *.crt
|
||||
# - certificates with pubkeys used to verify module and firmware signatures
|
||||
# at runtime. *.crt files assumed to be in the PEM format.
|
||||
# signing_key.priv
|
||||
# - unencrypted private key used to sign modules and firmware during build
|
||||
# x509.genkey
|
||||
# - openssl req config to generate a new signing_key.{x509,priv} pair for the
|
||||
# build
|
||||
for f in %_sourcedir/*.x509 %_sourcedir/{signing_key.priv,x509.genkey}; do
|
||||
if test -e "$f"; then
|
||||
cp "$f" .
|
||||
fi
|
||||
done
|
||||
for f in %_sourcedir/*.crt; do
|
||||
if ! test -e "$f"; then
|
||||
continue
|
||||
fi
|
||||
case "${f##*/}" in
|
||||
SLES-UEFI*.crt)
|
||||
../scripts/config --set-str CONFIG_MODULE_SIG_KEY "${f##*/}"
|
||||
cp "$f" .
|
||||
;;
|
||||
*)
|
||||
cat "$f" >>keyring.crt
|
||||
../scripts/config --set-str CONFIG_SYSTEM_TRUSTED_KEYS "keyring.crt"
|
||||
esac
|
||||
out=${f##*/}
|
||||
out=${out%.crt}.x509
|
||||
openssl x509 -inform PEM -in "$f" -outform DER -out "$out"
|
||||
done
|
||||
# Convince kernel/Makefile not to generate a new keypair
|
||||
touch x509.genkey
|
||||
touch signing_key.x509
|
||||
%if %build_vanilla
|
||||
# workaround for the 3.12 vanilla kernel which does not have
|
||||
# f0e6d22 ("KEYS: Load *.x509 files into kernel keyring)
|
||||
# but supports an "extra_certificates" file instead
|
||||
for f in *.x509; do
|
||||
if test ! -e "$f" -o "$f" = "signing_key.x509"; then
|
||||
continue
|
||||
fi
|
||||
cat "$f" >>extra_certificates
|
||||
done
|
||||
%endif
|
||||
|
||||
|
||||
MAKE_ARGS="$MAKE_ARGS %{?_smp_mflags}"
|
||||
|
||||
@ -594,11 +556,6 @@ export BRP_PESIGN_FILES="*.ko"
|
||||
%if %CONFIG_EFI_STUB == "y"
|
||||
BRP_PESIGN_FILES="$BRP_PESIGN_FILES /boot/vmlinuz-%kernelrelease-%build_flavor"
|
||||
%endif
|
||||
%ifarch %ix86
|
||||
# XXX: do not sign on x86, as the repackaging changes kernel-pae
|
||||
# from i686 to i586
|
||||
BRP_PESIGN_FILES=""
|
||||
%endif
|
||||
|
||||
# get rid of /usr/lib/rpm/brp-strip-debug
|
||||
# strip removes too much from the vmlinux ELF binary
|
||||
@ -647,6 +604,9 @@ add_vmlinux()
|
||||
%ifarch %ix86 x86_64
|
||||
add_vmlinux --compressed
|
||||
image=bzImage
|
||||
%if %build_xen
|
||||
test -f arch/x86/boot/$image || image=vmlinuz
|
||||
%endif
|
||||
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
|
||||
image=vmlinuz
|
||||
%endif
|
||||
@ -704,6 +664,12 @@ if test %CONFIG_MODULE_SIG = "y"; then
|
||||
done
|
||||
fi
|
||||
|
||||
# Install the frontend driver selector file for xen/ec2
|
||||
%if %build_xen
|
||||
mkdir -p %buildroot/etc/modprobe.d
|
||||
cp %_sourcedir/modprobe-xen.conf %buildroot/etc/modprobe.d/50-xen.conf
|
||||
%endif
|
||||
|
||||
for sub in '-base' '' '-extra'; do
|
||||
case "$sub" in
|
||||
'-base' | '') base_package=1 ;;
|
||||
@ -741,7 +707,7 @@ for sub in '-base' '' '-extra'; do
|
||||
done
|
||||
done
|
||||
|
||||
%if %build_vanilla
|
||||
%if %build_xen || %build_vanilla
|
||||
# keep this -suffix list in sync with post.sh and postun.sh
|
||||
suffix=-%build_flavor
|
||||
%endif
|
||||
@ -833,7 +799,7 @@ if [ %CONFIG_MODULES = y ]; then
|
||||
%if %split_base
|
||||
%_sourcedir/split-modules -d %buildroot \
|
||||
-o %my_builddir \
|
||||
-b %kernel_build_dir \
|
||||
-b %kernel_build_dir/Module.base \
|
||||
%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
|
||||
-e \
|
||||
%endif
|
||||
@ -844,18 +810,18 @@ if [ %CONFIG_MODULES = y ]; then
|
||||
cat %my_builddir/unsupported-modules >>%my_builddir/main-modules
|
||||
%endif
|
||||
|
||||
%else
|
||||
( cd %buildroot
|
||||
find lib/modules/%kernelrelease-%build_flavor -type f -name '*.ko' -printf '/%%p\n'
|
||||
) > %my_builddir/base-modules
|
||||
%endif
|
||||
|
||||
# The modules.dep file is sorted randomly which produces strange file
|
||||
# checksums. As the file is not included in the resulting RPM, it's
|
||||
# pointless to rely on its contents. Replacing by zeros to make the
|
||||
# checksums always the same for several builds of the same package.
|
||||
dd if=/dev/zero of=%buildroot/lib/modules/%kernelrelease-%build_flavor/modules.dep ibs=`stat -c%s %buildroot/lib/modules/%kernelrelease-%build_flavor/modules.dep` count=1
|
||||
|
||||
%else
|
||||
( cd %buildroot
|
||||
find lib/modules/%kernelrelease-%build_flavor -type f -name '*.ko' -printf '/%%p\n'
|
||||
) > %my_builddir/base-modules
|
||||
%endif
|
||||
|
||||
res=0
|
||||
if test -e %my_builddir/kabi/%cpu_arch/symvers-%build_flavor; then
|
||||
# check for kabi changes
|
||||
@ -962,35 +928,26 @@ done | add_dirs_to_filelist >%my_builddir/kernel-devel.files
|
||||
if test %CONFIG_MODULE_SIG = "y" -a -d etc/uefi/certs; then
|
||||
find etc/uefi/certs -type f -printf '/%%p\n'
|
||||
fi
|
||||
if test -d lib/firmware/%kernelrelease-%build_flavor; then
|
||||
%if %split_base
|
||||
echo "%%dir /lib/firmware/%kernelrelease-%build_flavor"
|
||||
cat %my_builddir/base-firmware
|
||||
%else
|
||||
echo "/lib/firmware/%kernelrelease-%build_flavor"
|
||||
%endif
|
||||
# optional per-kernel-release module config workarounds
|
||||
if test -d etc/modprobe.d; then
|
||||
find etc/modprobe.d -type f -printf '%%%%config(noreplace) /%%p\n'
|
||||
fi
|
||||
test -d lib/firmware/%kernelrelease-%build_flavor && \
|
||||
find lib/firmware/%kernelrelease-%build_flavor \
|
||||
-type d -o \
|
||||
-printf '/%%p\n'
|
||||
if [ -e .%_docdir/%name ]; then
|
||||
echo "%%doc %_docdir/%name"
|
||||
fi
|
||||
} | sort -u | add_dirs_to_filelist >%my_builddir/kernel-base.files
|
||||
|
||||
%if %split_base
|
||||
{
|
||||
add_dirs_to_filelist %my_builddir/{kernel-base.files,main-modules}
|
||||
if test -d %buildroot/lib/firmware/%kernelrelease-%build_flavor; then
|
||||
echo "/lib/firmware/%kernelrelease-%build_flavor"
|
||||
fi
|
||||
} > %my_builddir/kernel-main.files
|
||||
add_dirs_to_filelist %my_builddir/{kernel-base.files,main-modules} \
|
||||
> %my_builddir/kernel-main.files
|
||||
%endif
|
||||
%if %split_extra
|
||||
add_dirs_to_filelist %my_builddir/unsupported-modules > %my_builddir/kernel-extra.files
|
||||
%endif
|
||||
for f in %my_builddir/*-kmp-modules; do
|
||||
f2=${f%%-modules}.files
|
||||
add_dirs_to_filelist "$f" >"$f2"
|
||||
done
|
||||
|
||||
|
||||
# Hardlink duplicate files automatically (from package fdupes): It doesn't save
|
||||
# much, but it keeps rpmlint from breaking the package build. Note that we skip
|
||||
@ -1045,14 +1002,6 @@ Requires(post): mkinitrd >= 2.7.1
|
||||
# the grub entry has correct title (bnc#757565)
|
||||
Requires(post): distribution-release
|
||||
|
||||
%ifarch %ix86
|
||||
Provides: kernel-trace-base = 3.13
|
||||
Obsoletes: kernel-trace-base <= 3.13
|
||||
%endif
|
||||
%ifarch ppc64
|
||||
Provides: kernel-kdump-base = 2.6.28
|
||||
Obsoletes: kernel-kdump-base <= 2.6.28
|
||||
%endif
|
||||
%ifarch s390x
|
||||
Provides: kernel-trace-base = 3.13
|
||||
Obsoletes: kernel-trace-base <= 3.13
|
||||
@ -1060,19 +1009,8 @@ Obsoletes: kernel-trace-base <= 3.13
|
||||
%ifarch x86_64
|
||||
Provides: kernel-trace-base = 3.13
|
||||
Obsoletes: kernel-trace-base <= 3.13
|
||||
Provides: kernel-bigsmp-base = 3.1
|
||||
Obsoletes: kernel-bigsmp-base <= 3.1
|
||||
Provides: kernel-desktop-base = 4.3
|
||||
Obsoletes: kernel-desktop-base <= 4.3
|
||||
Provides: kernel-xen-base = 4.4
|
||||
Obsoletes: kernel-xen-base <= 4.4
|
||||
Provides: kernel-ec2-base = 4.4
|
||||
Obsoletes: kernel-ec2-base <= 4.4
|
||||
%endif
|
||||
%obsolete_rebuilds %name-base
|
||||
%ifarch %ix86
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
|
||||
%description base
|
||||
The standard kernel for both uniprocessor and multiprocessor systems.
|
||||
@ -1107,14 +1045,6 @@ Requires(pre): coreutils awk
|
||||
Requires(post): modutils
|
||||
Requires(post): perl-Bootloader
|
||||
Requires(post): mkinitrd
|
||||
%ifarch %ix86
|
||||
Provides: kernel-trace-extra = 3.13
|
||||
Obsoletes: kernel-trace-extra <= 3.13
|
||||
%endif
|
||||
%ifarch ppc64
|
||||
Provides: kernel-kdump-extra = 2.6.28
|
||||
Obsoletes: kernel-kdump-extra <= 2.6.28
|
||||
%endif
|
||||
%ifarch s390x
|
||||
Provides: kernel-trace-extra = 3.13
|
||||
Obsoletes: kernel-trace-extra <= 3.13
|
||||
@ -1122,20 +1052,9 @@ Obsoletes: kernel-trace-extra <= 3.13
|
||||
%ifarch x86_64
|
||||
Provides: kernel-trace-extra = 3.13
|
||||
Obsoletes: kernel-trace-extra <= 3.13
|
||||
Provides: kernel-bigsmp-extra = 3.1
|
||||
Obsoletes: kernel-bigsmp-extra <= 3.1
|
||||
Provides: kernel-desktop-extra = 4.3
|
||||
Obsoletes: kernel-desktop-extra <= 4.3
|
||||
Provides: kernel-xen-extra = 4.4
|
||||
Obsoletes: kernel-xen-extra <= 4.4
|
||||
Provides: kernel-ec2-extra = 4.4
|
||||
Obsoletes: kernel-ec2-extra <= 4.4
|
||||
%endif
|
||||
%obsolete_rebuilds %name-extra
|
||||
Supplements: packageand(product(SUSE_SLED):%{name}_%_target_cpu)
|
||||
%ifarch %ix86
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
|
||||
%description extra
|
||||
The standard kernel for both uniprocessor and multiprocessor systems.
|
||||
@ -1161,7 +1080,7 @@ This package contains additional modules not supported by Novell.
|
||||
%if %CONFIG_KMSG_IDS == "y"
|
||||
|
||||
%package man
|
||||
Summary: The collection of man pages generated by the kmsg script
|
||||
Summary: The collection of man pages generated by the kmsg script.
|
||||
Group: System/Kernel
|
||||
|
||||
%description man
|
||||
@ -1182,22 +1101,11 @@ Provides: %name-devel = %version-%source_rel
|
||||
Provides: multiversion(kernel)
|
||||
%if ! %build_vanilla
|
||||
Requires: kernel-devel%variant = %version-%source_rel
|
||||
Recommends: make
|
||||
Recommends: gcc
|
||||
Recommends: perl
|
||||
Supplements: packageand(%name:kernel-devel%variant)
|
||||
%else
|
||||
Requires: kernel-source-vanilla = %version-%source_rel
|
||||
Supplements: packageand(%name:kernel-source-vanilla)
|
||||
%endif
|
||||
%ifarch %ix86
|
||||
Provides: kernel-trace-devel = 3.13
|
||||
Obsoletes: kernel-trace-devel <= 3.13
|
||||
%endif
|
||||
%ifarch ppc64
|
||||
Provides: kernel-kdump-devel = 2.6.28
|
||||
Obsoletes: kernel-kdump-devel <= 2.6.28
|
||||
%endif
|
||||
%ifarch s390x
|
||||
Provides: kernel-trace-devel = 3.13
|
||||
Obsoletes: kernel-trace-devel <= 3.13
|
||||
@ -1205,14 +1113,6 @@ Obsoletes: kernel-trace-devel <= 3.13
|
||||
%ifarch x86_64
|
||||
Provides: kernel-trace-devel = 3.13
|
||||
Obsoletes: kernel-trace-devel <= 3.13
|
||||
Provides: kernel-bigsmp-devel = 3.1
|
||||
Obsoletes: kernel-bigsmp-devel <= 3.1
|
||||
Provides: kernel-desktop-devel = 4.3
|
||||
Obsoletes: kernel-desktop-devel <= 4.3
|
||||
Provides: kernel-xen-devel = 4.4
|
||||
Obsoletes: kernel-xen-devel <= 4.4
|
||||
Provides: kernel-ec2-devel = 4.4
|
||||
Obsoletes: kernel-ec2-devel <= 4.4
|
||||
%endif
|
||||
%obsolete_rebuilds %name-devel
|
||||
PreReq: coreutils
|
||||
@ -1243,26 +1143,4 @@ kernel module packages) against the %build_flavor flavor of the kernel.
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if %CONFIG_MODULES == "y" && %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
|
||||
%package kgraft
|
||||
Summary: Metapackage to pull in matching kgraft-patch package
|
||||
Group: System/Kernel
|
||||
Requires: kgraft-patch-%(echo %version-%source_rel | sed 'y/\./_/')-%build_flavor
|
||||
Provides: multiversion(kernel)
|
||||
|
||||
%description kgraft
|
||||
This is a metapackage that pulls in the matching kgraft-patch package for a
|
||||
given kernel version. The advantage of the metapackage is that its name is
|
||||
static, unlike the kgraft-patch-<kernel-version>-flavor package names.
|
||||
|
||||
%files kgraft
|
||||
# rpmlint complains about empty packages, so lets own something
|
||||
%defattr(-, root, root)
|
||||
%dir /lib/modules/%kernelrelease-%build_flavor
|
||||
%endif
|
||||
|
||||
%if %split_base
|
||||
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
42545
kernel-docs.changes
42545
kernel-docs.changes
File diff suppressed because it is too large
Load Diff
102
kernel-docs.spec
102
kernel-docs.spec
@ -16,37 +16,23 @@
|
||||
#
|
||||
|
||||
|
||||
%define patchversion 4.6.2
|
||||
%define patchversion 3.12.61
|
||||
%define variant %{nil}
|
||||
|
||||
%include %_sourcedir/kernel-spec-macros
|
||||
|
||||
%define use_fop 1
|
||||
|
||||
Name: kernel-docs
|
||||
Summary: Kernel Documentation (man pages)
|
||||
Summary: Kernel Documentation
|
||||
License: GPL-2.0
|
||||
Group: Documentation/Man
|
||||
Version: 4.6.2
|
||||
Version: 3.12.61
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.g96a29db
|
||||
Release: <RELEASE>.g1c2aaa5
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
BuildRequires: kernel-source%variant
|
||||
BuildRequires: xmlto
|
||||
%if %use_fop
|
||||
BuildRequires: fop
|
||||
%else
|
||||
BuildRequires: docbook-toys
|
||||
BuildRequires: docbook-utils
|
||||
BuildRequires: texlive-courier
|
||||
BuildRequires: texlive-dvips
|
||||
BuildRequires: texlive-ec
|
||||
BuildRequires: texlive-helvetic
|
||||
BuildRequires: texlive-jadetex
|
||||
BuildRequires: texlive-times
|
||||
%endif
|
||||
Url: http://www.kernel.org/
|
||||
Provides: %name = %version-%source_rel
|
||||
BuildArch: noarch
|
||||
@ -57,66 +43,24 @@ Source: kernel-spec-macros
|
||||
These are the man pages (section 9) built from the current kernel sources.
|
||||
|
||||
%source_timestamp
|
||||
|
||||
%package pdf
|
||||
Summary: Kernel Documentation (PDF)
|
||||
License: GPL-2.0
|
||||
Group: Documentation/Other
|
||||
|
||||
%description pdf
|
||||
These are PDF documents built from the current kernel sources.
|
||||
|
||||
%source_timestamp
|
||||
|
||||
%package html
|
||||
Summary: Kernel Documentation (HTML)
|
||||
License: GPL-2.0
|
||||
Group: Documentation/HTML
|
||||
|
||||
%description html
|
||||
These are HTML documents built from the current kernel sources.
|
||||
|
||||
%source_timestamp
|
||||
|
||||
%prep
|
||||
%if !%use_fop
|
||||
cp -av /etc/texmf/web2c/texmf.cnf .
|
||||
cat << EOF >> texmf.cnf
|
||||
main_memory.pdfjadetex = 5000000
|
||||
hash_extra.pdfjadetex = 140000
|
||||
max_strings.pdfjadetex = 240000
|
||||
save_size.pdfjadetex = 20000
|
||||
EOF
|
||||
%endif
|
||||
%setup -T -c
|
||||
|
||||
%build
|
||||
%if !%use_fop
|
||||
# use texmf.cnf from local source
|
||||
export TEXMFCNF=$RPM_BUILD_DIR
|
||||
%endif
|
||||
export LANG=en_US
|
||||
mkdir -p man
|
||||
make -C /usr/src/linux%variant O=$PWD/man mandocs %{?jobs:-j%jobs}
|
||||
mkdir -p html
|
||||
make -C /usr/src/linux%variant O=$PWD/html htmldocs %{?jobs:-j%jobs}
|
||||
mkdir -p pdf
|
||||
make \
|
||||
%if %use_fop
|
||||
XMLTOFLAGS="-m /usr/src/linux%{variant}/Documentation/DocBook/stylesheet.xsl --skip-validation --with-fop" \
|
||||
%endif
|
||||
-C /usr/src/linux%variant O=$PWD/pdf pdfdocs %{?jobs:-j%jobs}
|
||||
make -C /usr/src/linux%variant O=$PWD mandocs %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
install -d $RPM_BUILD_ROOT/%{_mandir}/man9
|
||||
# filter out obscure device drivers - they clutter up the rpm and don't add any real value
|
||||
find man/Documentation/DocBook/ -name '*.9.gz' |
|
||||
grep -E -v 'man/(sis[69]|rio|fsl|struct_rio|RIO|mpc85|set_rx_mode|mdio_(read|write)|mii_ioctl|mca_|z8530|nand|sppp|piix|(read|write)_zs)' |
|
||||
find Documentation/DocBook/ -name '*.9.gz' |
|
||||
egrep -v 'man/(sis[69]|rio|fsl|struct_rio|RIO|mpc85|set_rx_mode|mdio_(read|write)|mii_ioctl|mca_|z8530|nand|sppp|piix|(read|write)_zs)' |
|
||||
while read i ; do
|
||||
cp $i $RPM_BUILD_ROOT/%{_mandir}/man9
|
||||
done
|
||||
if [ -d man/Documentation/kdb ] ; then
|
||||
for i in man/Documentation/kdb/*.m* ; do
|
||||
if [ -d Documentation/kdb ] ; then
|
||||
for i in Documentation/kdb/*.m* ; do
|
||||
k=`basename $i`
|
||||
k=${k/man/9}
|
||||
k=${k/mm/9}
|
||||
@ -124,34 +68,16 @@ if [ -d man/Documentation/kdb ] ; then
|
||||
done
|
||||
fi
|
||||
|
||||
ln -s %{_mandir}/man9/request_threaded_irq.9.gz $RPM_BUILD_ROOT%{_mandir}/man9/request_irq.9.gz
|
||||
|
||||
install -d $RPM_BUILD_ROOT%{_datadir}/doc/kernel/pdf
|
||||
cp -a pdf/Documentation/DocBook/*.pdf $RPM_BUILD_ROOT%{_datadir}/doc/kernel/pdf || true
|
||||
|
||||
install -d $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html
|
||||
cp -a html/Documentation/DocBook/* $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html || true
|
||||
rm -f $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/*.xml
|
||||
rm -f $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/*.{gif,png}
|
||||
rm -f $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/*/*.proc
|
||||
ln -s /usr/share/man/man9/request_threaded_irq.9.gz $RPM_BUILD_ROOT/usr/share/man/man9/request_irq.9.gz
|
||||
|
||||
cp -a /usr/src/linux%variant/{COPYING,CREDITS,MAINTAINERS,README,REPORTING-BUGS} .
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING CREDITS MAINTAINERS README REPORTING-BUGS
|
||||
%{_mandir}/man9/*
|
||||
|
||||
%files pdf
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/doc/kernel
|
||||
%docdir %{_datadir}/doc/kernel/pdf
|
||||
%{_datadir}/doc/kernel/pdf
|
||||
|
||||
%files html
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/doc/kernel
|
||||
%docdir %{_datadir}/doc/kernel/html
|
||||
%{_datadir}/doc/kernel/html
|
||||
|
||||
%changelog
|
||||
|
@ -21,10 +21,8 @@
|
||||
|
||||
%include %_sourcedir/kernel-spec-macros
|
||||
|
||||
%define use_fop 1
|
||||
|
||||
Name: kernel-docs@VARIANT@
|
||||
Summary: Kernel Documentation (man pages)
|
||||
Summary: Kernel Documentation
|
||||
License: GPL-2.0
|
||||
Group: Documentation/Man
|
||||
Version: @RPMVERSION@
|
||||
@ -35,18 +33,6 @@ Release: @RELEASE@
|
||||
%endif
|
||||
BuildRequires: kernel-source%variant
|
||||
BuildRequires: xmlto
|
||||
%if %use_fop
|
||||
BuildRequires: fop
|
||||
%else
|
||||
BuildRequires: docbook-toys
|
||||
BuildRequires: docbook-utils
|
||||
BuildRequires: texlive-courier
|
||||
BuildRequires: texlive-dvips
|
||||
BuildRequires: texlive-ec
|
||||
BuildRequires: texlive-helvetic
|
||||
BuildRequires: texlive-jadetex
|
||||
BuildRequires: texlive-times
|
||||
%endif
|
||||
Url: http://www.kernel.org/
|
||||
Provides: %name = %version-%source_rel
|
||||
BuildArch: noarch
|
||||
@ -57,66 +43,24 @@ Source: kernel-spec-macros
|
||||
These are the man pages (section 9) built from the current kernel sources.
|
||||
|
||||
%source_timestamp
|
||||
|
||||
%package pdf
|
||||
Summary: Kernel Documentation (PDF)
|
||||
License: GPL-2.0
|
||||
Group: Documentation/Other
|
||||
|
||||
%description pdf
|
||||
These are PDF documents built from the current kernel sources.
|
||||
|
||||
%source_timestamp
|
||||
|
||||
%package html
|
||||
Summary: Kernel Documentation (HTML)
|
||||
License: GPL-2.0
|
||||
Group: Documentation/HTML
|
||||
|
||||
%description html
|
||||
These are HTML documents built from the current kernel sources.
|
||||
|
||||
%source_timestamp
|
||||
|
||||
%prep
|
||||
%if !%use_fop
|
||||
cp -av /etc/texmf/web2c/texmf.cnf .
|
||||
cat << EOF >> texmf.cnf
|
||||
main_memory.pdfjadetex = 5000000
|
||||
hash_extra.pdfjadetex = 140000
|
||||
max_strings.pdfjadetex = 240000
|
||||
save_size.pdfjadetex = 20000
|
||||
EOF
|
||||
%endif
|
||||
%setup -T -c
|
||||
|
||||
%build
|
||||
%if !%use_fop
|
||||
# use texmf.cnf from local source
|
||||
export TEXMFCNF=$RPM_BUILD_DIR
|
||||
%endif
|
||||
export LANG=en_US
|
||||
mkdir -p man
|
||||
make -C /usr/src/linux%variant O=$PWD/man mandocs %{?jobs:-j%jobs}
|
||||
mkdir -p html
|
||||
make -C /usr/src/linux%variant O=$PWD/html htmldocs %{?jobs:-j%jobs}
|
||||
mkdir -p pdf
|
||||
make \
|
||||
%if %use_fop
|
||||
XMLTOFLAGS="-m /usr/src/linux%{variant}/Documentation/DocBook/stylesheet.xsl --skip-validation --with-fop" \
|
||||
%endif
|
||||
-C /usr/src/linux%variant O=$PWD/pdf pdfdocs %{?jobs:-j%jobs}
|
||||
make -C /usr/src/linux%variant O=$PWD mandocs %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
install -d $RPM_BUILD_ROOT/%{_mandir}/man9
|
||||
# filter out obscure device drivers - they clutter up the rpm and don't add any real value
|
||||
find man/Documentation/DocBook/ -name '*.9.gz' |
|
||||
grep -E -v 'man/(sis[69]|rio|fsl|struct_rio|RIO|mpc85|set_rx_mode|mdio_(read|write)|mii_ioctl|mca_|z8530|nand|sppp|piix|(read|write)_zs)' |
|
||||
find Documentation/DocBook/ -name '*.9.gz' |
|
||||
egrep -v 'man/(sis[69]|rio|fsl|struct_rio|RIO|mpc85|set_rx_mode|mdio_(read|write)|mii_ioctl|mca_|z8530|nand|sppp|piix|(read|write)_zs)' |
|
||||
while read i ; do
|
||||
cp $i $RPM_BUILD_ROOT/%{_mandir}/man9
|
||||
done
|
||||
if [ -d man/Documentation/kdb ] ; then
|
||||
for i in man/Documentation/kdb/*.m* ; do
|
||||
if [ -d Documentation/kdb ] ; then
|
||||
for i in Documentation/kdb/*.m* ; do
|
||||
k=`basename $i`
|
||||
k=${k/man/9}
|
||||
k=${k/mm/9}
|
||||
@ -124,34 +68,16 @@ if [ -d man/Documentation/kdb ] ; then
|
||||
done
|
||||
fi
|
||||
|
||||
ln -s %{_mandir}/man9/request_threaded_irq.9.gz $RPM_BUILD_ROOT%{_mandir}/man9/request_irq.9.gz
|
||||
|
||||
install -d $RPM_BUILD_ROOT%{_datadir}/doc/kernel/pdf
|
||||
cp -a pdf/Documentation/DocBook/*.pdf $RPM_BUILD_ROOT%{_datadir}/doc/kernel/pdf || true
|
||||
|
||||
install -d $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html
|
||||
cp -a html/Documentation/DocBook/* $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html || true
|
||||
rm -f $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/*.xml
|
||||
rm -f $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/*.{gif,png}
|
||||
rm -f $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/*/*.proc
|
||||
ln -s /usr/share/man/man9/request_threaded_irq.9.gz $RPM_BUILD_ROOT/usr/share/man/man9/request_irq.9.gz
|
||||
|
||||
cp -a /usr/src/linux%variant/{COPYING,CREDITS,MAINTAINERS,README,REPORTING-BUGS} .
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING CREDITS MAINTAINERS README REPORTING-BUGS
|
||||
%{_mandir}/man9/*
|
||||
|
||||
%files pdf
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/doc/kernel
|
||||
%docdir %{_datadir}/doc/kernel/pdf
|
||||
%{_datadir}/doc/kernel/pdf
|
||||
|
||||
%files html
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/doc/kernel
|
||||
%docdir %{_datadir}/doc/kernel/html
|
||||
%{_datadir}/doc/kernel/html
|
||||
|
||||
%changelog
|
||||
|
66362
kernel-ec2.changes
Normal file
66362
kernel-ec2.changes
Normal file
File diff suppressed because it is too large
Load Diff
1118
kernel-ec2.spec
Normal file
1118
kernel-ec2.spec
Normal file
File diff suppressed because it is too large
Load Diff
@ -28,18 +28,6 @@ Requires: coreutils grep
|
||||
Enhances: kernel-%1
|
||||
%if %1 == "default"
|
||||
Obsoletes: %{-n*}-kmp-trace
|
||||
%ifarch %ix86
|
||||
Obsoletes: %{-n*}-kmp-vmi
|
||||
%endif
|
||||
%ifarch x86_64
|
||||
Obsoletes: %{-n*}-kmp-desktop
|
||||
%endif
|
||||
%ifarch %ix86 x86_64
|
||||
Obsoletes: %{-n*}-kmp-xen
|
||||
%endif
|
||||
%endif
|
||||
%if %1 == "pae"
|
||||
Obsoletes: %{-n*}-kmp-desktop
|
||||
%endif
|
||||
AutoReqProv: on
|
||||
%{-p:%{expand:%(cd %_sourcedir; cat %{-p*})}}
|
||||
|
42545
kernel-obs-build.changes
42545
kernel-obs-build.changes
File diff suppressed because it is too large
Load Diff
@ -19,7 +19,7 @@
|
||||
|
||||
#!BuildIgnore: post-build-checks
|
||||
|
||||
%define patchversion 4.6.2
|
||||
%define patchversion 3.12.61
|
||||
%define variant %{nil}
|
||||
|
||||
%include %_sourcedir/kernel-spec-macros
|
||||
@ -39,7 +39,10 @@ BuildRequires: kernel
|
||||
%define kernel_flavor ""
|
||||
%endif
|
||||
|
||||
ExclusiveArch: aarch64 armv6hl armv7hl %ix86 ppc64 ppc64le s390x x86_64
|
||||
%ifarch %ix86 x86_64
|
||||
BuildRequires: kernel-xen
|
||||
%endif
|
||||
ExclusiveArch: aarch64 ppc64le s390x x86_64
|
||||
%if 0%{?suse_version} < 1315
|
||||
# For SLE 11
|
||||
BuildRequires: mkinitrd
|
||||
@ -51,9 +54,9 @@ BuildRequires: dracut
|
||||
Summary: package kernel and initrd for OBS VM builds
|
||||
License: GPL-2.0
|
||||
Group: SLES
|
||||
Version: 4.6.2
|
||||
Version: 3.12.61
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.g96a29db
|
||||
Release: <RELEASE>.g1c2aaa5
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@ -96,14 +99,10 @@ info " binfmt misc..."
|
||||
modprobe binfmt_misc
|
||||
EOF
|
||||
chmod a+rx /usr/lib/dracut/modules.d/80obs/setup_obs.sh
|
||||
# Configure systemd in kernel-obs-build's initrd not to limit TasksMax,
|
||||
# we run with build as PID 1 (boo#965564)
|
||||
echo "DefaultTasksMax=infinity" >> /etc/systemd/system.conf
|
||||
echo "DefaultTasksAccounting=no" >> /etc/systemd/system.conf
|
||||
|
||||
# a longer list to have them also available for qemu cross builds where x86_64 kernel runs in eg. arm env.
|
||||
# this list of modules where available on build workers of build.opensuse.org, so we stay compatible.
|
||||
export KERNEL_MODULES="loop dm-mod dm-snapshot binfmt-misc fuse kqemu squashfs ext2 ext3 ext4 reiserfs btrfs nf_conntrack_ipv6 binfmt_misc virtio_pci virtio_mmio virtio_blk virtio_rng fat vfat nls_cp437 nls_iso8859-1 ibmvscsi sd_mod e1000 ibmveth"
|
||||
export KERNEL_MODULES="loop dm-mod dm-snapshot binfmt-misc fuse kqemu squashfs ext2 ext3 ext4 reiserfs btrfs nf_conntrack_ipv6 binfmt_misc virtio_pci virtio_mmio virtio_blk virtio_rng fat vfat nls_cp437 nls_iso8859-1 ibmvscsi sd_mod"
|
||||
|
||||
# manually load all modules to make sure they're available
|
||||
for i in $KERNEL_MODULES; do
|
||||
@ -132,8 +131,16 @@ ROOT=""
|
||||
/sbin/mkinitrd $ROOT \
|
||||
-m "$KERNEL_MODULES" \
|
||||
-k /boot/%{kernel_name}-*-default -M /boot/System.map-*-default -i /tmp/initrd.kvm -B
|
||||
%ifarch %ix86 x86_64
|
||||
/sbin/mkinitrd $ROOT \
|
||||
-m "$KERNEL_MODULES" \
|
||||
-k /boot/vmlinuz-xen -M /boot/System.map-*-xen -i /tmp/initrd.xen
|
||||
%endif
|
||||
%else
|
||||
dracut --host-only --drivers="$KERNEL_MODULES" --force /tmp/initrd.kvm `echo /boot/%{kernel_name}-*%{kernel_flavor} | sed -n -e 's,[^-]*-\(.*'%{kernel_flavor}'\),\1,p'`
|
||||
%ifarch %ix86 x86_64
|
||||
dracut --host-only --drivers="$KERNEL_MODULES xenblk" --force /tmp/initrd.xen `echo /boot/%{kernel_name}-*-xen | sed -n -e 's,[^-]*-\(.*-xen\),\1,p'`
|
||||
%endif
|
||||
%endif
|
||||
|
||||
|
||||
@ -144,6 +151,10 @@ rm -rf /usr/lib/dracut/modules.d/80obs
|
||||
install -d -m 0755 $RPM_BUILD_ROOT
|
||||
cp -v /boot/%{kernel_name}-*%{kernel_flavor} $RPM_BUILD_ROOT/.build.kernel.kvm
|
||||
cp -v /tmp/initrd.kvm $RPM_BUILD_ROOT/.build.initrd.kvm
|
||||
%ifarch %ix86 x86_64
|
||||
cp -v /boot/%{kernel_name}-*-xen $RPM_BUILD_ROOT/.build.kernel.xen
|
||||
cp -v /tmp/initrd.xen $RPM_BUILD_ROOT/.build.initrd.xen
|
||||
%endif
|
||||
|
||||
#inform worker about arch
|
||||
#see obs-build commit e47399d738e51
|
||||
|
@ -39,6 +39,9 @@ BuildRequires: kernel
|
||||
%define kernel_flavor ""
|
||||
%endif
|
||||
|
||||
%ifarch %ix86 x86_64
|
||||
BuildRequires: kernel-xen
|
||||
%endif
|
||||
ExclusiveArch: @ARCHS@
|
||||
%if 0%{?suse_version} < 1315
|
||||
# For SLE 11
|
||||
@ -96,14 +99,10 @@ info " binfmt misc..."
|
||||
modprobe binfmt_misc
|
||||
EOF
|
||||
chmod a+rx /usr/lib/dracut/modules.d/80obs/setup_obs.sh
|
||||
# Configure systemd in kernel-obs-build's initrd not to limit TasksMax,
|
||||
# we run with build as PID 1 (boo#965564)
|
||||
echo "DefaultTasksMax=infinity" >> /etc/systemd/system.conf
|
||||
echo "DefaultTasksAccounting=no" >> /etc/systemd/system.conf
|
||||
|
||||
# a longer list to have them also available for qemu cross builds where x86_64 kernel runs in eg. arm env.
|
||||
# this list of modules where available on build workers of build.opensuse.org, so we stay compatible.
|
||||
export KERNEL_MODULES="loop dm-mod dm-snapshot binfmt-misc fuse kqemu squashfs ext2 ext3 ext4 reiserfs btrfs nf_conntrack_ipv6 binfmt_misc virtio_pci virtio_mmio virtio_blk virtio_rng fat vfat nls_cp437 nls_iso8859-1 ibmvscsi sd_mod e1000 ibmveth"
|
||||
export KERNEL_MODULES="loop dm-mod dm-snapshot binfmt-misc fuse kqemu squashfs ext2 ext3 ext4 reiserfs btrfs nf_conntrack_ipv6 binfmt_misc virtio_pci virtio_mmio virtio_blk virtio_rng fat vfat nls_cp437 nls_iso8859-1 ibmvscsi sd_mod"
|
||||
|
||||
# manually load all modules to make sure they're available
|
||||
for i in $KERNEL_MODULES; do
|
||||
@ -132,8 +131,16 @@ ROOT=""
|
||||
/sbin/mkinitrd $ROOT \
|
||||
-m "$KERNEL_MODULES" \
|
||||
-k /boot/%{kernel_name}-*-default -M /boot/System.map-*-default -i /tmp/initrd.kvm -B
|
||||
%ifarch %ix86 x86_64
|
||||
/sbin/mkinitrd $ROOT \
|
||||
-m "$KERNEL_MODULES" \
|
||||
-k /boot/vmlinuz-xen -M /boot/System.map-*-xen -i /tmp/initrd.xen
|
||||
%endif
|
||||
%else
|
||||
dracut --host-only --drivers="$KERNEL_MODULES" --force /tmp/initrd.kvm `echo /boot/%{kernel_name}-*%{kernel_flavor} | sed -n -e 's,[^-]*-\(.*'%{kernel_flavor}'\),\1,p'`
|
||||
%ifarch %ix86 x86_64
|
||||
dracut --host-only --drivers="$KERNEL_MODULES xenblk" --force /tmp/initrd.xen `echo /boot/%{kernel_name}-*-xen | sed -n -e 's,[^-]*-\(.*-xen\),\1,p'`
|
||||
%endif
|
||||
%endif
|
||||
|
||||
|
||||
@ -144,6 +151,10 @@ rm -rf /usr/lib/dracut/modules.d/80obs
|
||||
install -d -m 0755 $RPM_BUILD_ROOT
|
||||
cp -v /boot/%{kernel_name}-*%{kernel_flavor} $RPM_BUILD_ROOT/.build.kernel.kvm
|
||||
cp -v /tmp/initrd.kvm $RPM_BUILD_ROOT/.build.initrd.kvm
|
||||
%ifarch %ix86 x86_64
|
||||
cp -v /boot/%{kernel_name}-*-xen $RPM_BUILD_ROOT/.build.kernel.xen
|
||||
cp -v /tmp/initrd.xen $RPM_BUILD_ROOT/.build.initrd.xen
|
||||
%endif
|
||||
|
||||
#inform worker about arch
|
||||
#see obs-build commit e47399d738e51
|
||||
|
66362
kernel-obs-qa-xen.changes
Normal file
66362
kernel-obs-qa-xen.changes
Normal file
File diff suppressed because it is too large
Load Diff
77
kernel-obs-qa-xen.spec
Normal file
77
kernel-obs-qa-xen.spec
Normal file
@ -0,0 +1,77 @@
|
||||
#
|
||||
# spec file for package kernel-obs-qa
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
# needsrootforbuild
|
||||
|
||||
|
||||
%define patchversion 3.12.61
|
||||
%define variant %{nil}
|
||||
|
||||
%include %_sourcedir/kernel-spec-macros
|
||||
|
||||
Name: kernel-obs-qa-xen
|
||||
BuildRequires: kernel-xen
|
||||
# kernel-obs-build must be also configured as VMinstall, but is required
|
||||
# here as well to avoid that qa and build package build parallel
|
||||
BuildRequires: kernel-obs-build
|
||||
BuildRequires: modutils
|
||||
ExclusiveArch: x86_64
|
||||
%if 0%{?suse_version} < 1200
|
||||
# for SLE 11
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%endif
|
||||
Summary: Basic QA tests for the kernel
|
||||
License: GPL-2.0
|
||||
Group: SLES
|
||||
Version: 3.12.61
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.g1c2aaa5
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
|
||||
%description
|
||||
This package is using the kernel compiled within Open Build Service(OBS)
|
||||
projects and runs basic tests.
|
||||
|
||||
%prep
|
||||
|
||||
%build
|
||||
|
||||
%check
|
||||
# More tests are comming, currently the main test is the existens of
|
||||
# this spec file. It does trigger a build within OBS VM which is using
|
||||
# the kernel of the same project.
|
||||
|
||||
# test suites should be packaged in other packages, but build required
|
||||
# and called here.
|
||||
|
||||
krel=$(uname -r)
|
||||
if test ! -d "/lib/modules/$krel/kernel"; then
|
||||
echo "Kernel package for $krel not installed; exiting"
|
||||
exit 0
|
||||
fi
|
||||
/sbin/modprobe loop
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}/usr/share/%name
|
||||
touch %{buildroot}/usr/share/%name/logfile
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
/usr/share/%name
|
||||
|
||||
%changelog
|
42545
kernel-obs-qa.changes
42545
kernel-obs-qa.changes
File diff suppressed because it is too large
Load Diff
@ -17,7 +17,7 @@
|
||||
# needsrootforbuild
|
||||
|
||||
|
||||
%define patchversion 4.6.2
|
||||
%define patchversion 3.12.61
|
||||
%define variant %{nil}
|
||||
|
||||
%include %_sourcedir/kernel-spec-macros
|
||||
@ -28,7 +28,7 @@ BuildRequires: kernel-default
|
||||
# here as well to avoid that qa and build package build parallel
|
||||
BuildRequires: kernel-obs-build
|
||||
BuildRequires: modutils
|
||||
ExclusiveArch: aarch64 armv6hl armv7hl %ix86 ppc64 ppc64le s390x x86_64
|
||||
ExclusiveArch: aarch64 ppc64le s390x x86_64
|
||||
%if 0%{?suse_version} < 1200
|
||||
# for SLE 11
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -36,9 +36,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: Basic QA tests for the kernel
|
||||
License: GPL-2.0
|
||||
Group: SLES
|
||||
Version: 4.6.2
|
||||
Version: 3.12.61
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.g96a29db
|
||||
Release: <RELEASE>.g1c2aaa5
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
|
42545
kernel-source.changes
42545
kernel-source.changes
File diff suppressed because it is too large
Load Diff
@ -9,7 +9,3 @@ addFilter("dangling-symlink /lib/modules/[1-9].*/source")
|
||||
addFilter("hidden-file-or-dir /usr/src/linux-.*-obj/.*/.config")
|
||||
addFilter("hidden-file-or-dir /usr/src/linux-.*-obj/.*/.kernel-binary.spec.buildenv")
|
||||
addFilter("hidden-file-or-dir /boot/\..*\.hmac")
|
||||
# This check ensures that KMPs are built using the %kernel_module_package
|
||||
# macro, but we are deliberately not doing this for KMPs built from the
|
||||
# kernel spec file (fate#319339)
|
||||
addFilter("suse-policy-kmp-missing-supplements")
|
||||
|
@ -17,8 +17,8 @@
|
||||
# icecream 0
|
||||
|
||||
|
||||
%define srcversion 4.6
|
||||
%define patchversion 4.6.2
|
||||
%define srcversion 3.12
|
||||
%define patchversion 3.12.61
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -30,9 +30,9 @@ Name: kernel-source
|
||||
Summary: The Linux Kernel Sources
|
||||
License: GPL-2.0
|
||||
Group: Development/Sources
|
||||
Version: 4.6.2
|
||||
Version: 3.12.61
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.g96a29db
|
||||
Release: <RELEASE>.g1c2aaa5
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@ -45,7 +45,7 @@ Requires(post): coreutils sed
|
||||
Provides: %name = %version-%source_rel
|
||||
Provides: linux
|
||||
Provides: multiversion(kernel)
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%srcversion.tar.xz
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.xz
|
||||
Source2: source-post.sh
|
||||
Source3: kernel-source.rpmlintrc
|
||||
Source8: devel-pre.sh
|
||||
@ -67,9 +67,8 @@ Source38: README.KSYMS
|
||||
Source39: config-options.changes.txt
|
||||
Source40: source-timestamp
|
||||
Source44: find-provides
|
||||
Source45: find-requires
|
||||
Source46: split-modules
|
||||
Source47: modversions
|
||||
Source45: split-modules
|
||||
Source46: modversions
|
||||
Source48: macros.kernel-source
|
||||
Source49: kernel-module-subpackage
|
||||
Source50: kabi.pl
|
||||
@ -93,6 +92,7 @@ Source69: try-disable-staging-driver
|
||||
Source70: kernel-obs-build.spec.in
|
||||
Source71: kernel-obs-qa.spec.in
|
||||
Source72: compress-vmlinux.sh
|
||||
Source90: SLES-UEFI-SIGN-Certificate-2048.crt
|
||||
Source100: config.tar.bz2
|
||||
Source101: config.addon.tar.bz2
|
||||
Source102: patches.arch.tar.bz2
|
||||
@ -109,13 +109,14 @@ Source112: patches.trace.tar.bz2
|
||||
Source113: patches.kabi.tar.bz2
|
||||
Source120: kabi.tar.bz2
|
||||
Source121: sysctl.tar.bz2
|
||||
Source122: modprobe-xen.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
Prefix: /usr/src
|
||||
# Source is only complete with devel files.
|
||||
Requires: kernel-devel%variant = %version-%release
|
||||
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,find-provides,find-requires,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh})
|
||||
%(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,log.sh,try-disable-staging-driver,compress-vmlinux.sh})
|
||||
|
||||
%define symbols %(set -- $([ -e %_sourcedir/extra-symbols ] && cat %_sourcedir/extra-symbols) ; echo $*)
|
||||
%define variant_symbols %(case %name in (*-rt) echo "RT" ;; esac)
|
||||
@ -153,7 +154,7 @@ This package provides the rpm macros and templates for Kernel Module Pakcages
|
||||
%source_timestamp
|
||||
|
||||
%package vanilla
|
||||
Summary: Vanilla Linux kernel sources with minor build fixes
|
||||
Summary: Vanilla Linux kernel sources with minor build fixes.
|
||||
Group: Development/Sources
|
||||
AutoReqProv: off
|
||||
Provides: %name-vanilla = %version-%source_rel
|
||||
|
@ -67,9 +67,8 @@ Source38: README.KSYMS
|
||||
Source39: config-options.changes.txt
|
||||
Source40: source-timestamp
|
||||
Source44: find-provides
|
||||
Source45: find-requires
|
||||
Source46: split-modules
|
||||
Source47: modversions
|
||||
Source45: split-modules
|
||||
Source46: modversions
|
||||
Source48: macros.kernel-source
|
||||
Source49: kernel-module-subpackage
|
||||
Source50: kabi.pl
|
||||
@ -93,6 +92,7 @@ Source69: try-disable-staging-driver
|
||||
Source70: kernel-obs-build.spec.in
|
||||
Source71: kernel-obs-qa.spec.in
|
||||
Source72: compress-vmlinux.sh
|
||||
Source90: SLES-UEFI-SIGN-Certificate-2048.crt
|
||||
Source100: config.tar.bz2
|
||||
Source101: config.addon.tar.bz2
|
||||
Source102: patches.arch.tar.bz2
|
||||
@ -109,6 +109,7 @@ Source112: patches.trace.tar.bz2
|
||||
Source113: patches.kabi.tar.bz2
|
||||
Source120: kabi.tar.bz2
|
||||
Source121: sysctl.tar.bz2
|
||||
Source122: modprobe-xen.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
Prefix: /usr/src
|
||||
@ -153,7 +154,7 @@ This package provides the rpm macros and templates for Kernel Module Pakcages
|
||||
%source_timestamp
|
||||
|
||||
%package vanilla
|
||||
Summary: Vanilla Linux kernel sources with minor build fixes
|
||||
Summary: Vanilla Linux kernel sources with minor build fixes.
|
||||
Group: Development/Sources
|
||||
AutoReqProv: off
|
||||
Provides: %name-vanilla = %version-%source_rel
|
||||
|
42545
kernel-syms.changes
42545
kernel-syms.changes
File diff suppressed because it is too large
Load Diff
@ -24,10 +24,10 @@ Name: kernel-syms
|
||||
Summary: Kernel Symbol Versions (modversions)
|
||||
License: GPL-2.0
|
||||
Group: Development/Sources
|
||||
Version: 4.6.2
|
||||
Version: 3.12.61
|
||||
%if %using_buildservice
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.g96a29db
|
||||
Release: <RELEASE>.g1c2aaa5
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@ -38,14 +38,11 @@ Release: %kernel_source_release
|
||||
Url: http://www.kernel.org/
|
||||
AutoReqProv: off
|
||||
BuildRequires: coreutils
|
||||
%ifarch aarch64 armv6hl armv7hl %ix86 ppc64 ppc64le s390x x86_64
|
||||
%ifarch aarch64 ppc64le s390x x86_64
|
||||
Requires: kernel-default-devel = %version-%source_rel
|
||||
%endif
|
||||
%ifarch armv7hl
|
||||
Requires: kernel-lpae-devel = %version-%source_rel
|
||||
%endif
|
||||
%ifarch %ix86
|
||||
Requires: kernel-pae-devel = %version-%source_rel
|
||||
%ifarch x86_64
|
||||
Requires: kernel-xen-devel = %version-%source_rel
|
||||
%endif
|
||||
Requires: pesign-obs-integration
|
||||
Provides: %name = %version-%source_rel
|
||||
@ -53,7 +50,7 @@ Provides: multiversion(kernel)
|
||||
Source: README.KSYMS
|
||||
Requires: kernel-devel%variant = %version-%source_rel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExclusiveArch: %ix86 aarch64 armv6hl armv7hl ppc64 ppc64le s390x x86_64
|
||||
ExclusiveArch: aarch64 ppc64le s390x x86_64
|
||||
Prefix: /usr/src
|
||||
|
||||
%description
|
||||
|
42545
kernel-vanilla.changes
42545
kernel-vanilla.changes
File diff suppressed because it is too large
Load Diff
@ -19,8 +19,8 @@
|
||||
# This makes the OBS store the project cert as %_sourcedir/_projectcert.crt
|
||||
# needssslcertforbuild
|
||||
|
||||
%define srcversion 4.6
|
||||
%define patchversion 4.6.2
|
||||
%define srcversion 3.12
|
||||
%define patchversion 3.12.61
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -28,6 +28,7 @@
|
||||
|
||||
%define build_flavor vanilla
|
||||
%define build_default ("%build_flavor" == "default")
|
||||
%define build_xen ("%build_flavor" == "xen" || "%build_flavor" == "ec2")
|
||||
%define build_vanilla ("%build_flavor" == "vanilla")
|
||||
|
||||
%if ! %build_vanilla
|
||||
@ -39,7 +40,7 @@
|
||||
%define rpm_install_dir %buildroot%obj_install_dir
|
||||
%define kernel_build_dir %my_builddir/linux-%srcversion/linux-obj
|
||||
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,find-provides,find-requires,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh})
|
||||
%(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,log.sh,try-disable-staging-driver,compress-vmlinux.sh})
|
||||
|
||||
%global cpu_arch %(%_sourcedir/arch-symbols %_target_cpu)
|
||||
%define cpu_arch_flavor %cpu_arch/%build_flavor
|
||||
@ -61,9 +62,9 @@ Name: kernel-vanilla
|
||||
Summary: The Standard Kernel - without any SUSE patches
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
Version: 4.6.2
|
||||
Version: 3.12.61
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.g96a29db
|
||||
Release: <RELEASE>.g1c2aaa5
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
@ -79,8 +80,6 @@ BuildRequires: modutils
|
||||
# Used to sign the kernel in the buildservice
|
||||
BuildRequires: openssl
|
||||
BuildRequires: pesign-obs-integration
|
||||
# for objtool
|
||||
BuildRequires: libelf-devel
|
||||
Provides: %name = %version-%source_rel
|
||||
# bnc#901925
|
||||
Provides: %name-%version-%source_rel
|
||||
@ -136,6 +135,9 @@ BuildRequires: dwarfextract
|
||||
%ifarch %arm
|
||||
BuildRequires: u-boot-tools
|
||||
%endif
|
||||
%if %build_xen
|
||||
#!BuildIgnore: xen
|
||||
%endif
|
||||
|
||||
Obsoletes: microcode_ctl
|
||||
|
||||
@ -152,14 +154,11 @@ Conflicts: udev < 118
|
||||
Conflicts: lvm2 < 2.02.33
|
||||
# Interface to hv_kvp_daemon changed
|
||||
Conflicts: hyper-v < 4
|
||||
%ifarch %ix86
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
Provides: kernel = %version-%source_rel
|
||||
|
||||
|
||||
%obsolete_rebuilds %name
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%srcversion.tar.xz
|
||||
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%srcversion.tar.xz
|
||||
Source2: source-post.sh
|
||||
Source3: kernel-source.rpmlintrc
|
||||
Source8: devel-pre.sh
|
||||
@ -181,9 +180,8 @@ Source38: README.KSYMS
|
||||
Source39: config-options.changes.txt
|
||||
Source40: source-timestamp
|
||||
Source44: find-provides
|
||||
Source45: find-requires
|
||||
Source46: split-modules
|
||||
Source47: modversions
|
||||
Source45: split-modules
|
||||
Source46: modversions
|
||||
Source48: macros.kernel-source
|
||||
Source49: kernel-module-subpackage
|
||||
Source50: kabi.pl
|
||||
@ -207,6 +205,7 @@ Source69: try-disable-staging-driver
|
||||
Source70: kernel-obs-build.spec.in
|
||||
Source71: kernel-obs-qa.spec.in
|
||||
Source72: compress-vmlinux.sh
|
||||
Source90: SLES-UEFI-SIGN-Certificate-2048.crt
|
||||
Source100: config.tar.bz2
|
||||
Source101: config.addon.tar.bz2
|
||||
Source102: patches.arch.tar.bz2
|
||||
@ -223,19 +222,10 @@ Source112: patches.trace.tar.bz2
|
||||
Source113: patches.kabi.tar.bz2
|
||||
Source120: kabi.tar.bz2
|
||||
Source121: sysctl.tar.bz2
|
||||
Source122: modprobe-xen.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExclusiveArch: aarch64 armv6hl armv7hl %ix86 ppc64 ppc64le s390x x86_64
|
||||
ExclusiveArch: s390x x86_64
|
||||
%define kmp_target_cpu %_target_cpu
|
||||
%ifarch %ix86
|
||||
# Only i386/default supports i586, mark other flavors' packages as i686
|
||||
%if ! %build_default
|
||||
BuildArch: i686
|
||||
# KMPs are always built as i586, because rpm does not allow to build
|
||||
# subpackages for different architectures. Therefore, we change the
|
||||
# /usr/src/linux-obj/<arch> symlink to i586.
|
||||
%define kmp_target_cpu i586
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# These files are found in the kernel-source package:
|
||||
NoSource: 0
|
||||
@ -262,7 +252,6 @@ NoSource: 40
|
||||
NoSource: 44
|
||||
NoSource: 45
|
||||
NoSource: 46
|
||||
NoSource: 47
|
||||
NoSource: 48
|
||||
NoSource: 49
|
||||
NoSource: 50
|
||||
@ -286,6 +275,7 @@ NoSource: 69
|
||||
NoSource: 70
|
||||
NoSource: 71
|
||||
NoSource: 72
|
||||
NoSource: 90
|
||||
NoSource: 100
|
||||
NoSource: 101
|
||||
NoSource: 102
|
||||
@ -302,6 +292,7 @@ NoSource: 112
|
||||
NoSource: 113
|
||||
NoSource: 120
|
||||
NoSource: 121
|
||||
NoSource: 122
|
||||
|
||||
# The following KMPs have been integrated into the kernel package,
|
||||
# grouped by the last product that contained them.
|
||||
@ -351,17 +342,10 @@ Provides: ath3k-firmware = 1.0
|
||||
%obsolete_kmp compat-wireless 3.12
|
||||
%obsolete_kmp rts5229 1.08
|
||||
%obsolete_kmp rts_pstor 1.11
|
||||
# sle12-sp1 / Leap 42.1
|
||||
%obsolete_kmp xen 4.6.1
|
||||
%obsolete_kmp compat-wireless 4.4
|
||||
|
||||
# Provide the exported symbols as "ksym(symbol) = hash"
|
||||
%define _use_internal_dependency_generator 0
|
||||
%define __find_provides %_sourcedir/find-provides %name
|
||||
|
||||
# Generate dependencies for KMPs defined in supported.conf
|
||||
%define __find_requires %_sourcedir/find-requires %name %version-%release %my_builddir
|
||||
|
||||
# Will modules not listed in supported.conf abort the kernel build (0/1)?
|
||||
%define supported_modules_check 0
|
||||
|
||||
@ -391,11 +375,15 @@ mkdir -p %kernel_build_dir
|
||||
# Generate a list of modules with their support status marking
|
||||
%_sourcedir/guards --list --with-guards <%_sourcedir/supported.conf | \
|
||||
awk '
|
||||
/\+external / {
|
||||
/^\+(base|yes) / {
|
||||
print $(NF);
|
||||
next;
|
||||
}
|
||||
/^\+external / {
|
||||
print $(NF) " external";
|
||||
next;
|
||||
}
|
||||
/^-/ {
|
||||
/^[-+]/ {
|
||||
print $(NF) " no";
|
||||
next;
|
||||
}
|
||||
@ -403,11 +391,8 @@ awk '
|
||||
print $(NF);
|
||||
}
|
||||
' >%kernel_build_dir/Module.supported
|
||||
for package in base ; do
|
||||
%_sourcedir/guards --default=0 "$package" \
|
||||
<%_sourcedir/supported.conf | sed 's,.*/,,; s,\.ko$,,' | \
|
||||
sort -u >%kernel_build_dir/Module."$package"
|
||||
done
|
||||
%_sourcedir/guards --default=0 base < %_sourcedir/supported.conf | \
|
||||
sed 's,.*/,,; s,\.ko$,,' | sort -u >%kernel_build_dir/Module.base
|
||||
|
||||
cd linux-%srcversion
|
||||
|
||||
@ -438,17 +423,7 @@ if [ -f %_sourcedir/localversion ] ; then
|
||||
cat %_sourcedir/localversion > localversion
|
||||
fi
|
||||
|
||||
vanilla_base="default"
|
||||
%ifarch %ix86
|
||||
vanilla_base="pae"
|
||||
%endif
|
||||
if ! grep -q CONFIG_MMU= "%my_builddir/config/%cpu_arch_flavor"; then
|
||||
cp "%my_builddir/config/%cpu_arch/$vanilla_base" .config
|
||||
../scripts/kconfig/merge_config.sh -m .config \
|
||||
%my_builddir/config/%cpu_arch_flavor
|
||||
else
|
||||
cp %my_builddir/config/%cpu_arch_flavor .config
|
||||
fi
|
||||
if test -e %my_builddir/config.addon/%cpu_arch_flavor; then
|
||||
# FIXME: config.addon doesn't affect the %CONFIG_ macros defined at
|
||||
# the top of the specfile
|
||||
@ -486,8 +461,7 @@ fi
|
||||
make clean $MAKE_ARGS
|
||||
|
||||
rm -f source
|
||||
find . ! -type d ! -name 'Module.base' ! -name 'Module.*-kmp' -printf '%%P\n' \
|
||||
> %my_builddir/obj-files
|
||||
find . ! -type d -printf '%%P\n' > %my_builddir/obj-files
|
||||
|
||||
%build
|
||||
cd %kernel_build_dir
|
||||
@ -498,21 +472,43 @@ if test -e %my_builddir/kabi/%cpu_arch/symtypes-%build_flavor; then
|
||||
%_sourcedir/modversions --unpack . < $_
|
||||
fi
|
||||
|
||||
# copy module signing certificate(s)
|
||||
# copy optional module signing files:
|
||||
# *.x509, *.crt
|
||||
# - certificates with pubkeys used to verify module and firmware signatures
|
||||
# at runtime. *.crt files assumed to be in the PEM format.
|
||||
# signing_key.priv
|
||||
# - unencrypted private key used to sign modules and firmware during build
|
||||
# x509.genkey
|
||||
# - openssl req config to generate a new signing_key.{x509,priv} pair for the
|
||||
# build
|
||||
for f in %_sourcedir/*.x509 %_sourcedir/{signing_key.priv,x509.genkey}; do
|
||||
if test -e "$f"; then
|
||||
cp "$f" .
|
||||
fi
|
||||
done
|
||||
for f in %_sourcedir/*.crt; do
|
||||
if ! test -e "$f"; then
|
||||
continue
|
||||
fi
|
||||
case "${f##*/}" in
|
||||
SLES-UEFI*.crt)
|
||||
../scripts/config --set-str CONFIG_MODULE_SIG_KEY "${f##*/}"
|
||||
cp "$f" .
|
||||
;;
|
||||
*)
|
||||
cat "$f" >>keyring.crt
|
||||
../scripts/config --set-str CONFIG_SYSTEM_TRUSTED_KEYS "keyring.crt"
|
||||
esac
|
||||
out=${f##*/}
|
||||
out=${out%.crt}.x509
|
||||
openssl x509 -inform PEM -in "$f" -outform DER -out "$out"
|
||||
done
|
||||
# Convince kernel/Makefile not to generate a new keypair
|
||||
touch x509.genkey
|
||||
touch signing_key.x509
|
||||
%if %build_vanilla
|
||||
# workaround for the 3.12 vanilla kernel which does not have
|
||||
# f0e6d22 ("KEYS: Load *.x509 files into kernel keyring)
|
||||
# but supports an "extra_certificates" file instead
|
||||
for f in *.x509; do
|
||||
if test ! -e "$f" -o "$f" = "signing_key.x509"; then
|
||||
continue
|
||||
fi
|
||||
cat "$f" >>extra_certificates
|
||||
done
|
||||
%endif
|
||||
|
||||
|
||||
MAKE_ARGS="$MAKE_ARGS %{?_smp_mflags}"
|
||||
|
||||
@ -544,11 +540,6 @@ export BRP_PESIGN_FILES="*.ko"
|
||||
%if %CONFIG_EFI_STUB == "y"
|
||||
BRP_PESIGN_FILES="$BRP_PESIGN_FILES /boot/vmlinuz-%kernelrelease-%build_flavor"
|
||||
%endif
|
||||
%ifarch %ix86
|
||||
# XXX: do not sign on x86, as the repackaging changes kernel-pae
|
||||
# from i686 to i586
|
||||
BRP_PESIGN_FILES=""
|
||||
%endif
|
||||
|
||||
# get rid of /usr/lib/rpm/brp-strip-debug
|
||||
# strip removes too much from the vmlinux ELF binary
|
||||
@ -597,6 +588,9 @@ add_vmlinux()
|
||||
%ifarch %ix86 x86_64
|
||||
add_vmlinux --compressed
|
||||
image=bzImage
|
||||
%if %build_xen
|
||||
test -f arch/x86/boot/$image || image=vmlinuz
|
||||
%endif
|
||||
cp -p arch/x86/boot/$image %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor
|
||||
image=vmlinuz
|
||||
%endif
|
||||
@ -654,6 +648,12 @@ if test %CONFIG_MODULE_SIG = "y"; then
|
||||
done
|
||||
fi
|
||||
|
||||
# Install the frontend driver selector file for xen/ec2
|
||||
%if %build_xen
|
||||
mkdir -p %buildroot/etc/modprobe.d
|
||||
cp %_sourcedir/modprobe-xen.conf %buildroot/etc/modprobe.d/50-xen.conf
|
||||
%endif
|
||||
|
||||
for sub in '-base' '' '-extra'; do
|
||||
case "$sub" in
|
||||
'-base' | '') base_package=1 ;;
|
||||
@ -691,7 +691,7 @@ for sub in '-base' '' '-extra'; do
|
||||
done
|
||||
done
|
||||
|
||||
%if %build_vanilla
|
||||
%if %build_xen || %build_vanilla
|
||||
# keep this -suffix list in sync with post.sh and postun.sh
|
||||
suffix=-%build_flavor
|
||||
%endif
|
||||
@ -783,7 +783,7 @@ if [ %CONFIG_MODULES = y ]; then
|
||||
%if %split_base
|
||||
%_sourcedir/split-modules -d %buildroot \
|
||||
-o %my_builddir \
|
||||
-b %kernel_build_dir \
|
||||
-b %kernel_build_dir/Module.base \
|
||||
%if %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
|
||||
-e \
|
||||
%endif
|
||||
@ -794,18 +794,18 @@ if [ %CONFIG_MODULES = y ]; then
|
||||
cat %my_builddir/unsupported-modules >>%my_builddir/main-modules
|
||||
%endif
|
||||
|
||||
%else
|
||||
( cd %buildroot
|
||||
find lib/modules/%kernelrelease-%build_flavor -type f -name '*.ko' -printf '/%%p\n'
|
||||
) > %my_builddir/base-modules
|
||||
%endif
|
||||
|
||||
# The modules.dep file is sorted randomly which produces strange file
|
||||
# checksums. As the file is not included in the resulting RPM, it's
|
||||
# pointless to rely on its contents. Replacing by zeros to make the
|
||||
# checksums always the same for several builds of the same package.
|
||||
dd if=/dev/zero of=%buildroot/lib/modules/%kernelrelease-%build_flavor/modules.dep ibs=`stat -c%s %buildroot/lib/modules/%kernelrelease-%build_flavor/modules.dep` count=1
|
||||
|
||||
%else
|
||||
( cd %buildroot
|
||||
find lib/modules/%kernelrelease-%build_flavor -type f -name '*.ko' -printf '/%%p\n'
|
||||
) > %my_builddir/base-modules
|
||||
%endif
|
||||
|
||||
res=0
|
||||
if test -e %my_builddir/kabi/%cpu_arch/symvers-%build_flavor; then
|
||||
# check for kabi changes
|
||||
@ -912,35 +912,26 @@ done | add_dirs_to_filelist >%my_builddir/kernel-devel.files
|
||||
if test %CONFIG_MODULE_SIG = "y" -a -d etc/uefi/certs; then
|
||||
find etc/uefi/certs -type f -printf '/%%p\n'
|
||||
fi
|
||||
if test -d lib/firmware/%kernelrelease-%build_flavor; then
|
||||
%if %split_base
|
||||
echo "%%dir /lib/firmware/%kernelrelease-%build_flavor"
|
||||
cat %my_builddir/base-firmware
|
||||
%else
|
||||
echo "/lib/firmware/%kernelrelease-%build_flavor"
|
||||
%endif
|
||||
# optional per-kernel-release module config workarounds
|
||||
if test -d etc/modprobe.d; then
|
||||
find etc/modprobe.d -type f -printf '%%%%config(noreplace) /%%p\n'
|
||||
fi
|
||||
test -d lib/firmware/%kernelrelease-%build_flavor && \
|
||||
find lib/firmware/%kernelrelease-%build_flavor \
|
||||
-type d -o \
|
||||
-printf '/%%p\n'
|
||||
if [ -e .%_docdir/%name ]; then
|
||||
echo "%%doc %_docdir/%name"
|
||||
fi
|
||||
} | sort -u | add_dirs_to_filelist >%my_builddir/kernel-base.files
|
||||
|
||||
%if %split_base
|
||||
{
|
||||
add_dirs_to_filelist %my_builddir/{kernel-base.files,main-modules}
|
||||
if test -d %buildroot/lib/firmware/%kernelrelease-%build_flavor; then
|
||||
echo "/lib/firmware/%kernelrelease-%build_flavor"
|
||||
fi
|
||||
} > %my_builddir/kernel-main.files
|
||||
add_dirs_to_filelist %my_builddir/{kernel-base.files,main-modules} \
|
||||
> %my_builddir/kernel-main.files
|
||||
%endif
|
||||
%if %split_extra
|
||||
add_dirs_to_filelist %my_builddir/unsupported-modules > %my_builddir/kernel-extra.files
|
||||
%endif
|
||||
for f in %my_builddir/*-kmp-modules; do
|
||||
f2=${f%%-modules}.files
|
||||
add_dirs_to_filelist "$f" >"$f2"
|
||||
done
|
||||
|
||||
|
||||
# Hardlink duplicate files automatically (from package fdupes): It doesn't save
|
||||
# much, but it keeps rpmlint from breaking the package build. Note that we skip
|
||||
@ -997,9 +988,6 @@ Requires(post): distribution-release
|
||||
|
||||
|
||||
%obsolete_rebuilds %name-base
|
||||
%ifarch %ix86
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
|
||||
%description base
|
||||
The standard kernel - without any SUSE patches
|
||||
@ -1037,9 +1025,6 @@ Requires(post): mkinitrd
|
||||
|
||||
%obsolete_rebuilds %name-extra
|
||||
Supplements: packageand(product(SUSE_SLED):%{name}_%_target_cpu)
|
||||
%ifarch %ix86
|
||||
Conflicts: libc.so.6()(64bit)
|
||||
%endif
|
||||
|
||||
%description extra
|
||||
The standard kernel - without any SUSE patches
|
||||
@ -1065,7 +1050,7 @@ This package contains additional modules not supported by Novell.
|
||||
%if %CONFIG_KMSG_IDS == "y"
|
||||
|
||||
%package man
|
||||
Summary: The collection of man pages generated by the kmsg script
|
||||
Summary: The collection of man pages generated by the kmsg script.
|
||||
Group: System/Kernel
|
||||
|
||||
%description man
|
||||
@ -1086,9 +1071,6 @@ Provides: %name-devel = %version-%source_rel
|
||||
Provides: multiversion(kernel)
|
||||
%if ! %build_vanilla
|
||||
Requires: kernel-devel%variant = %version-%source_rel
|
||||
Recommends: make
|
||||
Recommends: gcc
|
||||
Recommends: perl
|
||||
Supplements: packageand(%name:kernel-devel%variant)
|
||||
%else
|
||||
Requires: kernel-source-vanilla = %version-%source_rel
|
||||
@ -1124,26 +1106,4 @@ kernel module packages) against the %build_flavor flavor of the kernel.
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if %CONFIG_MODULES == "y" && %CONFIG_SUSE_KERNEL_SUPPORTED == "y"
|
||||
%package kgraft
|
||||
Summary: Metapackage to pull in matching kgraft-patch package
|
||||
Group: System/Kernel
|
||||
Requires: kgraft-patch-%(echo %version-%source_rel | sed 'y/\./_/')-%build_flavor
|
||||
Provides: multiversion(kernel)
|
||||
|
||||
%description kgraft
|
||||
This is a metapackage that pulls in the matching kgraft-patch package for a
|
||||
given kernel version. The advantage of the metapackage is that its name is
|
||||
static, unlike the kgraft-patch-<kernel-version>-flavor package names.
|
||||
|
||||
%files kgraft
|
||||
# rpmlint complains about empty packages, so lets own something
|
||||
%defattr(-, root, root)
|
||||
%dir /lib/modules/%kernelrelease-%build_flavor
|
||||
%endif
|
||||
|
||||
%if %split_base
|
||||
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
66362
kernel-xen.changes
Normal file
66362
kernel-xen.changes
Normal file
File diff suppressed because it is too large
Load Diff
1118
kernel-xen.spec
Normal file
1118
kernel-xen.spec
Normal file
File diff suppressed because it is too large
Load Diff
66362
kernel-zfcpdump.changes
Normal file
66362
kernel-zfcpdump.changes
Normal file
File diff suppressed because it is too large
Load Diff
1118
kernel-zfcpdump.spec
Normal file
1118
kernel-zfcpdump.spec
Normal file
File diff suppressed because it is too large
Load Diff
3
linux-3.12.tar.xz
Normal file
3
linux-3.12.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2e120ec7fde19fa51dc6b6cc11c81860a0775defcad5a5bf910ed9a50e845a02
|
||||
size 76384600
|
57
mkspec
57
mkspec
@ -23,8 +23,6 @@ my %syms_flavor_archs = parse_config_conf("syms");
|
||||
# template name -> template body
|
||||
my %templates = read_spec_templates();
|
||||
|
||||
my @kmps = read_kmps();
|
||||
|
||||
# config.sh variables
|
||||
my %vars = parse_config_sh();
|
||||
my ($srcversion, $variant, $vanilla_only) =
|
||||
@ -90,23 +88,6 @@ my %macros = (
|
||||
);
|
||||
|
||||
# binary spec files
|
||||
my $kmp_definitions = "";
|
||||
for my $kmp (@kmps) {
|
||||
my ($summary, $description);
|
||||
if (!exists($binary_descriptions{$kmp})) {
|
||||
print STDERR "warning: no description for $kmp found\n";
|
||||
($summary = $kmp) =~ s/-kmp$//;
|
||||
$summary .= " kernel modules";
|
||||
$description = "$summary.";
|
||||
} else {
|
||||
$summary = $binary_descriptions{$kmp}->[0];
|
||||
$description = $binary_descriptions{$kmp}->[1];
|
||||
}
|
||||
$kmp_definitions .= expand_template("kmp",
|
||||
KMP_NAME => $kmp,
|
||||
KMP_SUMMARY => $summary,
|
||||
KMP_DESCRIPTION => $description);
|
||||
}
|
||||
for my $flavor (sort keys(%flavor_archs)) {
|
||||
my ($summary, $description);
|
||||
if (!exists($binary_descriptions{"kernel-$flavor"})) {
|
||||
@ -131,8 +112,6 @@ for my $flavor (sort keys(%flavor_archs)) {
|
||||
DESCRIPTION => $description,
|
||||
ARCHS => join(" ", arch2rpm(@{$flavor_archs{$flavor}})),
|
||||
COMMON_DEPS => $templates{common_deps},
|
||||
KMPS => join(" ", @kmps),
|
||||
KMP_DEFINITIONS => $kmp_definitions,
|
||||
%obsolete_macros
|
||||
);
|
||||
}
|
||||
@ -237,12 +216,6 @@ sub read_spec_templates {
|
||||
print STDERR "warning: Expected # BEGIN COMMON DEPS in kernel-binary.spec.in\n";
|
||||
$res{common_deps} = "";
|
||||
}
|
||||
if ($res{$template} =~ s/^# BEGIN KMP\n?(.*)^# END KMP/\@KMP_DEFINITIONS\@/ms) {
|
||||
$res{kmp} = $1;
|
||||
} else {
|
||||
print STDERR "warning: Expected # BEGIN KMP in kernel-binary.spec.in\n";
|
||||
$res{kmp} = "";
|
||||
}
|
||||
}
|
||||
{
|
||||
xopen(my $fh, '<', "$dir/constraints.in");
|
||||
@ -317,24 +290,6 @@ sub parse_descriptions {
|
||||
return %res;
|
||||
}
|
||||
|
||||
sub read_kmps {
|
||||
my %res;
|
||||
|
||||
open(my $fh, '-|', "$dir/guards", "--list", "--with-guards",
|
||||
"-c", "$dir/supported.conf") or die "Error running guards: $!\n";
|
||||
while (<$fh>) {
|
||||
my @guards = split(' ');
|
||||
pop(@guards);
|
||||
for my $g (@guards) {
|
||||
if ($g =~ /^\+(.*-kmp)$/) {
|
||||
$res{$1} = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
close($fh) or die "Error running guards: $!\n";
|
||||
return sort(keys(%res));
|
||||
}
|
||||
|
||||
sub parse_old_flavors{
|
||||
my %res;
|
||||
|
||||
@ -439,8 +394,9 @@ sub get_commit {
|
||||
return $commit;
|
||||
}
|
||||
|
||||
sub expand_template {
|
||||
sub do_spec {
|
||||
my $template = shift;
|
||||
my $specfile = shift;
|
||||
my %macros = @_;
|
||||
|
||||
my $text = $templates{$template};
|
||||
@ -451,15 +407,6 @@ sub expand_template {
|
||||
$text =~ s/\@$m\@/$macros{$m}/g;
|
||||
}
|
||||
} while ($prev_text ne $text);
|
||||
return $text;
|
||||
}
|
||||
|
||||
sub do_spec {
|
||||
my $template = shift;
|
||||
my $specfile = shift;
|
||||
my %macros = @_;
|
||||
|
||||
my $text = expand_template($template, %macros);
|
||||
print "$specfile\n";
|
||||
xopen(my $fh, '>', "$dir/$specfile");
|
||||
print $fh $text;
|
||||
|
15
modprobe-xen.conf
Normal file
15
modprobe-xen.conf
Normal file
@ -0,0 +1,15 @@
|
||||
# Two different versions of the xen frontend block driver exist:
|
||||
#
|
||||
# traditional implementation
|
||||
# pvops-based implementation
|
||||
#
|
||||
# In order to enable indirect descriptors with some non-SUSE hypervisor
|
||||
# environments, it may be necessary to switch from the traditional
|
||||
# implementation to the pvops-based implementation. To do this, ensure
|
||||
# the appropriate section below is uncommented, and rebuild the initrd.
|
||||
#
|
||||
### Enable the traditional implementation of blkfront
|
||||
install xen-blkfront /sbin/modprobe xenblk
|
||||
#
|
||||
### Enable the pvops-based implementation of blkfront
|
||||
#install xenblk /sbin/modprobe xen-blkfront
|
35
old-flavors
35
old-flavors
@ -1,45 +1,10 @@
|
||||
# List of obsolete kernel flavors
|
||||
# <arch>/<new flavor> <old flavor> <upper bound of shipped versions>
|
||||
|
||||
# SLES 9
|
||||
ia64/default sn2 2.6.6
|
||||
|
||||
ppc/ppc64 pmac64 2.6.6
|
||||
ppc/ppc64 pseries64 2.6.6
|
||||
|
||||
# SLES 10
|
||||
i386/default smp 2.6.17
|
||||
i386/pae bigsmp 2.6.17
|
||||
i386/xen xenpae 2.6.17
|
||||
|
||||
x86_64/default smp 2.6.17
|
||||
|
||||
ppc/ppc64 iseries64 2.6.17
|
||||
ppc/ppc64 kdump 2.6.17
|
||||
|
||||
# SLES 11 GA only
|
||||
# FIXME: more architectures had kdump in SLES 10
|
||||
ppc64/debug kdump 2.6.28
|
||||
ppc64/default kdump 2.6.28
|
||||
ppc64/ppc64 kdump 2.6.28
|
||||
ppc64/trace kdump 2.6.28
|
||||
|
||||
# SLES 11 GA only / 11.4
|
||||
i386/pae vmi 2.6.38
|
||||
|
||||
# SLES 11 SP3 / openSUSE 13.1
|
||||
i386/default trace 3.13
|
||||
|
||||
x86_64/default trace 3.13
|
||||
x86_64/default bigsmp 3.1
|
||||
|
||||
s390x/default trace 3.13
|
||||
|
||||
# openSUSE 13.2 / Tumbleweed until 2015-10-01
|
||||
i386/pae desktop 4.3
|
||||
x86_64/default desktop 4.3
|
||||
|
||||
i386/pae xen 4.4
|
||||
i386/pae ec2 4.4
|
||||
x86_64/default xen 4.4
|
||||
x86_64/default ec2 4.4
|
||||
|
@ -20,18 +20,6 @@ The Standard Kernel
|
||||
|
||||
The standard kernel for both uniprocessor and multiprocessor systems.
|
||||
|
||||
=== kernel-pae ===
|
||||
Kernel with PAE Support
|
||||
|
||||
This kernel supports up to 64GB of main memory. It requires Physical
|
||||
Addressing Extensions (PAE), which were introduced with the Pentium Pro
|
||||
processor.
|
||||
|
||||
PAE is not only more physical address space but also important for the
|
||||
"no execute" feature which disables execution of code that is marked as
|
||||
non-executable. Therefore, the PAE kernel should be used on any systems
|
||||
that support it, regardless of the amount of main memory.
|
||||
|
||||
=== kernel-vanilla ===
|
||||
The Standard Kernel - without any SUSE patches
|
||||
|
||||
@ -50,37 +38,8 @@ The Amazon EC2 Xen Kernel
|
||||
|
||||
The Linux kernel for Xen paravirtualization.
|
||||
|
||||
This kernel can only be used as an unprivileged ("xenU") kernel
|
||||
(mainly, but not exclusively, for Amazon EC2).
|
||||
|
||||
=== kernel-pv ===
|
||||
The para-virtualized Kernel
|
||||
|
||||
The Linux kernel for Xen (and other) paravirtualization, using pv-ops
|
||||
in the Xen/x86 case, in which case it can be used both as the domain0
|
||||
("xen0") and as an unprivileged ("xenU") kernel.
|
||||
|
||||
=== kernel-lpae ===
|
||||
Kernel for LPAE enabled systems
|
||||
|
||||
The kernel for all 32-bit ARM platforms that support LPAE. This includes all
|
||||
Cortex A15 based SoCs, like the Exynos5, OMAP5 or Calxeda ECX-2000.
|
||||
|
||||
=== kernel-cubox ===
|
||||
Kernel for SolidRun Cubox
|
||||
|
||||
The standard kernel for Marvell Dove SoC, as found in
|
||||
the SolidRun Cubox.
|
||||
|
||||
=== kernel-exynos ===
|
||||
Kernel for Samsung's Exynos SoC
|
||||
|
||||
The standard kernel for Samsung's Exynos 4 & 5 SoC, as found in the Origen board.
|
||||
|
||||
=== kernel-versatile ===
|
||||
Kernel for Versatile SoC
|
||||
|
||||
The standard kernel for Versatile SoC, or for emulation with QEMU.
|
||||
This kernel can only be used both as an unprivileged ("xenU")
|
||||
kernel (for Amazon EC2).
|
||||
|
||||
=== kernel-zfcpdump ===
|
||||
The IBM System Z zfcpdump Kernel
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c25c250242611927b31cfa921fd04b7a4b2b174bf866533c1adb6cc15aec17ee
|
||||
size 6206
|
||||
oid sha256:64999760d0fd4940838022648dd94e6461f8f253fe7f43603e2c08e46dece9dd
|
||||
size 6317
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:01067639859bb003748dc1692b92d0b1a224b75b9879d25ad490d18c0f631b6d
|
||||
size 202331
|
||||
oid sha256:7e86c0031ee2c41c0236b54d7b1db4583aa7af6b3d808f4276f984174f6fd539
|
||||
size 834000
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a2bd76db12bf5bdcb463cd7771cf9eb01f8efb4a2eefca55eae215fb20bd90df
|
||||
size 4964
|
||||
oid sha256:5e31aceeb662b9760292d17fdac646e670d610f4e0fee5dae45b6bd48c12e6e8
|
||||
size 2328266
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0872645af7fabc245defd6131c566714acfa9d3da4ec48e920b90691529472c4
|
||||
size 12753
|
||||
oid sha256:38090b8dd61d69a4ebed612fd66b15bbaec0448aeaec8a50ba1f07f982112e61
|
||||
size 640765
|
||||
|
BIN
patches.kabi.tar.bz2
(Stored with Git LFS)
BIN
patches.kabi.tar.bz2
(Stored with Git LFS)
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:05406e05d347cd9772817d45f23387eb8b1665cd10675fa9b6112f7a1e0640ed
|
||||
size 83558
|
||||
oid sha256:2e3f3b91c84f208c9ba32460c56ec8d8697246890dd2f33b6ab70d342efb511f
|
||||
size 2188848
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:90b3565e7317ba1dcd9dfda42b02258a83916b1aa1d75f3c8e6fff099fc69c9f
|
||||
size 2828
|
||||
oid sha256:c5e245dbca71b5da1bd1a8dc3a91fa7510dedfe678e02c25f5f79826093b5b2b
|
||||
size 3679
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d963b35132f29fe1abc9822d43d08f6fa5859a2af3709179e2006fa4381a6e2c
|
||||
size 59843
|
||||
oid sha256:a23cdda5c3f708dd42bbb3f1b064cf7a844f9e34dc5abcf888511571385829b0
|
||||
size 1681159
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6dfe8549f6e38f0b10c457737af3d0abb9e8001f0716350e97012671ec1657b6
|
||||
size 130
|
||||
oid sha256:5e908b95bb0ed533830acc5d8c703955160ad3495520e6205d8b5829fcc18309
|
||||
size 1909883
|
||||
|
8
post.sh
8
post.sh
@ -2,9 +2,11 @@
|
||||
touch /boot/do_purge_kernels
|
||||
|
||||
suffix=
|
||||
if test "@FLAVOR@" = "vanilla"; then
|
||||
suffix=-@FLAVOR@
|
||||
fi
|
||||
case @FLAVOR@ in
|
||||
xen*|ec2|vanilla)
|
||||
suffix=-@FLAVOR@
|
||||
;;
|
||||
esac
|
||||
for x in /boot/@IMAGE@ /boot/initrd; do
|
||||
rm -f $x$suffix
|
||||
ln -s ${x##*/}-@KERNELRELEASE@-@FLAVOR@ $x$suffix
|
||||
|
7279
series.conf
7279
series.conf
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,3 @@
|
||||
2016-06-21 08:12:52 +0200
|
||||
GIT Revision: 96a29db5248d923dc4fb91597ddea82c91a7a382
|
||||
GIT Branch: stable
|
||||
2016-06-15 16:03:26 +0200
|
||||
GIT Revision: 1c2aaa5c797fabfd29562f85592cabd6465e6191
|
||||
GIT Branch: SLE12
|
||||
|
@ -19,7 +19,7 @@ if test $? -ne 0; then
|
||||
exit 1
|
||||
fi
|
||||
eval set -- "$options"
|
||||
opt_builddir=
|
||||
opt_base=
|
||||
opt_out=.
|
||||
opt_dir=.
|
||||
opt_ignore_errors=false
|
||||
@ -34,7 +34,7 @@ while test $# -gt 0; do
|
||||
esac
|
||||
case "$opt" in
|
||||
-b)
|
||||
opt_builddir=$arg ;;
|
||||
opt_base=$arg ;;
|
||||
-d)
|
||||
opt_dir=$arg ;;
|
||||
-o)
|
||||
@ -50,7 +50,7 @@ while test $# -gt 0; do
|
||||
exit 1
|
||||
esac
|
||||
done
|
||||
if test -z "$opt_builddir"; then
|
||||
if test -z "$opt_base"; then
|
||||
usage >&2
|
||||
exit 1
|
||||
fi
|
||||
@ -110,34 +110,15 @@ add_dependent_modules()
|
||||
}
|
||||
|
||||
# base
|
||||
sed 'y/-/_/' <"$opt_builddir/Module.base" | add_dependent_modules >"$tmp/base"
|
||||
sed 'y/-/_/' <"$opt_base" | add_dependent_modules >"$tmp/base"
|
||||
join -j 1 -o 2.2 "$tmp/base" "$tmp/all" >"$opt_out/base-modules"
|
||||
|
||||
# base firmware
|
||||
kver=$(make -s -C "$opt_builddir" kernelrelease)
|
||||
if test -d "$opt_dir/lib/firmware/$kver"; then
|
||||
join <(/sbin/modinfo -F firmware \
|
||||
$(sed "s:^:$opt_dir:" "$opt_out/base-modules") | sort) \
|
||||
<(find "$opt_dir/lib/firmware/$kver" -type f -printf '%P\n' | sort)
|
||||
fi | sed "s:^:/lib/firmware/$kver/:" >"$opt_out/base-firmware"
|
||||
|
||||
# kmps
|
||||
for f in "$opt_builddir"/Module.*-kmp; do
|
||||
kmp=${f##*/Module.}
|
||||
sed 'y/-/_/' <"$f" >"$tmp/$kmp"
|
||||
join -j 1 -o 2.2 "$tmp/$kmp" "$tmp/all" >"$opt_out/$kmp-modules"
|
||||
cat "$tmp/$kmp"
|
||||
done | sort -u >"$tmp/kmp-all"
|
||||
join -v1 "$tmp/supp" "$tmp/kmp-all" >"$tmp/supp-main"
|
||||
|
||||
# main
|
||||
add_dependent_modules "$tmp/supp-explain" <"$tmp/supp-main" >"$tmp/supp-all"
|
||||
if ! cmp -s "$tmp/supp-main" "$tmp/supp-all"; then
|
||||
# FIXME: Error message not accurate if a supported KMP module is
|
||||
# needed by a module in the main package
|
||||
add_dependent_modules "$tmp/supp-explain" <"$tmp/supp" >"$tmp/supp-all"
|
||||
if ! cmp -s "$tmp/supp" "$tmp/supp-all"; then
|
||||
echo "The following unsupported modules are used by supported modules:" >&2
|
||||
join -j1 -a2 <(sort "$tmp/supp-explain") \
|
||||
<(join -v2 "$tmp/supp-main" "$tmp/supp-all") >&2
|
||||
<(join -v2 "$tmp/supp" "$tmp/supp-all") >&2
|
||||
echo "Please fix supported.conf." >&2
|
||||
if ! $opt_ignore_errors; then
|
||||
exit 1
|
||||
@ -146,7 +127,7 @@ fi
|
||||
join -j 1 -o 2.2 "$tmp/supp-all" "$tmp/all" >"$opt_out/main-modules"
|
||||
|
||||
# unsupported
|
||||
join -j 1 -v 2 -o 2.2 <(sort -u "$tmp/supp-all" "$tmp/kmp-all") "$tmp/all" >"$opt_out/unsupported-modules"
|
||||
join -j 1 -v 2 -o 2.2 "$tmp/supp-all" "$tmp/all" >"$opt_out/unsupported-modules"
|
||||
|
||||
exit 0
|
||||
|
||||
|
2408
supported.conf
2408
supported.conf
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f9b11db009db01d930ee604ba73105eb260790a62fdf3daf5521cb0aeacc22c3
|
||||
size 841
|
||||
oid sha256:4f52f53a399072b4b65065e3e6a7d8644e7b6d7cec0d95ce99c25498d5211210
|
||||
size 870
|
||||
|
Loading…
Reference in New Issue
Block a user