[Assist] Compile custom kernel based on linux-libre-grsec-knock

Benoît benoit at neviani.fr
Wed Mar 29 08:24:48 BST 2017


Thanks André, 

I followed the steps and I am failing in the same questions during the steps e)

I got this:

Hunk #1 succeeded at 2078 (offset 89 lines).
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --silentoldconfig Kconfig
*
* Restart config...
*
*
* IRQ subsystem
*
Expose hardware/virtual IRQ mapping via debugfs (IRQ_DOMAIN_DEBUG) [N/y/?] (NEW)

and much more questions after this one, like:

* GCOV-based kernel profiling
*
Enable gcov-based kernel profiling (GCOV_KERNEL) [N/y/?] (NEW)

Enable IOSF sideband access through debugfs (IOSF_MBI_DEBUG) [N/y/?] (NEW)

...

I am not a specialits on theses question and I thought it could use the 
config.x86_64 ?

Many thanks for your help

On Wed, Mar 29, 2017 at 12:44:17AM +0000, André Silva wrote:
>On 03/28/2017 11:18 PM, Benoît wrote:
>> Many thanks for your help and excuse me for the basic question as it is
>> the first time ever I need to build a custom kernel.
>
>I suggest you download our build project in abslibre following the next
>steps:
>
>a) Clone abslibre project with git:
>
>git clone https://git.parabola.nu/abslibre.git
>
>b) Go to Linux-libre-grsec-knock folder:
>
>cd abslibre/kernels/linux-libre-grsec-knock
>
>c) Edit config.x86_64 with any editor (eg. vim or nano):
>
>vim config.x86_64
>
>d) Upgrade checksums:
>
>makepkg -g >> PKGBUILD
>
>e) Build it (it requires fakeroot):
>
>makepkg
>
>f) Install your custom package (eg.
>linux-libre-grsec-knock-1:4.9.16_gnu.r201703180820-1):
>
>sudo pacman -U
>linux-libre-grsec-knock-1\:4.9.16_gnu.r201703180820-1-x86_64.pkg.tar.xz
>




-- 
Benoit


More information about the Assist mailing list