Нема описа
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Linux VZ5 :
===========

Compile test & install kernel image for vz5's VM.

Dependencies :
==============

- virsh
- expect
- `apt build-dep linux-image-amd64`
- `apt install linux-source`

Install & config :
==================

Copy sample config `cp config.mk.inc config.mk`
Edit configuration file to meet your needs `editor config.mk`

Kernel sources :
-----------------

* Automatic method (debian based) :

Run `make upgrade`
Will fetch the last kernel source in /usr/src

* Manual method :

Decompress kernel sources and create a symlink `linux-source` pointing to it.

Kernel config :
---------------

Kernel configuration are versionned in a separetd git repository in kernel-config/ directory.
In order to seed config file with yours run :
```
mkdir kernel-config
git -C kernel-config/ init
cp /path/to/.config kernel-config/kernel.config
git -C kernel-config add kernel.config
git -C kernel-config commit -m 'Initial kernel config'
```

Usage :
=======

Compile a kernel `make kernel`

Test a kernel on virsh vm `make test`

Install kernel `make install`

Commit tested kernel config `make commit-config`