Kaydet (Commit) 4ab7aa9b authored tarafından Suleyman Poyraz's avatar Suleyman Poyraz

linux-libre kerneli derlendi.

Neden bilmem ama paket bozukmuş gibime gelio.
üst 51ed1c87
......@@ -27,17 +27,12 @@ def build():
def install():
kerneltools.install()
# add objtool for external module building and enabled VALIDATION_STACK option
inarytools.insinto("/usr/src/linux-headers-%s-sulinos/tools/objtool" % get.srcVERSION(), "%s/tools/objtool/objtool" % get.curDIR())
# Install kernel headers needed for out-of-tree module compilation
kerneltools.installHeaders()
kerneltools.installLibcHeaders()
# Generate some module lists to use within mkinitramfs
shelltools.system("./generate-module-list %s/lib/modules/%s" % (get.installDIR(), kerneltools.__getSuffix()))
shelltools.system("./generate-module-list %s/lib/modules/%s-sulinos" % (get.installDIR(), kerneltools.__getSuffix()))
#mkinitcpio default config
inarytools.dodir("/etc/mkinitcpio.d")
......
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 5.4.0-gnu Kernel Configuration
# Linux/x86_64 5.4.0-libre Kernel Configuration
#
#
# Compiler: gcc (Sulin) 9.2.0
#
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=90201
CONFIG_GCC_VERSION=90200
CONFIG_CLANG_VERSION=0
CONFIG_CC_CAN_LINK=y
CONFIG_CC_HAS_ASM_GOTO=y
......@@ -816,8 +816,16 @@ CONFIG_ARCH_HAS_MEM_ENCRYPT=y
CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y
# end of GCOV-based kernel profiling
CONFIG_PLUGIN_HOSTCC=""
CONFIG_PLUGIN_HOSTCC="g++"
CONFIG_HAVE_GCC_PLUGINS=y
CONFIG_GCC_PLUGINS=y
#
# GCC plugins
#
CONFIG_GCC_PLUGIN_LATENT_ENTROPY=y
CONFIG_GCC_PLUGIN_RANDSTRUCT=y
# end of GCC plugins
# end of General architecture-dependent options
CONFIG_RT_MUTEXES=y
......@@ -827,7 +835,8 @@ CONFIG_MODULES=y
CONFIG_MODULE_FORCE_LOAD=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
# CONFIG_MODVERSIONS is not set
CONFIG_MODVERSIONS=y
CONFIG_ASM_MODVERSIONS=y
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_MODULE_SIG=y
# CONFIG_MODULE_SIG_FORCE is not set
......@@ -9025,6 +9034,10 @@ CONFIG_LSM="lockdown,yama,loadpin,safesetid,integrity"
# Memory initialization
#
CONFIG_INIT_STACK_NONE=y
# CONFIG_GCC_PLUGIN_STRUCTLEAK_USER is not set
# CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF is not set
# CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL is not set
# CONFIG_GCC_PLUGIN_STACKLEAK is not set
# CONFIG_INIT_ON_ALLOC_DEFAULT_ON is not set
# CONFIG_INIT_ON_FREE_DEFAULT_ON is not set
# end of Memory initialization
......
......@@ -13,7 +13,7 @@
<PartOf>kernel.linux</PartOf>
<Summary>The Linux libre kernel (the core of the Linux operating system) for Sulin</Summary>
<Description>kernel contains the Linux kernel, the core of any Linux operating system. ddtionally libre kernel is a cleant up version of original kernel. The kernel handles the basic functions of the operating system: memory allocation, process allocation, device input and output, etc.</Description>
<Archive sha1sum="e34c3da2dae6895513c52915d772fadb891e5e94" type="tarxz">https://gitlab.com/sulinos/linux/libre/-/archive/v5.4-libre/libre-v5.4-libre.tar.gz</Archive>
<Archive sha1sum="dc832c4b6af12a5629a0be4495091b2a3bb06ae8" type="targz">https://gitlab.com/sulinos/linux/libre/-/archive/v5.4-libre/libre-v5.4-libre.tar.gz</Archive>
<AdditionalFiles>
<AdditionalFile permission="0755" target="generate-module-list">scripts/generate-module-list</AdditionalFile>
<AdditionalFile permission="0755" target=".config">configs/kernel-x86_64-config-5.4.2-gnu</AdditionalFile>
......
......@@ -13,19 +13,16 @@
<PartOf>kernel.linux</PartOf>
<Summary>The Linux kernel (the core of the Linux operating system) for Sulin</Summary>
<Description>kernel contains the Linux kernel, the core of any Linux operating system. The kernel handles the basic functions of the operating system: memory allocation, process allocation, device input and output, etc.</Description>
<Archive sha1sum="e34c3da2dae6895513c52915d772fadb891e5e94" type="tarxz">https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.3.8.tar.xz</Archive>
<Archive sha1sum="d5d947ecc209af6ce553d330f6a807fbef12d55a" type="tarxz">https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.4.2.tar.xz</Archive>
<AdditionalFiles>
<AdditionalFile permission="0755" target="generate-module-list">scripts/generate-module-list</AdditionalFile>
<AdditionalFile permission="0755" target=".config">configs/kernel-x86_64-config-5.3.8</AdditionalFile>
<AdditionalFile permission="0755" target=".config">configs/kernel-x86_64-config-5.4.2</AdditionalFile>
</AdditionalFiles>
<BuildDependencies>
<Dependency>bc</Dependency>
<Dependency>docbook-xsl</Dependency>
<Dependency>xmlto</Dependency>
</BuildDependencies>
<Patches>
<!--Patch compressionType="xz">patches/linux/patch-5.2.14.xz</Patch-->
</Patches>
</Source>
<Package>
......@@ -77,6 +74,13 @@
</Package>
<History>
<Update release="4">
<Date>2019-12-13</Date>
<Version>5.4.2</Version>
<Comment>Version bump to 5.4.2</Comment>
<Name>Süleyman Poyraz</Name>
<Email>zaryob.dev@gmail.com</Email>
</Update>
<Update release="3">
<Date>2019-11-21</Date>
<Version>5.3.8</Version>
......
......@@ -138,3 +138,5 @@ def install():
if arch == "x86-64":
inarytools.remove("/usr/lib32/libstdc++*gdb.py*")
inarytools.rename("/usr/bin/go", "go1.12.2")
inarytools.rename("/usr/bin/gofmt", "gofmt1.12.2")
......@@ -149,8 +149,7 @@
<Path fileType="library">/usr/lib32/libgobegin.a</Path>
<Path fileType="library">/usr/lib32/go/9.2.0/x86_64-pc-linux-gnu/</Path>
<Path fileType="library">/usr/bin/gccgo</Path>
<Path fileType="library">/usr/bin/go</Path>
<Path fileType="library">/usr/bin/gofmt</Path>
<Path fileType="library">/usr/bin/go*</Path>
<Path fileType="library">/usr/bin/x86_64-pc-linux-gnu-gccgo</Path>
</Files>
</Package>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment