mkosi: Remove usage of deprecated option names/sections

This commit is contained in:
Daan De Meyer 2022-07-18 12:43:37 +02:00
parent 69d638e67e
commit 7ca9563ca1
9 changed files with 12 additions and 12 deletions

View file

@ -66,7 +66,7 @@ reuse the host's package cache. To do this, create a mkosi override file in
mkosi.default.d/ (e.g 20-local.conf) and add the following contents:
```
[Packages]
[Content]
Cache=<full-path-to-package-manager-cache> # (e.g. /var/cache/dnf)
```
@ -229,7 +229,7 @@ mkosi's config. The easiest way to set the option is to create a file 20-local.c
add the following contents:
```
[Packages]
[Content]
IncludeDirectory=mkosi.includedir
```
@ -238,7 +238,7 @@ We already configured clangd to map any paths in /usr/include in the build image
host in the mkosi-clangd.sh script.
We also need to make sure clangd is installed in the build image. To have mkosi install clangd in the build
image, edit the 20-local.conf file we created earlier and add the following contents under the `[Packages]`
image, edit the 20-local.conf file we created earlier and add the following contents under the `[Content]`
section:
```

View file

@ -9,7 +9,7 @@ HostonlyInitrd=yes
# Prevent ASAN warnings when building the image
Environment=ASAN_OPTIONS=verify_asan_link_order=false
[Packages]
[Content]
BuildDirectory=mkosi.builddir
Cache=mkosi.cache
InstallDirectory=mkosi.installdir
@ -17,7 +17,7 @@ SourceFileTransferFinal=copy-git-others
[Host]
QemuHeadless=yes
NetworkVeth=yes
Netdev=yes
QemuMem=2G
[Validation]

View file

@ -8,7 +8,7 @@
[Distribution]
Distribution=arch
[Packages]
[Content]
BuildPackages=
acl
bzip2

View file

@ -10,7 +10,7 @@ Distribution=centos_epel
Format=gpt_xfs
HostonlyInitrd=no
[Packages]
[Content]
BuildPackages=
diffutils
docbook-style-xsl

View file

@ -7,7 +7,7 @@
Distribution=debian
Release=testing
[Packages]
[Content]
BuildPackages=
acl
clang

View file

@ -7,7 +7,7 @@
Distribution=fedora
Release=36
[Packages]
[Content]
BuildPackages=
diffutils
docbook-style-xsl

View file

@ -7,7 +7,7 @@
Distribution=opensuse
Release=tumbleweed
[Packages]
[Content]
BuildPackages=
docbook-xsl-stylesheets
fdupes

View file

@ -8,7 +8,7 @@ Distribution=ubuntu
Release=jammy
Repositories=main,universe
[Packages]
[Content]
BuildPackages=
acl
docbook-xml

View file

@ -21,7 +21,7 @@ Output=networkd-test.raw
[Partitions]
RootSize=3G
[Packages]
[Content]
BuildPackages=
audit-libs-devel
bzip2-devel