From fb858fdc9056eb05893eef540a717c551fa40658de62520d7ca3a9609be58b7c Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 30 Jan 2014 08:30:23 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=499 --- 0001-add-hdflush-for-reboot-or-hddown-for-poweroff.patch | 6 +++--- systemd-mini.changes | 6 ++++++ systemd.changes | 6 ++++++ 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/0001-add-hdflush-for-reboot-or-hddown-for-poweroff.patch b/0001-add-hdflush-for-reboot-or-hddown-for-poweroff.patch index 0e0466f5..2d48b38a 100644 --- a/0001-add-hdflush-for-reboot-or-hddown-for-poweroff.patch +++ b/0001-add-hdflush-for-reboot-or-hddown-for-poweroff.patch @@ -227,7 +227,7 @@ systemctl command as well as for the systemd-shutdown utility. + + if (value && *value != '0') { + *flags = DISK_MANAGED; -+#ifdef LIST_DEBUG ++#ifndef LIST_DEBUG + goto next; /* Device managed by the kernel */ +#endif + } @@ -279,7 +279,7 @@ systemctl command as well as for the systemd-shutdown utility. +empty: + return sysfs->devnode; +} -+ ++#ifndef LIST_DEBUG +/* + * Check IDE/(S)ATA hard disk identity for + * the FLUSH CACHE EXT bit set. @@ -375,7 +375,7 @@ systemctl command as well as for the systemd-shutdown utility. + return -1; + return 0; +} -+ ++#endif +#ifdef LIST_DEBUG +int main() +{ diff --git a/systemd-mini.changes b/systemd-mini.changes index 85a6b035..0bafb0b2 100644 --- a/systemd-mini.changes +++ b/systemd-mini.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 30 08:29:00 UTC 2014 - werner@suse.de + +- Change patch 0001-add-hdflush-for-reboot-or-hddown-for-poweroff.patch + to skip already by the kernel managed devices + ------------------------------------------------------------------- Tue Jan 28 12:44:07 UTC 2014 - werner@suse.de diff --git a/systemd.changes b/systemd.changes index 85a6b035..0bafb0b2 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 30 08:29:00 UTC 2014 - werner@suse.de + +- Change patch 0001-add-hdflush-for-reboot-or-hddown-for-poweroff.patch + to skip already by the kernel managed devices + ------------------------------------------------------------------- Tue Jan 28 12:44:07 UTC 2014 - werner@suse.de