Re: custom compil

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok thanks for these infos i will check it out
When saying automatic i was referring to kernel updates in package repositories (with apt or dnf) where auto download and install can be configured for security updates...i was thinking about applying config options but i guess they are already compiled?
Isnt there a tool that would download new kernel based on repository security updates and that would compile it with a provided config file?
I can use a bash script or ansible role but i dont see how to keep close to the official kernel distribution updates automatically...
Thanks

25 janv. 2023 23:21:15 Siddh Raman Pant <code@xxxxxxxx>:

On Thu, 26 Jan 2023 at 03:25:08 +0530, A.Péré wrote:
Is there a distribution with automated tools to compile a kernel
with custom config settings

Yes, it is your favourite distro, whichever that may be. You just
need the tools to build, which you may already have, but can be seen
in docs: https://www.kernel.org/doc/html/latest/process/changes.html

that ils easier and more accessible

If you want a GUI, use `make xconfig`.

un particular for automated updates with automatic custom compiling config?

Have your custom config options in a separate file somewhere, and use
scripts/kconfig/merge_config.sh to merge. Example in a script:

        make defconfig
        ./scripts/kconfig/merge_config.sh .config common.config

The script will take care of requisite stuff, which additional options
to enable, etc.

Or you can have your entire config saved in .config, and just run
merge_config.sh everytime you pull newer kernel code.

Thanks,
Siddh
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux