Compare commits
5 Commits
75d7197cd4
...
e67cceeeb8
Author | SHA1 | Date | |
---|---|---|---|
e67cceeeb8 | |||
8cc9cde70f | |||
2cdb029b76 | |||
f6a7b60e5f | |||
6bc3d41834 |
@@ -1 +0,0 @@
|
||||
../_common/rm-systemd.pl
|
@@ -10,7 +10,7 @@ else
|
||||
sed -i "s/')/'/" "${arg}/PKGBUILD"
|
||||
source_line=$(grep -n "source=" "${arg}/PKGBUILD" | cut -d : -f 1)
|
||||
source_line=$((source_line+1))
|
||||
sed -i "${source_line}"'i\ "0001-meson-add-logind-provider-option.patch")' "${arg}/PKGBUILD"
|
||||
sed -i "${source_line}"'i\ "0001-meson-allow-disabling-systemd-specific-code.patch")' "${arg}/PKGBUILD"
|
||||
|
||||
b2_line=$(grep -n "b2sums=" "${arg}/PKGBUILD" | cut -d : -f 1)
|
||||
b2_line=$((b2_line+1))
|
||||
@@ -18,8 +18,8 @@ else
|
||||
|
||||
prepare_line=$(grep -n "prepare()" "${arg}/PKGBUILD" | cut -d : -f 1)
|
||||
prepare_line=$((prepare_line+2))
|
||||
sed -i "${prepare_line}"'i\ git apply -3 ../0001-meson-add-logind-provider-option.patch' "${arg}/PKGBUILD"
|
||||
sed -i "${prepare_line}"'i\ git apply -3 ../0001-meson-allow-disabling-systemd-specific-code.patch' "${arg}/PKGBUILD"
|
||||
|
||||
sed -i 's/$pkgname build/$pkgname build -Dlogind_provider=elogind/' "${arg}/PKGBUILD"
|
||||
sed -i 's/$pkgname build/$pkgname build -Dsystemd=disabled/' "${arg}/PKGBUILD"
|
||||
done
|
||||
fi
|
@@ -6,6 +6,6 @@ if [ "$#" -eq 0 ]; then
|
||||
else
|
||||
for arg in "$@"
|
||||
do
|
||||
sed -i "s/pkgname build/pkgname build \-Dsystemd=false/" "${arg}/PKGBUILD"
|
||||
sed -i "s/ usbguard/ udev\n usbguard/" "${arg}/PKGBUILD"
|
||||
done
|
||||
fi
|
1
patches/gnome-software/d-systemd.sh
Symbolic link
1
patches/gnome-software/d-systemd.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/d-systemd.sh
|
Reference in New Issue
Block a user