/systemd-251/test/units/ |
D | testsuite-29.sh | 119 mkdir /tmp/rootdir /tmp/app0 /tmp/app1 /tmp/overlay /tmp/os-release-fix /tmp/os-release-fix/etc 127 grep -v "^PORTABLE_PREFIXES=" /tmp/rootdir/etc/os-release > /tmp/os-release-fix/etc/os-release 129 mount -t overlay overlay -o lowerdir=/tmp/os-release-fix:/tmp/app1:/tmp/rootdir /tmp/overlay 131 grep . /tmp/overlay/usr/lib/extension-release.d/* 132 grep . /tmp/overlay/etc/os-release 147 …at --extension app0 --extension app1 rootdir app0 app1 | grep -q -f /tmp/rootdir/usr/lib/os-release 148 …on app1 rootdir app0 app1 | grep -q -f /tmp/app0/usr/lib/extension-release.d/extension-release.app0 149 …on app1 rootdir app0 app1 | grep -q -f /tmp/app1/usr/lib/extension-release.d/extension-release.app2 161 mkdir -p /tmp/emptyext/usr/lib/extension-release.d 162 touch /tmp/emptyroot/usr/lib/os-release [all …]
|
D | testsuite-43.sh | 74 -p PrivateUsers=yes -p BindPaths=/dev/null:/etc/os-release \ 75 test ! -s /etc/os-release 81 test ! -w /etc/os-release 86 test -s /etc/os-release 127 grep MARKER=1 /etc/os-release 133 grep MARKER=1 /etc/os-release 144 grep PORTABLE_PREFIXES=app1 /usr/lib/extension-release.d/extension-release.app2
|
D | testsuite-13.sh | 76 elif [[ -L "${_os_release_source}" ]] && rm /etc/os-release; then 78 cp /usr/lib/os-release /etc 79 echo MARKER=1 >>/etc/os-release 82 …=no -D /testsuite-13.nc-container --bind="${_os_release_source}":/tmp/os-release /bin/sh -x -e -c … 84 if grep -q MARKER /etc/os-release; then 85 rm /etc/os-release 86 ln -s ../usr/lib/os-release /etc/os-release
|
D | testsuite-50.sh | 64 systemd-run -P -p RootImage="${image}.raw" cat /usr/lib/os-release | grep -q -F "MARKER=1" 67 …sh="${image}.foohash" -p RootVerity="${image}.fooverity" cat /usr/lib/os-release | grep -q -F "MAR… 69 …"${roothash}" --property RootVerity="${image}.fooverity" cat /usr/lib/os-release | grep -q -F "MAR… 213 …image}.gpt" -p RootHash="${roothash}" -p MountAPIVFS=yes cat /usr/lib/os-release | grep -q -F "MAR… 252 …"${image}.gpt:/run/img1 ${image}.raw:/run/img2" cat /run/img1/usr/lib/os-release | grep -q -F "MAR… 253 …"${image}.gpt:/run/img1 ${image}.raw:/run/img2" cat /run/img2/usr/lib/os-release | grep -q -F "MAR… 256 systemd-run -P -p MountImages="${image}.raw:/run/img2\:3" cat /run/img2:3/usr/lib/os-release | grep… 258 …ntImages="${image}.gpt:/run/img1 ${image}.raw:/run/img2" cat /usr/lib/os-release | grep -q -F "MAR… 259 …"${image}.gpt:/run/img1 ${image}.raw:/run/img2" cat /run/img1/usr/lib/os-release | grep -q -F "MAR… 260 …"${image}.gpt:/run/img1 ${image}.raw:/run/img2" cat /run/img2/usr/lib/os-release | grep -q -F "MAR…
|
/systemd-251/.github/workflows/ |
D | mkosi.yml | 29 group: ${{ github.workflow }}-${{ matrix.distro }}-${{ matrix.release }}-${{ github.ref }} 36 release: rolling 38 release: testing 40 release: focal 42 release: "36" 44 release: tumbleweed 46 release: 8-stream 48 release: 9-stream 62 Release=${{ matrix.release }}
|
/systemd-251/ |
D | mkosi.build | 98 OSRELEASEFILE="$DESTDIR"/usr/lib/os-release 100 OSRELEASEFILE=/usr/lib/os-release 110 cat /tmp/os-release.tmp > "$DESTDIR"/usr/lib/os-release 111 rm /tmp/os-release.tmp
|
D | mkosi.postinst | 10 if [ "$1" = "final" ] && grep -q openSUSE /etc/os-release; then
|
/systemd-251/src/udev/ |
D | udev-builtin-keyboard.c | 20 static int install_force_release(sd_device *dev, const unsigned *release, unsigned release_count) { in install_force_release() argument 30 assert(release); in install_force_release() 48 l = strpcpyf(&s, l, ",%u", release[i]); in install_force_release() 163 unsigned release[1024]; in builtin_keyboard() local 189 release[release_count] = scancode; in builtin_keyboard() 190 if (release_count < ELEMENTSOF(release)-1) in builtin_keyboard() 242 (void) install_force_release(dev, release, release_count); in builtin_keyboard()
|
/systemd-251/src/kernel-install/ |
D | 90-loaderentry.install | 55 if [ -r /etc/os-release ]; then 57 . /etc/os-release 58 elif [ -r /usr/lib/os-release ]; then 60 . /usr/lib/os-release
|
D | kernel-install.in | 160 [ -r /etc/os-release ] && . /etc/os-release
|
/systemd-251/docs/ |
D | RELEASE.md | 17 8. Tag the release: `version=vXXX-rcY && git tag -s "${version}" -m "systemd ${version}"` 22 13. "Draft" a new release on github (https://github.com/systemd/systemd/releases/new), mark "This i… 25 …n:refs/heads/${version}-stable`, and change the default branch to latest release (https://github.c…
|
D | BUILDING_IMAGES.md | 87 [`/etc/os-release`](https://www.freedesktop.org/software/systemd/man/os-release.html) 129 more. Among others this will also link `/etc/os-release` → 130 `/usr/lib/os-release`, ensuring that the OS release information is 131 unconditionally accessible through `/etc/os-release`. 255 [`os-release(5)`](https://www.freedesktop.org/software/systemd/man/os-release.html). These 260 OS distribution's `os-release` file as is in `/usr/lib/os-release` but to 261 replace the usual `/etc/os-release` symlink with a regular file that extends 269 [`os-release(5)`](https://www.freedesktop.org/software/systemd/man/os-release.html)<br>
|
D | PORTABLE_SERVICES.md | 94 1. It dissects the image, checks and validates the `os-release` file of the 180 4. The image must contain an os-release file, either in `/etc/os-release` or 181 `/usr/lib/os-release`. The file should follow the standard format. 206 /usr/lib/os-release # an os-release file explaining what this is 251 [os-release(5)](https://www.freedesktop.org/software/systemd/man/os-release.html) 275 1. The base/OS image must contain an `os-release file`, either in `/etc/os-release` 276 or `/usr/lib/os-release`, in the standard format. 278 2. The upper extension(s) image(s) must contain an extension-release file in 279 `/usr/lib/extension-release.d/`, with an `ID=` and `SYSEXT_LEVEL=`/`VERSION_ID=`
|
D | COREDUMP_PACKAGE_METADATA.md | 41 listed here. When corresponding to the content of os-release, the values should match, again for co… 65 …a:33", # A CPE name for the operating system, `CPE_NAME` from os-release is a good default 143 | os | The OS name, typically corresponding to ID in os-release | fedora … 144 | osVersion | The OS version, typically corresponding to VERSION_ID in os-release | 33 … 148 | osCpe | A CPE name for the OS, typically corresponding to CPE_NAME in os-release | cpe:/o:…
|
/systemd-251/tmpfiles.d/ |
D | etc.conf.in | 10 L /etc/os-release - - - - ../usr/lib/os-release
|
/systemd-251/test/ |
D | test-functions | 20 os_release=$(test -e /etc/os-release && echo /etc/os-release || echo /usr/lib/os-release) 599 ln -s ../usr/lib/os-release "$initdir/etc/os-release" 606 ExecStartPre=cat /usr/lib/os-release 645 test -e /usr/lib/os-release 647 cat /usr/lib/extension-release.d/extension-release.app0 659 …setfattr -n user.extension-release.strict -v false "$initdir/usr/lib/extension-release.d/extension… 671 test -e /usr/lib/os-release 673 cat /usr/lib/extension-release.d/extension-release.app2 1745 inst_any /etc/os-release /usr/lib/os-release
|
/systemd-251/src/test/ |
D | test-condition.c | 345 condition = condition_new(CONDITION_KERNEL_VERSION, u.release, false, false); in TEST() 350 strshorten(u.release, 4); in TEST() 351 strcpy(strchr(u.release, 0), "*"); in TEST() 353 condition = condition_new(CONDITION_KERNEL_VERSION, u.release, false, false); in TEST() 432 v = strjoina(">=", u.release); in TEST() 438 v = strjoina("= ", u.release); in TEST() 444 v = strjoina("<=", u.release); in TEST() 450 v = strjoina("> ", u.release); in TEST() 456 v = strjoina("< ", u.release); in TEST()
|
/systemd-251/src/libsystemd-network/ |
D | sd-dhcp-client.c | 2095 _cleanup_free_ DHCPPacket *release = NULL; in sd_dhcp_client_send_release() local 2099 r = client_message_init(client, &release, DHCP_RELEASE, &optlen, &optoffset); in sd_dhcp_client_send_release() 2104 release->dhcp.ciaddr = client->lease->address; in sd_dhcp_client_send_release() 2105 memcpy(&release->dhcp.chaddr, &client->mac_addr, client->mac_addr_len); in sd_dhcp_client_send_release() 2107 r = dhcp_option_append(&release->dhcp, optlen, &optoffset, 0, in sd_dhcp_client_send_release() 2115 &release->dhcp, in sd_dhcp_client_send_release() 2130 _cleanup_free_ DHCPPacket *release = NULL; in sd_dhcp_client_send_decline() local 2134 r = client_message_init(client, &release, DHCP_DECLINE, &optlen, &optoffset); in sd_dhcp_client_send_decline() 2138 release->dhcp.ciaddr = client->lease->address; in sd_dhcp_client_send_decline() 2139 memcpy(&release->dhcp.chaddr, &client->mac_addr, client->mac_addr_len); in sd_dhcp_client_send_decline() [all …]
|
/systemd-251/src/boot/efi/ |
D | meson.build | 147 …cmd = 'if [ -e /etc/os-release ]; then . /etc/os-release; else . /usr/lib/os-release; fi; echo $@0… 222 get_option('b_ndebug') == 'if-release' and get_option('buildtype') in ['plain', 'release'])
|
/systemd-251/man/ |
D | check-os-release.sh | 4 test -e /etc/os-release && os_release='/etc/os-release' || os_release='/usr/lib/os-release'
|
/systemd-251/test/test-execute/ |
D | exec-standardinput-file-cat.service | 8 StandardInput=file:/etc/os-release
|
/systemd-251/src/version/ |
D | version.h.in | 3 * Detailed project version that includes git commit when not built from a release.
|
/systemd-251/units/ |
D | systemd-tmpfiles-clean.timer | 13 ConditionPathExists=!/etc/initrd-release
|
D | initrd-root-device.target | 13 AssertPathExists=/etc/initrd-release
|
D | initrd-root-fs.target | 13 AssertPathExists=/etc/initrd-release
|