Annotation of /trunk/dracut/patches/dracut-026-systemd-private-dir.patch
Parent Directory | Revision Log
Revision 2123 -
(hide annotations)
(download)
Tue Mar 19 13:08:45 2013 UTC (11 years, 6 months ago) by niro
File size: 635 byte(s)
Tue Mar 19 13:08:45 2013 UTC (11 years, 6 months ago) by niro
File size: 635 byte(s)
-upstream patch to fix patch to systemd binary
1 | niro | 2123 | diff -Naur dracut-026/modules.d/98systemd/module-setup.sh dracut-026-magellan/modules.d/98systemd/module-setup.sh |
2 | --- dracut-026/modules.d/98systemd/module-setup.sh 2013-03-08 06:07:48.000000000 +0000 | ||
3 | +++ dracut-026-magellan/modules.d/98systemd/module-setup.sh 2013-03-19 15:19:20.792000000 +0000 | ||
4 | @@ -17,7 +17,7 @@ | ||
5 | |||
6 | install() { | ||
7 | |||
8 | - SYSTEMD_VERSION=$(systemd --version | { read a b a; echo $b; }) | ||
9 | + SYSTEMD_VERSION=$($systemdutildir/systemd --version | { read a b a; echo $b; }) | ||
10 | if (( $SYSTEMD_VERSION < 198 )); then | ||
11 | dfatal "systemd version $SYSTEMD_VERSION is too low. Need at least version 198." | ||
12 | exit 1 |