Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Here is the way of mine which results in a working kernel (and i suggest
- to take 3.17.6 or 3.17.7). I use only the sources from kernel.org and
- the BFQ scheduler patches.
- # make mrproper
- # patch WhatYoutWantToHave.patch(es)
- # make distclean
- # zcat /proc/config.gz > .config
- Comment: For the first step to a new kernel release i even download the
- kernel source from the suse kernel repo to take a look at the
- kernel-desktop config file during the first "make oldconfig". You can
- use this newer kernel config as ".config" too.
- Attention: In the first step to another kernel than the one from suse i
- deactivate a lot of CONFIG_DEBUG* to get a "normal" size for the
- kernel and the modules. I think this is because suse split the
- debug-files in another package.
- # make oldconfig 2>&1 | tee ../make_oldconfig-$(date --iso-8601).log
- # make menuconfig => Change CONFIG_LOCALVERSION (example -1-new)
- # make modules_prepare
- # make -j4 2>&1 | tee ../make_kernel-$(date --iso-8601).log
- # make kernelrelease (CHECK Kernel Release Name)
- Comment: From here on i run the rest as root.
- # make INSTALL_FW_PATH=/lib/firmware/3.17.7-1-new modules_install
- # cp arch/x86/boot/bzImage /boot/vmlinuz-3.17.7-1-new
- # cp System.map /boot/System.map-3.17.7-1-new
- # cp .config /boot/config-3.17.7-1-new
- # cd /boot
- # mkinitrd -k vmlinuz-3.17.7-1-new -i initrd-3.17.7-1-new
- # grub2-mkconfig --output=/boot/grub2/grub.cfg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement