123456789101112131415161718192021222324252627282930313233343536373839 |
- cd "${SRC}/linux-4.19"
- cp "${SRC}/patch-$surum.xz" .
- unxz patch-$surum.xz
- # güncel kernel yama
- patch -p1 -i "patch-${surum}"
-
- # güvenli kernel yaması
- #patch -p1 -i "${SRC}/linux-hardened-${surum}.a.patch"
-
- #çalışan sistem aufs yamaları
- patch -p1 -i "${SRC}/aufs4.patch"
- patch -p1 -i "${SRC}/aufs4-base.patch"
- patch -p1 -i "${SRC}/aufs4-kbuild.patch"
- patch -p1 -i "${SRC}/aufs4-loopback.patch"
- patch -p1 -i "${SRC}/aufs4-mmap.patch"
- patch -p1 -i "${SRC}/aufs4-standalone.patch"
- patch -p1 -i "${SRC}/tmpfs-idr.patch"
- patch -p1 -i "${SRC}/vfs-ino.patch"
- patch -p1 -i "${SRC}/rtlwifi.patch"
-
- cat "${SRC}/config" > ./.config
- cat "${SRC}/config.aufs" >> ./.config
- # kernel sürümüne devir sayısı eklemek için
- # set extraversion to release
- #sed -ri "s|^(EXTRAVERSION =).*|\1 -${devir}|" Makefile
- cd "${SRC}/linux-4.19"
-
- export KBUILD_BUILD_USER="milisarge"
- export KBUILD_BUILD_HOST="`uname -m`.milislinux.org"
-
- # ayarları onaylama
- yes "" | make oldconfig >/dev/null
- # derleme
- make bzImage modules
|