Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages / systemd
Commits: 9d3374e9 by Christian Hesse at 2025-02-13T21:25:25+01:00 move patch up - - - - - 1b499465 by Christian Hesse at 2025-02-13T21:25:29+01:00 return if not a git repository (skip backports and reverts) - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -103,6 +103,14 @@ _reverts=( prepare() { cd "${_systemd_src_dir}" + # Replace cdrom/dialout/tape groups with optical/uucp/storage + patch -Np1 -i ../0001-Use-Arch-Linux-device-access-groups.patch + + # return if not a git repository + if ! git status >/dev/null 2>&1; then + return + fi + local _c _l for _c in "${_backports[@]}"; do if [[ "${_c}" == *..* ]]; then _l='--reverse'; else _l='--max-count=1'; fi @@ -114,9 +122,6 @@ prepare() { git log --oneline "${_l}" "${_c}" git revert --mainline 1 --no-commit "${_c}" done - - # Replace cdrom/dialout/tape groups with optical/uucp/storage - patch -Np1 -i ../0001-Use-Arch-Linux-device-access-groups.patch } build() { View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/systemd/-/compare/2416b7d81cfdb4954cee89f319bfe2ae768360bf...1b4994657df1c7495607f0c2f20db73550b94f34 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/systemd/-/compare/2416b7d81cfdb4954cee89f319bfe2ae768360bf...1b4994657df1c7495607f0c2f20db73550b94f34 You're receiving this email because of your account on gitlab.archlinux.org.