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