From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6654500580778573824 X-Received: by 2002:a05:6000:4f:: with SMTP id k15mr253515wrx.8.1549371653615; Tue, 05 Feb 2019 05:00:53 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:9692:: with SMTP id y140ls824860wmd.4.canary-gmail; Tue, 05 Feb 2019 05:00:53 -0800 (PST) X-Google-Smtp-Source: AHgI3IaEIlRVL4XZGbKyd+Q9HJgWUSMVl996GzKNF5h9e/7YvFaxb2wd3AJ16qvBRD5jNoPAcIsw X-Received: by 2002:a1c:7e45:: with SMTP id z66mr334229wmc.12.1549371653236; Tue, 05 Feb 2019 05:00:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549371653; cv=none; d=google.com; s=arc-20160816; b=Ka49GVNPgC3KA++UAJIGMycKTTIwVgoGo0FWGlkI/xOZGekGphMdh7i9/w1RPrGxtX hvb0Y1bfcsqxq7tfhPDWjYod/srOyWzIREDarBXdsrhT9WfVEQEIvGDoxGM5NujDY0rm 4WKZfgimeYEABIk11BtHfdzGdA345YnycqvWf3/krS2pkZDMGxpc7TP9VW9gGeRtuYg2 iBh7skv8XWE2o2XwwYeVTejKUgFZ0UiGEXWCALTAMIoUp5jnQsYGBLj1n3nueKF8Jajp fLTYTrrMPfPcOfaL77tfk2QhGT47GRMGrUc8Tfzx8EeIhcjiOUorN7i+rnYJcCUMaE5H HHrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from; bh=Sx4GELCDa4IrZmxh6XYzXsFqPlQjnfwtEuMkHUFd3Uk=; b=eZ2R68rFfjmyJeYUOIlRHsKW+Dzr6eMIPiu8hK+VX+maaZKZR8Ikq9Y5u3acOsLaid M6UiDtCTft9YFYPQuss/CHDJh/kvIGVjkwRqKwsEswzc/BF+d3jDnvCdN5HEmQD2b4i/ +WVo+Jale58J0JVroryWX7XYIqhD1Q91imK5XvqjEz/dN5pbrlynk6PuOU9Q+fk/aEMo iJSyWaGKa/BHO93T5uInJcEdjgDZFcU9D2wNocgPRjSaye4VOuTtR5CYRQVBDkVPP8PQ w9wCP9JmvScUB5E1odYMFFLs5kfhTh121K1RjMmBrxNaiRgkWeZXImrxEtbd1NhTpiz7 8jTw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of hws@denx.de) smtp.mailfrom=hws@denx.de Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.9]) by gmr-mx.google.com with ESMTPS id i11si703729wmb.2.2019.02.05.05.00.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Feb 2019 05:00:53 -0800 (PST) Received-SPF: neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of hws@denx.de) client-ip=212.18.0.9; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of hws@denx.de) smtp.mailfrom=hws@denx.de Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 43v4Sj0FNqz1rRFL for ; Tue, 5 Feb 2019 14:00:53 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 43v4Sj087sz1qvWK for ; Tue, 5 Feb 2019 14:00:52 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id hBQ5_i8PO02D for ; Tue, 5 Feb 2019 14:00:52 +0100 (CET) X-Auth-Info: QcctltdXki20V+GiFmyHd/JusPVuaZuAG3pQXlzSmrQ= Received: from sandvich.fritz.box (p578a821c.dip0.t-ipconnect.de [87.138.130.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA for ; Tue, 5 Feb 2019 14:00:52 +0100 (CET) From: Harald Seiler To: isar-users@googlegroups.com Subject: [PATCH 0/2] Fix shell-scripts Date: Tue, 5 Feb 2019 14:00:02 +0100 Message-Id: <20190205130004.15200-1-hws@denx.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: WMcdNuacpXTG Fixes a few potential issues with the shell-scripts used in isar. This is for the most part expansions that would break for paths containing special characters and portability concerns. Additionally contains a fix for a bug in common.sh where the group-name was not actually checked. Harald Seiler (2): Fix all shell-script expansions buildchroot: Fix not checking group isar-init-build-env | 6 ++-- meta-isar/conf/distro/raspbian-configscript.sh | 2 +- .../isar-bootstrap/files/chroot-setup.sh | 8 ++--- meta/recipes-devtools/buildchroot/files/common.sh | 9 ++++-- meta/recipes-kernel/linux/files/build-kernel.sh | 36 +++++++++++----------- .../enable-fsck/files/enable-fsck.sh | 4 +-- .../files/expand-last-partition.sh | 16 +++++----- scripts/ci_build.sh | 14 ++++----- scripts/mount_chroot.sh | 12 ++++---- scripts/rpm2cpio.sh | 4 +-- 10 files changed, 58 insertions(+), 53 deletions(-) -- 2.14.1