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

Megver83 megver83 at openmailbox.org
Wed Mar 29 13:06:38 BST 2017


so then answer them recursively when running makepkg

If you want "yes" for all
$ yes | makepkg

If you want "no" for all
$ yes n | makepkg

if you want "?" for all
$ yes ? | makepkg

El 29/03/17 a las 04:24, Benoît escribió:
> 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
>>
> 
> 
> 
> 

-- 
SIP: megver83 at sip.linphone.org
XMPP: megver83 at diasp.org
Kontalk: +56 9 5630 2363
Tox:
EF62A7ABCFADD97088FFE925A2F17F0711B49CAC155871B9823A9E9D0D4F9A38077AB0FA3791
GNUSocial: @megver82 at gnusocial.net
Diaspora*: David P. (same XMPP ID)


More information about the Assist mailing list