OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • Custom Kernel Build
« previous next »
  • Print
Pages: [1]

Author Topic: Custom Kernel Build  (Read 21360 times)

lucifercipher

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 9
    • View Profile
Custom Kernel Build
« on: July 09, 2015, 03:51:50 pm »
Hey France,

I want to build a custom kernel and have it loaded by default. I tinkered around with the source and build is done but it still says OPNSense as default kernel. How do i make it to "test-kernel" from the default F1 OPNSense which shows up without secondary selection? Seondly, i want to raise the selection time limit as i might be testing 3 or 4 kernel configurations .
« Last Edit: July 09, 2015, 04:19:52 pm by lucifercipher »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1616
    • View Profile
Re: Custom Kernel Build
« Reply #1 on: July 10, 2015, 06:58:14 am »
Hi, not sure what you mean here?

To build a new kernel according to settings in config/latest you do:

# make clean-source
# make kernel

The kernel set can be uploaded to a mirror of your choosing. opnsense-update can pick up your kernel:

# opnsense-update -kr 15.7.1_test -m https://your.mirror.com/subdir

(make sure the kernel has the name kernel-15.7.1_test-amd64.txz as the name will auto-expand using the "kernel-" prefix and "-amd64.txz" suffix (or "-i386.txz" if you build this one).
« Last Edit: July 10, 2015, 07:03:23 am by franco »
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • Custom Kernel Build
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2