[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] systemd: default system-sleep dir without pkg-config


  • To: Mykola Kvach <xakep.amatop@xxxxxxxxx>, Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Fri, 5 Dec 2025 14:57:32 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=u4x+ICUOAWqcOZ5W88jw/FCe99ylcnb1IoDnnnTeZFg=; b=OHyM7uFLuZdJ7LCN3v5I6j0BiywCyD4VDgrGrICKcKvmtvR7BuJxkTtA9LaEbtbP6+ZG1KPh1+kE/L3evVgqm6Xho5oNvBmJ+b69VHp0lhBHEQzd5gITArYgbwO75Gp2UA2y0IeZShwTUCzbdZynIiG5dfhjnRyfYIA+b8yXtpaMnCHtyGpzYGzm+ZPmjaoiilI+09N9Y6lzHh/XaZqzmAlqHQuhlmnsz5G544SkW7FMvOwnv3xJpSPOtAuRpTwY88/cFHCRyJduK4Sp891kvSXk01Egc5GelumSD3tednCaI8vvGGQAF4Sv9e1pYGMwyrla7AuvKngzf6QgEvz4iA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=AsC+XRiuIfMMCgjuxChLn+clIb7Zle4ec0rdDmrp3Rn2MGokGZRoBY+paXDlKB88q7EzZE+Igq4RW0J5B2lz6QevNT+Rp1m5hhLDQwKI3YvoOi1e+DhI2u+E10tk2eCUz2e/OS+t0VbmyGE0hwBO7NszJd+UzxxVklJN+1bOJT9fAZBTVp/kbXuUj3jKBYsA8t34sURwAk/5prENsOPcqpagoX9WWl6BYs4iXl17+a/Zh++Gxwcz3T3J9qtu9v2PT9bghwEAkMV6uyf9rQfkmZD/S2XoC+8fZVwpN5HfrnmbRVp8pVNnzHo7PFfEK5xi1WCTWUytzVm8Z9yeqsEmlQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: andrew.cooper3@xxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx, Mykola Kvach <mykola_kvach@xxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • Delivery-date: Fri, 05 Dec 2025 14:58:01 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 05/12/2025 2:54 pm, Mykola Kvach wrote:
> Hi,
>
> On Fri, Dec 5, 2025 at 3:57 PM Marek Marczykowski-Górecki
> <marmarek@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>> On Fri, Dec 05, 2025 at 03:13:32PM +0200, Mykola Kvach wrote:
>>> From: Mykola Kvach <mykola_kvach@xxxxxxxx>
>>>
>>> Using PKG_CHECK_VAR() to obtain SYSTEMD_SLEEP_DIR reintroduced a build-time
>>> dependency on systemd-devel. This breaks --enable-systemd builds that only
>>> need the initscripts.
>>>
>>> Use the same defaulting scheme as other systemd paths: if SYSTEMD_SLEEP_DIR
>>> isn't provided, set it to "$(prefix)/lib/systemd/system-sleep/".
>>>
>>> Fixes: e54a6cd6a1f3 ("systemd: Add hooks to stop/start xen-watchdog on 
>>> suspend/resume")
>>> Reported-by: Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>
>>> Signed-off-by: Mykola Kvach <mykola_kvach@xxxxxxxx>
>>> ---
>>> Build in which the regression was detected:
>>> https://gitlab.com/xen-project/people/marmarek/xen/-/jobs/10959608099
>> Requires re-running autoconf, otherwise still fails:
> Thanks for the note. I had assumed the Autoconf-generated files were refreshed
> during release or at merge time, since this updates generated artifacts. If 
> the
> expectation is that contributors regenerate and include them with the patch,
> I will add the updated Autoconf outputs in the next revision of this series.

We regenerate on commit, but that still needs a reminder to remember to
do so.

>
>> https://gitlab.com/xen-project/people/marmarek/xen/-/jobs/12336879267
>>
>> With autoconf:
>> https://gitlab.com/xen-project/people/marmarek/xen/-/pipelines/2198372475
>>
>> It's better now, so:
>> Reviewed-by: Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>

Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Thanks for the quick turnaround.  I'll queue this shortly.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.