added shell for codeblocks
This commit is contained in:
parent
f2b430287a
commit
664587f7f5
1 changed files with 5 additions and 5 deletions
|
@ -48,7 +48,7 @@ root@host:~# chroot /mnt
|
||||||
|
|
||||||
Before installing any software first edit `/etc/portage/make.conf` which acts as the main configuration file for portage. A Gentoo installation is highly personal so diverting from these settings is encouraged. Here's an example file:
|
Before installing any software first edit `/etc/portage/make.conf` which acts as the main configuration file for portage. A Gentoo installation is highly personal so diverting from these settings is encouraged. Here's an example file:
|
||||||
|
|
||||||
``` title="/etc/portage/make.conf"
|
``` shell title="/etc/portage/make.conf"
|
||||||
# Please consult /usr/share/portage/config/make.conf.example for a more
|
# Please consult /usr/share/portage/config/make.conf.example for a more
|
||||||
# detailed example.
|
# detailed example.
|
||||||
COMMON_FLAGS="-march=native -O2 -pipe"
|
COMMON_FLAGS="-march=native -O2 -pipe"
|
||||||
|
@ -114,7 +114,7 @@ Then try running `vim` and it theory it should work!
|
||||||
|
|
||||||
Simply add these lines to the systems `fstab`:
|
Simply add these lines to the systems `fstab`:
|
||||||
|
|
||||||
``` title="/etc/fstab"
|
``` shell title="/etc/fstab"
|
||||||
rpool/root/gentoo / zfs rw,noatime,xattr,posixacl,casesensitive 0 1
|
rpool/root/gentoo / zfs rw,noatime,xattr,posixacl,casesensitive 0 1
|
||||||
rpool/root/gentoo/var /var zfs rw,noatime,nosuid,nodev,xattr,posixacl,casesensitive 0 2
|
rpool/root/gentoo/var /var zfs rw,noatime,nosuid,nodev,xattr,posixacl,casesensitive 0 2
|
||||||
/dev/disk/by-label/esp /efi vfat defaults,nodev,nosuid,noexec,umask=0077 0 2
|
/dev/disk/by-label/esp /efi vfat defaults,nodev,nosuid,noexec,umask=0077 0 2
|
||||||
|
@ -132,7 +132,7 @@ root@chroot:~# emerge -av sys-libs/timezone-data
|
||||||
|
|
||||||
Select the correct timezone with:
|
Select the correct timezone with:
|
||||||
|
|
||||||
``` title="/etc/env.d/00local"
|
``` shell title="/etc/env.d/00local"
|
||||||
TZ="/usr/share/zoneinfo/<region>/<city>"
|
TZ="/usr/share/zoneinfo/<region>/<city>"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -160,7 +160,7 @@ root@chroot:~# emerge -av sys-apps/musl-locales
|
||||||
|
|
||||||
And to allow the system to know where the locales are located:
|
And to allow the system to know where the locales are located:
|
||||||
|
|
||||||
``` title="/etc/env.d/01musl_locales"
|
``` shell title="/etc/env.d/01musl_locales"
|
||||||
MUSL_LOCPATH="/usr/share/i18n/locales/musl"
|
MUSL_LOCPATH="/usr/share/i18n/locales/musl"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -306,7 +306,7 @@ sys-kernel/linux-firmware linux-fw-redistributable @BINARY-REDISTRIBUTABLE
|
||||||
|
|
||||||
Then to allow `zlevis` to unlock the root pool it will need to be added to the initramfs. Enable the `zlevis` module for dracut:
|
Then to allow `zlevis` to unlock the root pool it will need to be added to the initramfs. Enable the `zlevis` module for dracut:
|
||||||
|
|
||||||
``` title="/etc/dracut.conf.d/zlevis.conf"
|
``` shell title="/etc/dracut.conf.d/zlevis.conf"
|
||||||
nofsck="yes"
|
nofsck="yes"
|
||||||
add_dracutmodules+=" zlevis "
|
add_dracutmodules+=" zlevis "
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue