mirror of
https://github.com/systemd/systemd
synced 2026-03-11 07:34:58 +01:00
Compare commits
No commits in common. "8734b0ff32f8631ae77f9c96cf27bbca67a4bacd" and "10a04f6fd23d23b7c8adc4ad2720dccefe4de9ee" have entirely different histories.
8734b0ff32
...
10a04f6fd2
2
.github/workflows/coverage.yml
vendored
2
.github/workflows/coverage.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
|
||||||
- uses: systemd/mkosi@4b18ea8395e9cc2b1d247be93944f5539affe964
|
- uses: systemd/mkosi@14d2d37a1923c03062f55454b2b61d0c64db6238
|
||||||
|
|
||||||
# Freeing up disk space with rm -rf can take multiple minutes. Since we don't need the extra free space
|
# Freeing up disk space with rm -rf can take multiple minutes. Since we don't need the extra free space
|
||||||
# immediately, we remove the files in the background. However, we first move them to a different location
|
# immediately, we remove the files in the background. However, we first move them to a different location
|
||||||
|
|||||||
2
.github/workflows/linter.yml
vendored
2
.github/workflows/linter.yml
vendored
@ -39,7 +39,7 @@ jobs:
|
|||||||
GITHUB_ACTIONS_CONFIG_FILE: actionlint.yml
|
GITHUB_ACTIONS_CONFIG_FILE: actionlint.yml
|
||||||
ENABLE_GITHUB_PULL_REQUEST_SUMMARY_COMMENT: false
|
ENABLE_GITHUB_PULL_REQUEST_SUMMARY_COMMENT: false
|
||||||
|
|
||||||
- uses: systemd/mkosi@4b18ea8395e9cc2b1d247be93944f5539affe964
|
- uses: systemd/mkosi@14d2d37a1923c03062f55454b2b61d0c64db6238
|
||||||
|
|
||||||
- name: Check that tabs are not used in Python code
|
- name: Check that tabs are not used in Python code
|
||||||
run: sh -c '! git grep -P "\\t" -- src/core/generate-bpf-delegate-configs.py src/boot/generate-hwids-section.py src/ukify/ukify.py test/integration-tests/integration-test-wrapper.py'
|
run: sh -c '! git grep -P "\\t" -- src/core/generate-bpf-delegate-configs.py src/boot/generate-hwids-section.py src/ukify/ukify.py test/integration-tests/integration-test-wrapper.py'
|
||||||
|
|||||||
2
.github/workflows/mkosi.yml
vendored
2
.github/workflows/mkosi.yml
vendored
@ -167,7 +167,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
|
||||||
- uses: systemd/mkosi@4b18ea8395e9cc2b1d247be93944f5539affe964
|
- uses: systemd/mkosi@14d2d37a1923c03062f55454b2b61d0c64db6238
|
||||||
|
|
||||||
# Freeing up disk space with rm -rf can take multiple minutes. Since we don't need the extra free space
|
# Freeing up disk space with rm -rf can take multiple minutes. Since we don't need the extra free space
|
||||||
# immediately, we remove the files in the background. However, we first move them to a different location
|
# immediately, we remove the files in the background. However, we first move them to a different location
|
||||||
|
|||||||
@ -1,8 +1,9 @@
|
|||||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||||
|
|
||||||
[Config]
|
[Config]
|
||||||
MinimumVersion=commit:4b18ea8395e9cc2b1d247be93944f5539affe964
|
MinimumVersion=commit:14d2d37a1923c03062f55454b2b61d0c64db6238
|
||||||
Dependencies=
|
Dependencies=
|
||||||
|
initrd
|
||||||
minimal-base
|
minimal-base
|
||||||
minimal-0
|
minimal-0
|
||||||
minimal-1
|
minimal-1
|
||||||
@ -57,6 +58,7 @@ ExtraTrees=
|
|||||||
%O/minimal-base:/usr/share/TEST-13-NSPAWN-container-template
|
%O/minimal-base:/usr/share/TEST-13-NSPAWN-container-template
|
||||||
%O/initrd:/exitrd
|
%O/initrd:/exitrd
|
||||||
|
|
||||||
|
Initrds=%O/initrd
|
||||||
KernelInitrdModules=default
|
KernelInitrdModules=default
|
||||||
|
|
||||||
# Disable relabeling by default as it only matters for TEST-06-SELINUX, takes a non-trivial amount of time
|
# Disable relabeling by default as it only matters for TEST-06-SELINUX, takes a non-trivial amount of time
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
[Include]
|
[Include]
|
||||||
Include=
|
Include=
|
||||||
|
mkosi-initrd
|
||||||
%D/mkosi/mkosi.sanitizers
|
%D/mkosi/mkosi.sanitizers
|
||||||
%D/mkosi/mkosi.coverage
|
%D/mkosi/mkosi.coverage
|
||||||
|
|
||||||
@ -9,7 +9,6 @@ SplitArtifacts=yes
|
|||||||
|
|
||||||
[Build]
|
[Build]
|
||||||
Environment=SYSTEMD_REPART_OVERRIDE_FSTYPE=squashfs
|
Environment=SYSTEMD_REPART_OVERRIDE_FSTYPE=squashfs
|
||||||
Incremental=relaxed
|
|
||||||
|
|
||||||
[Content]
|
[Content]
|
||||||
BaseTrees=%O/minimal-base
|
BaseTrees=%O/minimal-base
|
||||||
|
|||||||
@ -9,7 +9,6 @@ SplitArtifacts=yes
|
|||||||
|
|
||||||
[Build]
|
[Build]
|
||||||
Environment=SYSTEMD_REPART_OVERRIDE_FSTYPE=squashfs
|
Environment=SYSTEMD_REPART_OVERRIDE_FSTYPE=squashfs
|
||||||
Incremental=relaxed
|
|
||||||
|
|
||||||
[Content]
|
[Content]
|
||||||
BaseTrees=%O/minimal-base
|
BaseTrees=%O/minimal-base
|
||||||
|
|||||||
@ -5,7 +5,6 @@ Format=directory
|
|||||||
|
|
||||||
[Build]
|
[Build]
|
||||||
Environment=SYSTEMD_REQUIRED_DEPS_ONLY=1
|
Environment=SYSTEMD_REQUIRED_DEPS_ONLY=1
|
||||||
Incremental=relaxed
|
|
||||||
|
|
||||||
[Content]
|
[Content]
|
||||||
Bootable=no
|
Bootable=no
|
||||||
|
|||||||
@ -10,6 +10,9 @@ Packages=
|
|||||||
iproute
|
iproute
|
||||||
nmap
|
nmap
|
||||||
|
|
||||||
|
VolatilePackages=
|
||||||
|
systemd-libs
|
||||||
|
|
||||||
RemoveFiles=
|
RemoveFiles=
|
||||||
# Arch Linux doesn't split their gcc-libs package so we manually remove
|
# Arch Linux doesn't split their gcc-libs package so we manually remove
|
||||||
# unneeded stuff here to make sure it doesn't end up in the image.
|
# unneeded stuff here to make sure it doesn't end up in the image.
|
||||||
|
|||||||
@ -11,3 +11,6 @@ Packages=
|
|||||||
iproute
|
iproute
|
||||||
iproute-tc
|
iproute-tc
|
||||||
nmap-ncat
|
nmap-ncat
|
||||||
|
|
||||||
|
VolatilePackages=
|
||||||
|
systemd-libs
|
||||||
|
|||||||
@ -12,3 +12,7 @@ Packages=
|
|||||||
iproute2
|
iproute2
|
||||||
mount
|
mount
|
||||||
ncat
|
ncat
|
||||||
|
|
||||||
|
VolatilePackages=
|
||||||
|
libsystemd0
|
||||||
|
libudev1
|
||||||
|
|||||||
@ -15,3 +15,7 @@ Packages=
|
|||||||
patterns-base-minimal_base
|
patterns-base-minimal_base
|
||||||
sed
|
sed
|
||||||
xz
|
xz
|
||||||
|
|
||||||
|
VolatilePackages=
|
||||||
|
libsystemd0
|
||||||
|
libudev1
|
||||||
|
|||||||
@ -56,7 +56,7 @@ typedef struct JsonSource {
|
|||||||
char name[];
|
char name[];
|
||||||
} JsonSource;
|
} JsonSource;
|
||||||
|
|
||||||
/* On x86-64 this whole structure should have a size of 5 * 64 bit = 40 bytes */
|
/* On x86-64 this whole structure should have a size of 6 * 64 bit = 48 bytes */
|
||||||
struct sd_json_variant {
|
struct sd_json_variant {
|
||||||
union {
|
union {
|
||||||
/* We either maintain a reference counter for this variant itself, or we are embedded into an
|
/* We either maintain a reference counter for this variant itself, or we are embedded into an
|
||||||
@ -132,7 +132,7 @@ struct sd_json_variant {
|
|||||||
|
|
||||||
/* Let's make sure this structure isn't increased in size accidentally. This check is only for our most relevant arch
|
/* Let's make sure this structure isn't increased in size accidentally. This check is only for our most relevant arch
|
||||||
* (x86-64). */
|
* (x86-64). */
|
||||||
#if defined(__x86_64__) && __SIZEOF_POINTER__ == 8 && !defined(__EDG__)
|
#if defined(__x86_64__) && __SIZEOF_POINTER__ == 8
|
||||||
assert_cc(sizeof(sd_json_variant) == 40U);
|
assert_cc(sizeof(sd_json_variant) == 40U);
|
||||||
assert_cc(INLINE_STRING_MAX == 7U);
|
assert_cc(INLINE_STRING_MAX == 7U);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -123,7 +123,7 @@ def update_distro(args, distro: str, config: dict):
|
|||||||
print(f'{pkg_subdir}: commit {new_commit!s} is still fresh')
|
print(f'{pkg_subdir}: commit {new_commit!s} is still fresh')
|
||||||
return
|
return
|
||||||
|
|
||||||
cmd = ['git', '-C', f'pkg/{pkg_subdir}', 'log', '--graph', '--no-merges',
|
cmd = ['git', '-C', f'pkg/{pkg_subdir}', 'log', '--graph', '--first-parent',
|
||||||
'--pretty=oneline', '--no-decorate', '--abbrev-commit', '--abbrev=10',
|
'--pretty=oneline', '--no-decorate', '--abbrev-commit', '--abbrev=10',
|
||||||
f'{old_commit}..{new_commit}']
|
f'{old_commit}..{new_commit}']
|
||||||
if subdir is not None:
|
if subdir is not None:
|
||||||
|
|||||||
@ -75,7 +75,7 @@ def update_mkosi(args):
|
|||||||
print(f'mkosi: commit {new_commit!s} is still fresh')
|
print(f'mkosi: commit {new_commit!s} is still fresh')
|
||||||
return
|
return
|
||||||
|
|
||||||
cmd = ['git', '-C', args.dir.as_posix(), 'log', '--graph', '--no-merges',
|
cmd = ['git', '-C', args.dir.as_posix(), 'log', '--graph', '--first-parent', '--no-merges',
|
||||||
'--pretty=oneline', '--no-decorate', '--abbrev-commit', '--abbrev=10',
|
'--pretty=oneline', '--no-decorate', '--abbrev-commit', '--abbrev=10',
|
||||||
f'{old_commit}..{new_commit}']
|
f'{old_commit}..{new_commit}']
|
||||||
print(f"+ {shlex.join(cmd)}")
|
print(f"+ {shlex.join(cmd)}")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user