[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] install.sh: Preserve symlinks in destination file system
- To: Thierry Escande <thierry.escande@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Jason Andryuk <jason.andryuk@xxxxxxx>
- Date: Fri, 20 Mar 2026 10:04:18 -0400
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=vates.tech smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
- 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=yynQ/Qm0Pqs20e8Rw/eeG0S9kKqL5d+CMvs0W75a+8o=; b=JAMPCu4S6UFcvhbPdN5LnWim+NgEYzSy+z2v6Rn0/P9H2JKvIvx+vxShERWXW/WEEXb+OTxtZVSd/sAp1br0XLpwFfLjkrgK2eNIAmXrzb+TS8TfEJ5qQWsPrlD1eG51xPOzUFLJYTsqtW3ahrCLKyXspf8ekG2ozpEegu+ZuPRdtoMWiOzAiAels85NudVHh6oEcnR1Ri7oy3BJNsnj3Z4gSW7OBMnt5iKw+W9Okl+2WyGcOK4yyFwqYC0KlFcg9ZapNMNeEA7Rvoo8MV1cF96IicO47sfiK49i2Zcbq4iOndA+gVCWH2X63t1v5mT5M6smtj1fdVNI1STmlz99JQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Cvo42goeuLtQiuSt59iWCi2a/U51UGFHeX4Y/DHwJNN0b7gxU7zoLJDXeBC+BzImbegtXYVxt6oGHUIJL897fKW1fhQcXqu83x45X/tlrKSh3njaovwi/nBD0ljt8VJp1IZeGfCdTfd+iMALY0gWqpfxpkq4qD82bXL1hyRCKgC9Qi3eaxdr5xs5y9ZC57OBDbepmugYdKnZG5hr37ho85k5Xh8Z7yJhbE7mV7Jv+BsFHVw/bJcJjabwsdk92XXn+YTXoUjomDfd3UvZRBW7HlaxG/SQei4GZBjctkdxpED1oYXowtryEfTD3d3vhlvDiVdDFdrFLPQI+Qnfyxh86Q==
- Cc: Anthony PERARD <anthony.perard@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>
- Delivery-date: Fri, 20 Mar 2026 14:04:39 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 2026-03-19 12:50, Thierry Escande wrote:
In various distros (i.e. Debian), /lib is a symbolic link. The tar
command in install.sh replaces the /lib symlink with a directory and
results in a non-functioning system. This has been introduced by the
installation of the systemd watchdog sleep script in /lib/systemd.
This patch adds the tar option --dereference (-h for short) to preserve
symlinks when extracting the dist archive.
Fixes: e54a6cd6a1f3 ("systemd: Add hooks to stop/start xen-watchdog on
suspend/resume")
Signed-off-by: Thierry Escande <thierry.escande@xxxxxxxxxx>
Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>
Tested-by: Jason Andryuk <jason.andryuk@xxxxxxx>
Thanks,
Jason
|