From 5d7aa9a1840417505ead3f405a098422f2d0f48841873a14f906e909ab23c6b6 Mon Sep 17 00:00:00 2001 From: Bruce Rogers Date: Mon, 15 Jan 2018 20:21:37 +0000 Subject: [PATCH] Accepting request 565839 from home:bfrogers:branches:Virtualization - Fix packaging dependencies (coreutils) for qemu-ksm package (bsc#1040202) - Fix packaging dependencies (coreutils) for qemu-ksm package (bsc#1040202) OBS-URL: https://build.opensuse.org/request/show/565839 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=382 --- ksm.service | 4 ++-- qemu-testsuite.changes | 6 ++++++ qemu-testsuite.spec | 2 ++ qemu.changes | 6 ++++++ qemu.spec | 2 ++ qemu.spec.in | 2 ++ 6 files changed, 20 insertions(+), 2 deletions(-) diff --git a/ksm.service b/ksm.service index 34da85c5..e5b573fc 100644 --- a/ksm.service +++ b/ksm.service @@ -6,8 +6,8 @@ ConditionVirtualization=no [Service] Type=oneshot RemainAfterExit=yes -ExecStart=/bin/bash -c "echo 1 > /sys/kernel/mm/ksm/run" -ExecStop=/bin/bash -c "echo 0 > /sys/kernel/mm/ksm/run" +ExecStart=/bin/echo 1 > /sys/kernel/mm/ksm/run +ExecStop=/bin/echo 0 > /sys/kernel/mm/ksm/run [Install] WantedBy=multi-user.target diff --git a/qemu-testsuite.changes b/qemu-testsuite.changes index 04752fd9..549e9941 100644 --- a/qemu-testsuite.changes +++ b/qemu-testsuite.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jan 12 23:05:17 UTC 2018 - brogers@suse.com + +- Fix packaging dependencies (coreutils) for qemu-ksm package + (bsc#1040202) + ------------------------------------------------------------------- Thu Jan 4 16:19:27 UTC 2018 - brogers@suse.com diff --git a/qemu-testsuite.spec b/qemu-testsuite.spec index 4b5c9432..2fc13307 100644 --- a/qemu-testsuite.spec +++ b/qemu-testsuite.spec @@ -732,6 +732,8 @@ network adapters available with QEMU. %package ksm Summary: Kernel Samepage Merging services Group: System/Emulators/PC +Requires(pre): coreutils +Requires(post): coreutils %description ksm Kernel Samepage Merging (KSM) is a memory-saving de-duplication feature, that diff --git a/qemu.changes b/qemu.changes index 04752fd9..549e9941 100644 --- a/qemu.changes +++ b/qemu.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jan 12 23:05:17 UTC 2018 - brogers@suse.com + +- Fix packaging dependencies (coreutils) for qemu-ksm package + (bsc#1040202) + ------------------------------------------------------------------- Thu Jan 4 16:19:27 UTC 2018 - brogers@suse.com diff --git a/qemu.spec b/qemu.spec index 4f0a6bb4..b3525d57 100644 --- a/qemu.spec +++ b/qemu.spec @@ -732,6 +732,8 @@ network adapters available with QEMU. %package ksm Summary: Kernel Samepage Merging services Group: System/Emulators/PC +Requires(pre): coreutils +Requires(post): coreutils %description ksm Kernel Samepage Merging (KSM) is a memory-saving de-duplication feature, that diff --git a/qemu.spec.in b/qemu.spec.in index 273e9688..cb671758 100644 --- a/qemu.spec.in +++ b/qemu.spec.in @@ -699,6 +699,8 @@ network adapters available with QEMU. %package ksm Summary: Kernel Samepage Merging services Group: System/Emulators/PC +Requires(pre): coreutils +Requires(post): coreutils %description ksm Kernel Samepage Merging (KSM) is a memory-saving de-duplication feature, that