From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by mail.openembedded.org (Postfix) with ESMTP id E4C9C6B50C for ; Tue, 14 Jan 2014 01:50:04 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.14.5/8.14.5) with ESMTP id s0E1o3Ui009058 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 13 Jan 2014 17:50:04 -0800 (PST) Received: from [128.224.162.164] (128.224.162.164) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.2.347.0; Mon, 13 Jan 2014 17:50:03 -0800 Message-ID: <52D497EA.20301@windriver.com> Date: Tue, 14 Jan 2014 09:50:34 +0800 From: ChenQi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: "Burton, Ross" References: <1d073230c282c6e62cd24b164bc42f383a55544a.1389598673.git.Qi.Chen@windriver.com> In-Reply-To: X-Originating-IP: [128.224.162.164] Cc: OE-core Subject: Re: [PATCH 2/2] systemd-compat-units: make run-postinsts.service work correctly on target X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jan 2014 01:50:05 -0000 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit On 01/14/2014 01:01 AM, Burton, Ross wrote: > On 13 January 2014 07:38, Chen Qi wrote: >> +ExecStart=-/etc/rcS.d/S98run-postinsts ; -/etc/rcS.d/S99run-postinsts > Can we just make opkg and run-postinsts write that file using the same number? > > Also, that service file needs to move directly into run-postinsts. > There's a start in poky-contrib:ross/postinsts if you want to finish > it off. :) > > Ross > > Hi Ross, As you have started working on this problem, I think I'll just drop this patch. After looking at your branch, I think there's only one thing to look out for. When we're using ipk/dpkg as the package back-end, and 'package-management' is in IMAGE_FEATURES, there would be no /etc/*-postinsts. Best Regards, Chen Qi