mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 04:03:36 +08:00
mkosi: Remove usage of deprecated option names/sections
This commit is contained in:
parent
69d638e67e
commit
7ca9563ca1
@ -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:
|
||||
|
||||
```
|
||||
|
@ -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]
|
||||
|
@ -8,7 +8,7 @@
|
||||
[Distribution]
|
||||
Distribution=arch
|
||||
|
||||
[Packages]
|
||||
[Content]
|
||||
BuildPackages=
|
||||
acl
|
||||
bzip2
|
||||
|
@ -10,7 +10,7 @@ Distribution=centos_epel
|
||||
Format=gpt_xfs
|
||||
HostonlyInitrd=no
|
||||
|
||||
[Packages]
|
||||
[Content]
|
||||
BuildPackages=
|
||||
diffutils
|
||||
docbook-style-xsl
|
||||
|
@ -7,7 +7,7 @@
|
||||
Distribution=debian
|
||||
Release=testing
|
||||
|
||||
[Packages]
|
||||
[Content]
|
||||
BuildPackages=
|
||||
acl
|
||||
clang
|
||||
|
@ -7,7 +7,7 @@
|
||||
Distribution=fedora
|
||||
Release=36
|
||||
|
||||
[Packages]
|
||||
[Content]
|
||||
BuildPackages=
|
||||
diffutils
|
||||
docbook-style-xsl
|
||||
|
@ -7,7 +7,7 @@
|
||||
Distribution=opensuse
|
||||
Release=tumbleweed
|
||||
|
||||
[Packages]
|
||||
[Content]
|
||||
BuildPackages=
|
||||
docbook-xsl-stylesheets
|
||||
fdupes
|
||||
|
@ -8,7 +8,7 @@ Distribution=ubuntu
|
||||
Release=jammy
|
||||
Repositories=main,universe
|
||||
|
||||
[Packages]
|
||||
[Content]
|
||||
BuildPackages=
|
||||
acl
|
||||
docbook-xml
|
||||
|
@ -21,7 +21,7 @@ Output=networkd-test.raw
|
||||
[Partitions]
|
||||
RootSize=3G
|
||||
|
||||
[Packages]
|
||||
[Content]
|
||||
BuildPackages=
|
||||
audit-libs-devel
|
||||
bzip2-devel
|
||||
|
Loading…
Reference in New Issue
Block a user