Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D3CACD0C5F2 for ; Fri, 25 Oct 2024 09:14:26 +0000 (UTC) Subject: Re: [yocto] How to add postinst and prerm scripts to a recipe? To: "Alexander Kanavin" , yocto@lists.yoctoproject.org From: "Uy Ha" X-Originating-Location: Helsinki, Uusimaa, FI (87.92.135.50) X-Originating-Platform: Linux Firefox 131 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Fri, 25 Oct 2024 02:14:26 -0700 References: In-Reply-To: Message-ID: <7175.1729847666138755441@lists.yoctoproject.org> Content-Type: multipart/alternative; boundary="JqdZy9GQ5KNkEJmz8IJo" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 25 Oct 2024 09:14:26 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/64121 --JqdZy9GQ5KNkEJmz8IJo Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Could you give me an example? I can install the scripts as regular scripts = but since DEB and RPM have different naming for these scripts, do i have to= write package manager dependant code? --JqdZy9GQ5KNkEJmz8IJo Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Could you give me an example? I can install the scripts as regular scr= ipts but since DEB and RPM have different naming for these scripts, do i ha= ve to write package manager dependant code?
--JqdZy9GQ5KNkEJmz8IJo--