Return-Path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by mail.openembedded.org (Postfix) with ESMTP id 16A2E60745 for ; Mon, 4 Jan 2016 14:09:08 +0000 (UTC) Received: by mail-wm0-f49.google.com with SMTP id u188so148252424wmu.1 for ; Mon, 04 Jan 2016 06:09:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=5bK9yot/nKTVoD7XxovVK6BkTZIMTnrHqsEt2v1Ppa4=; b=iF9jQBPhK+CL/nWkeadf1ZSw4X2luLkL8Sj7/AtPdoHi+oppZZ4UoCDLA36z1IuAJl 8NjeFyK0VXPtodV477tFkzswqqZLXCP7Pew8WWPOxWX1f95hRC2PPCIX2/S6PV2uN4fV Af3zwCQmtQc3NxVzDt6eKql5Ez0Wlmpuh9tnVIytnL89CwjvzbWATRq+QyJjwd9EhK82 VsvesVsWs88CiooHJZZadGoeffu8YXpNX0Sg0aj/YsNRn2rDR/J6SuUNA9siL5IH5Yp4 VCSAg92IAx3LtkAPU8v59l4EjHOy7h+Dhqopaj4ZnEbFigCtWRIi1FXRxeH5BPt1ZrHU 6CMA== X-Received: by 10.28.47.11 with SMTP id v11mr89767609wmv.27.1451916548043; Mon, 04 Jan 2016 06:09:08 -0800 (PST) Received: from localhost (ip-86-49-34-37.net.upcbroadband.cz. [86.49.34.37]) by smtp.gmail.com with ESMTPSA id g187sm55406099wmf.8.2016.01.04.06.09.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Jan 2016 06:09:06 -0800 (PST) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-core@lists.openembedded.org Date: Mon, 4 Jan 2016 15:13:14 +0100 Message-Id: <1451916795-24862-1-git-send-email-Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.6.4 Subject: [PATCH 1/2] sstate-sysroot-cruft.sh: Extend the whitelist 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: Mon, 04 Jan 2016 14:09:09 -0000 * add more php5 entries * add builder user (from builder.bb) * add .bashrc and .profile in HOME directory of created user * add imgdata directory generated by image.py Signed-off-by: Martin Jansa --- scripts/sstate-sysroot-cruft.sh | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/scripts/sstate-sysroot-cruft.sh b/scripts/sstate-sysroot-cruft.sh index 9124e5b..b7ed8ea 100755 --- a/scripts/sstate-sysroot-cruft.sh +++ b/scripts/sstate-sysroot-cruft.sh @@ -90,7 +90,7 @@ WHITELIST="${WHITELIST} \ WHITELIST="${WHITELIST} \ .*\.pyc \ .*\.pyo \ - .*/__pycache__ + .*/__pycache__ \ " # generated by lua @@ -105,8 +105,8 @@ WHITELIST="${WHITELIST} \ # generated by php WHITELIST="${WHITELIST} \ - .*/usr/lib/php5/php/.channels/ \ - .*/usr/lib/php5/php/.registry/ \ + .*/usr/lib/php5/php/.channels/.* \ + .*/usr/lib/php5/php/.registry/.* \ .*/usr/lib/php5/php/.depdb \ .*/usr/lib/php5/php/.depdblock \ .*/usr/lib/php5/php/.filemap \ @@ -122,6 +122,18 @@ WHITELIST="${WHITELIST} \ WHITELIST="${WHITELIST} \ [^/]*/home \ [^/]*/home/xuser \ + [^/]*/home/xuser/.bashrc \ + [^/]*/home/xuser/.profile \ + [^/]*/home/builder \ + [^/]*/home/builder/.bashrc \ + [^/]*/home/builder/.profile \ +" + +# generated by image.py for WIC +# introduced in oe-core commit 861ce6c5d4836df1a783be3b01d2de56117c9863 +WHITELIST="${WHITELIST} \ + [^/]*/imgdata \ + [^/]*/imgdata/[^/]*\.env \ " # generated by fontcache.bbclass -- 2.6.4