mirror of
https://github.com/systemd/systemd
synced 2025-09-28 00:04:47 +02:00
Compare commits
6 Commits
bf1868c8d7
...
ef1bd2349b
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ef1bd2349b | ||
![]() |
2e445f4fe5 | ||
![]() |
3bc66bfa01 | ||
![]() |
01371e2cd8 | ||
![]() |
41979f59d3 | ||
![]() |
064b8e2c99 |
27
.semaphore/semaphore.yml
Normal file
27
.semaphore/semaphore.yml
Normal file
@ -0,0 +1,27 @@
|
||||
---
|
||||
# vi: ts=2 sw=2 et:
|
||||
|
||||
version: v1.0
|
||||
name: Debian autopkgtest (LXC)
|
||||
agent:
|
||||
machine:
|
||||
type: e1-standard-2
|
||||
os_image: ubuntu1804
|
||||
|
||||
# Cancel any running or queued job for the same ref
|
||||
auto_cancel:
|
||||
running:
|
||||
when: "true"
|
||||
|
||||
execution_time_limit:
|
||||
hours: 1
|
||||
|
||||
blocks:
|
||||
- name: "Setup & test"
|
||||
task:
|
||||
jobs:
|
||||
- name: "Install dependencies & run the Debian autopkgtest"
|
||||
commands:
|
||||
- checkout --use-cache
|
||||
- .semaphore/semaphore-runner.sh SETUP
|
||||
- .semaphore/semaphore-runner.sh RUN
|
@ -4,7 +4,7 @@ System and Service Manager
|
||||
|
||||
<a href="https://in.waw.pl/systemd-github-state/systemd-systemd-issues.svg"><img align="right" src="https://in.waw.pl/systemd-github-state/systemd-systemd-issues-small.svg" alt="Count of open issues over time"></a>
|
||||
<a href="https://in.waw.pl/systemd-github-state/systemd-systemd-pull-requests.svg"><img align="right" src="https://in.waw.pl/systemd-github-state/systemd-systemd-pull-requests-small.svg" alt="Count of open pull requests over time"></a>
|
||||
[](https://semaphoreci.com/systemd/systemd)<br/>
|
||||
[](https://the-real-systemd.semaphoreci.com/projects/systemd)<br/>
|
||||
[](https://scan.coverity.com/projects/350)<br/>
|
||||
[](https://oss-fuzz-build-logs.storage.googleapis.com/index.html#systemd)<br/>
|
||||
[](https://github.com/systemd/systemd/actions)<br/>
|
||||
|
25
meson.build
25
meson.build
@ -555,15 +555,24 @@ endif
|
||||
|
||||
#####################################################################
|
||||
|
||||
vcs_tagger = [project_source_root + '/tools/meson-vcs-tag.sh',
|
||||
project_source_root,
|
||||
get_option('version-tag'),
|
||||
meson.project_version()]
|
||||
version_tag = get_option('version-tag')
|
||||
if version_tag != ''
|
||||
vcs_data = configuration_data()
|
||||
vcs_data.set('VCS_TAG', version_tag)
|
||||
version_h = configure_file(configuration : vcs_data,
|
||||
input : 'src/version/version.h.in',
|
||||
output : 'version.h')
|
||||
else
|
||||
vcs_tagger = [
|
||||
project_source_root + '/tools/meson-vcs-tag.sh',
|
||||
project_source_root,
|
||||
meson.project_version()]
|
||||
|
||||
version_h = vcs_tag(
|
||||
input : 'src/version/version.h.in',
|
||||
output : 'version.h',
|
||||
command: vcs_tagger)
|
||||
version_h = vcs_tag(
|
||||
input : 'src/version/version.h.in',
|
||||
output : 'version.h',
|
||||
command: vcs_tagger)
|
||||
endif
|
||||
|
||||
versiondep = declare_dependency(sources: version_h)
|
||||
|
||||
|
@ -92,7 +92,8 @@ if [ ! -f "$BUILDDIR"/build.ninja ] ; then
|
||||
-D man=false \
|
||||
-D "nobody-user=$nobody_user" \
|
||||
-D "nobody-group=$nobody_group" \
|
||||
-D translations=false
|
||||
-D translations=false \
|
||||
-D version-tag="${VERSION_TAG}"
|
||||
fi
|
||||
|
||||
cd "$BUILDDIR"
|
||||
|
@ -43,7 +43,8 @@ int futimens_opath(int fd, const struct timespec ts[2]);
|
||||
int fd_warn_permissions(const char *path, int fd);
|
||||
int stat_warn_permissions(const char *path, const struct stat *st);
|
||||
|
||||
#define laccess(path, mode) faccessat(AT_FDCWD, (path), (mode), AT_SYMLINK_NOFOLLOW)
|
||||
#define laccess(path, mode) \
|
||||
(faccessat(AT_FDCWD, (path), (mode), AT_SYMLINK_NOFOLLOW) < 0 ? -errno : 0)
|
||||
|
||||
int touch_file(const char *path, bool parents, usec_t stamp, uid_t uid, gid_t gid, mode_t mode);
|
||||
int touch(const char *path);
|
||||
|
@ -5,6 +5,7 @@
|
||||
|
||||
# RPM macros for packages installing systemd unit files
|
||||
|
||||
%_systemd_util_dir @rootlibexecdir@
|
||||
%_unitdir @systemunitdir@
|
||||
%_userunitdir @userunitdir@
|
||||
%_presetdir @systempresetdir@
|
||||
|
@ -4,13 +4,7 @@ set -eu
|
||||
set -o pipefail
|
||||
|
||||
dir="$1"
|
||||
tag="$2"
|
||||
fallback="$3"
|
||||
|
||||
if [ -n "$tag" ]; then
|
||||
echo "$tag"
|
||||
exit 0
|
||||
fi
|
||||
fallback="$2"
|
||||
|
||||
# Apparently git describe has a bug where it always considers the work-tree
|
||||
# dirty when invoked with --git-dir (even though 'git status' is happy). Work
|
||||
|
Loading…
x
Reference in New Issue
Block a user