Refactored syntax highlighting shortcodes into markdown
This commit is contained in:
parent
9e6bb1a3e5
commit
ea435049b3
71 changed files with 297 additions and 297 deletions
|
@ -9,18 +9,18 @@ tags:
|
|||
## Introduction
|
||||
|
||||
Now that I am mostly running OpenBSD servers I just use genkernel to build my custom configuration on each node with :
|
||||
{{< highlight sh >}}
|
||||
```sh
|
||||
eselect kernel list
|
||||
eselect kernel set 1
|
||||
genkernel all --kernel-config=/proc/config.gz --menuconfig
|
||||
nvim --diff /proc/config.gz /usr/src/linux/.config
|
||||
{{< / highlight >}}
|
||||
```
|
||||
|
||||
Bellow you will find how I did things previously when centralising the build of all kernels on a collab-jde machine, and distributing them all afterwards. Local nodes would only rebuild local modules and get on with their lives.
|
||||
|
||||
## Building on collab-jde
|
||||
|
||||
{{< highlight sh >}}
|
||||
```sh
|
||||
PREV_VERSION=4.14.78-gentoo
|
||||
eselect kernel list
|
||||
eselect kernel set 1
|
||||
|
@ -34,11 +34,11 @@ for ARCHI in `ls /srv/gentoo-builder/kernels/`; do
|
|||
INSTALL_MOD_PATH=/srv/gentoo-builder/kernels/${ARCHI}/ make modules_install
|
||||
INSTALL_PATH=/srv/gentoo-builder/kernels/${ARCHI}/ make install
|
||||
done
|
||||
{{< / highlight >}}
|
||||
```
|
||||
|
||||
## Deploying on each node :
|
||||
|
||||
{{< highlight sh >}}
|
||||
```sh
|
||||
export VERSION=5.4.28-gentoo-x86_64
|
||||
wget http://packages.adyxax.org/kernels/x86_64/System.map-${VERSION} -O /boot/System.map-${VERSION}
|
||||
wget http://packages.adyxax.org/kernels/x86_64/config-${VERSION} -O /boot/config-${VERSION}
|
||||
|
@ -53,4 +53,4 @@ make modules_prepare
|
|||
emerge @module-rebuild
|
||||
genkernel --install initramfs --ssh-host-keys=create-from-host
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
{{< / highlight >}}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue