Skip to contentSkip to conversation

ERROR: QA Issue: initscripts: Files/directories were installed but not shipped

DISCUSSION pandey_himanshu80 1 participant 1 message Mar 7, 2015

lore
Share & tools
lore
#0 lore raw

Hi Sir,
My recipe contains following lines in do_install() section:
        install -d ${D}${base_bindir}        install -d ${D}${base_sbindir}        install -d ${D}${sbindir}        install -d ${D}/${localstatedir}/lib/stateless        install -d ${D}/${localstatedir}/log        install -d ${D}/${localstatedir}/run         install -m 0755 ${S}/src/netreport      ${D}/${localstatedir}/run
FILES_${PN} += "${localstatedir}/run"
I am getting the following error:
ERROR: QA Issue: initscripts: Files/directories were installed but not shipped  /runERROR: QA run found fatal errors. Please consider fixing them.ERROR: Function failed: do_package_qa
Regards,Himanshu  
From [email protected] Sat Mar 7 17:11:31 2015
Return-Path: <[email protected]>
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com

	[209.85.220.47])
	by mail.openembedded.org (Postfix) with ESMTP id C2234738EB
	for <[email protected]>;
	Sat,  7 Mar 2015 17:11:30 +0000 (UTC)
Received: by pablj1 with SMTP id lj1so51074815pab.10
	for <[email protected]>;
	Sat, 07 Mar 2015 09:11:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=content-type:mime-version:subject:from:in-reply-to:date
	:content-transfer-encoding:message-id:references:to;
	bh=exFD7mrY0HqWYoQgy7Z21onX5Ku2+UdB3GhG8G3LYi8=;
	b=DCcLD1ve+QrdU87pkzYJ6TBs9jaiLPyC/tLG5yf4ovBMmMa5a1VJdeTUeUdfGx3JH9
	crf96C3oePPg7ZVFH+FGM0Iew1pm9IY2hBJnoX3TMK3C37i4pTthOgEPnJMTDosjSCe1
	+r42Q9UA9de/kI6AS3ZSrNuzH7is5XHoC80aGatPX7C6hiJ9jSictrNZspq4uk30UBI7
	qY777J7XQ8mcDH4VDQMoypF8ywnIVN52H3QGxNEIH7aIp7nrQg7EYIboPv7fFOLaT5Lp
	UQi1uFVu3M1um1J7ud+8RgYnBS7nBILotFnb7UmEQPvLOxCEw1nvp3w7noX1CHJnQ+NW
	Y3/w==
X-Received: by 10.68.211.161 with SMTP id nd1mr18010117pbc.6.1425748292263;
	Sat, 07 Mar 2015 09:11:32 -0800 (PST)
Received: from ?IPv6:2601:9:3580:84c:8cba:4754:67eb:6b50?
	([2601:9:3580:84c:8cba:4754:67eb:6b50])
	by mx.google.com with ESMTPSA id ht2sm7137266pdb.23.2015.03.07.09.11.30
	for <[email protected]>
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Sat, 07 Mar 2015 09:11:30 -0800 (PST)

Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\))
From: Khem Raj <[email protected]>
In-Reply-To: <[email protected]>
Date: Sat, 7 Mar 2015 09:11:35 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <[email protected]>
References: <[email protected]>
To: [email protected]
X-Mailer: Apple Mail (2.2070.6)
Subject: Re: [oe] ERROR: QA Issue: initscripts: Files/directories were
installed but not shipped
X-BeenThere: [email protected]
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: [email protected]
List-Id: Using the OpenEmbedded metadata to build Distributions
<openembedded-devel.lists.openembedded.org>
List-Unsubscribe: <http://lists.openembedded.org/mailman/options/openembedded-devel>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://lists.openembedded.org/pipermail/openembedded-devel/>
List-Post: <mailto:[email protected]>
List-Help: <mailto:[email protected]?subject=help>
List-Subscribe: <http://lists.openembedded.org/mailman/listinfo/openembedded-devel>,
<mailto:[email protected]?subject=subscribe>
X-List-Received-Date: Sat, 07 Mar 2015 17:11:32 -0000

Quoted 1 line

On Mar 7, 2015, at 5:14 AM, pandey_himanshu80 =

Quoted 4 lines · <[email protected]> wrote:

=20
Hi Sir,
My recipe contains following lines in do_install() section:
&nbsp; &nbsp; &nbsp; &nbsp; install -d ${D}${base_bindir}&nbsp; &nbsp; =

&nbsp; &nbsp; install -d ${D}${base_sbindir}&nbsp; &nbsp; &nbsp; &nbsp; = install -d ${D}${sbindir}&nbsp; &nbsp; &nbsp; &nbsp; install -d = ${D}/${localstatedir}/lib/stateless&nbsp; &nbsp; &nbsp; &nbsp; install = -d ${D}/${localstatedir}/log&nbsp; &nbsp; &nbsp; &nbsp; install -d = ${D}/${localstatedir}/run

Quoted 1 line

&nbsp; &nbsp; &nbsp; &nbsp; install -m 0755 ${S}/src/netreport &nbsp; =

&nbsp; &nbsp;${D}/${localstatedir}/run

Quoted 3 lines

FILES_${PN} +=3D "${localstatedir}/run"
I am getting the following error:
ERROR: QA Issue: initscripts: Files/directories were installed but not =

shipped&nbsp; /runERROR: QA run found fatal errors. Please consider = fixing them.ERROR: Function failed: do_package_qa

Please use sane mail programs, your client seems to be molesting the = emails.

/run is a runtime directory so you should find a different way to get = this file into /run folder at runtime
a simple install at build time into /run won=E2=80=99t help.

Quoted 6 lines

Regards,Himanshu &nbsp;
--=20
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel