Update package version to 257.9
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Github repository
|
||||||
|
REPO="systemd/systemd"
|
||||||
|
|
||||||
|
# Get tag name using Github Rest API
|
||||||
|
TAG_NAME=$(curl -s -L -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name')
|
||||||
|
|
||||||
|
# Trim 'v' character in TAG_NAME variable
|
||||||
|
VERSION=$(echo "$TAG_NAME" | tr -d 'v')
|
||||||
|
|
||||||
|
echo "$VERSION"
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
name: udev
|
name: udev
|
||||||
description: Userspace device file manager
|
description: Userspace device file manager
|
||||||
version: 256
|
version: 257.9
|
||||||
revision: 2
|
|
||||||
url: https://github.com/systemd/systemd
|
url: https://github.com/systemd/systemd
|
||||||
license: GPL-2.0-or-later,LGPL-2.1-or-later
|
license: GPL-2.0-or-later,LGPL-2.1-or-later
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ prepare() {
|
|||||||
build() {
|
build() {
|
||||||
sed -i -e 's/GROUP="render"/GROUP="video"/' -e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in
|
sed -i -e 's/GROUP="render"/GROUP="video"/' -e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in
|
||||||
sed '/systemd-sysctl/s/^/#/' -i rules.d/99-systemd.rules.in
|
sed '/systemd-sysctl/s/^/#/' -i rules.d/99-systemd.rules.in
|
||||||
sed '/NETWORK_DIRS/s/systemd/udev/' -i src/basic/path-lookup.h
|
sed '/NETWORK_DIRS/s/systemd/udev/' -i src/libsystemd/sd-network/network-util.h
|
||||||
|
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
|||||||
Reference in New Issue
Block a user