Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id B1C29E0090E; Mon, 29 Feb 2016 13:26:44 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [147.11.146.13 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 2113FE00A27 for ; Mon, 29 Feb 2016 13:26:43 -0800 (PST) Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail1.windriver.com (8.15.2/8.15.1) with ESMTPS id u1TLQWoh026786 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 29 Feb 2016 13:26:32 -0800 (PST) Received: from ord-dlerner-d8.wrs.com (172.25.44.108) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.248.2; Mon, 29 Feb 2016 13:26:31 -0800 From: Dave Lerner To: , , Date: Mon, 29 Feb 2016 15:26:18 -0600 Message-ID: <1456781179-31194-1-git-send-email-dave.lerner@windriver.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Subject: [review-request] fixup dependency excludes_set for custom image X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 21:26:44 -0000 Content-Type: text/plain Branch: master Defect: 9156 Summary: toaster: fixup dependency excludes for customimage commit b234dae9f3023af71814d9bb8f7052013b9400e8 Author: Dave Lerner Date: Mon Feb 29 14:58:35 2016 -0600 toaster: fixup dependency excludes for customimage [YOCTO #9156] For a customized image when adding a dependent package X that depends on dependency package Y, in addition to adding X to appends_set and Y to includes_set, make sure that Y is no longer in the excludes_set. Y may have been added to the excludes_set by a prior package removal. Signed-off-by: Dave Lerner Test setup ---------- Build core-image-sato. Create a new project 'myproject' on master. Create a custom image 'myimage' based on core-image-minimal. Build core-image-minimal. Customize myimage. Test steps and expected results ------------------------------- Search for atk, add the package accept the additional packages. for each of the following verify that buttons switch to Remove Package: glib-2.0, libpcre, libffi, bash Search for atk, click the remove package button. for each of the following verify that buttons switch to Add Package: glib-2.0, libpcre, libffi, bash Exit browser then re-enter browser Pick All-Projects, pick 'myproject', click on Custom image, then select 'myimage'. Search again for 'atk' and add the package. for each of the following verify that buttons switch to Remove Package: glib-2.0, libpcre, libffi, bash