From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6654500580778573824 X-Received: by 2002:a19:5f1d:: with SMTP id t29mr161825lfb.17.1549447800513; Wed, 06 Feb 2019 02:10:00 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:81d8:: with SMTP id s24-v6ls2890197ljg.9.gmail; Wed, 06 Feb 2019 02:10:00 -0800 (PST) X-Google-Smtp-Source: AHgI3IY6eFNtRqO5F92FqpBcz5nywhMfIYYt9lE2/cGavDgug6lRKsfrMl7def3/+rH99V37Mwqo X-Received: by 2002:a2e:844d:: with SMTP id u13-v6mr630108ljh.17.1549447800023; Wed, 06 Feb 2019 02:10:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549447800; cv=none; d=google.com; s=arc-20160816; b=UpDTTKFOuqHU40NUa1BepEMbyEB1SYLBjaPmYNSB7HX6qCbASBcY315XZVYK1M3ZDS 2iCC98z23Z8Q8hiePfpduwpdtpCvKIiSNAitjuRhnEf1J61oEoSA7Nw5M94XjRHV/4hI aqliRKgCgn9ZPs2WOpfWxgChdMUApJq1t5WLSiJMNuJV4Yuku0x6q0BYpr8zxLT2BpZZ o44I8iI8mZmatwO/J25hRTGYqCb/SsW1VIlP5p+Xe2KFIh89jZIDWEcvLl4un9e2+YE0 2l2pkzTHTg74UepqrmAeCpD6F3faT3Xg/E78WqTg7qGJox52cQN9LZLlkTymXXaUf9Ju ahUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:organization:from:references:to:subject; bh=P+RSynTuA+lCvvxEC7qYNGjo5neoegK/R5AuPwz1l/E=; b=vYngRf76LQtY/8ykd532GgOoRx1VX+4h5JxlcFieAt38tOY8eOb3qsgSNSRrB9RkUb IPaax2fXqTmRjCaqcwnkLNvLMzjnM1/X97XN9uNptJ73EYt0MXYlOiK2VaQgCnX0Bbw6 vQOpeDB+5Up8yqYqHPV3jFjNODvNRECIJEvEASTGkBVHNJMektuhbhUwQsgGR6jON2S0 6Uc1WTSlfOiK/IYbbpyMe3HfC7+aipcANGIveWgvkyPtJtqDt6r0IutdAJWlkMEdzK1x 5rPsID5XI1NUCQEYWAlEARDVz3OXcPrteP00dp/cQHZq7/Un86QN/NzxVe2pvT3PGneO E2jw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of mosipov@ilbers.de) smtp.mailfrom=mosipov@ilbers.de Return-Path: Received: from shymkent.ilbers.de (h2822328.stratoserver.net. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id q10-v6si1165474lji.4.2019.02.06.02.09.59 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Feb 2019 02:09:59 -0800 (PST) Received-SPF: neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of mosipov@ilbers.de) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of mosipov@ilbers.de) smtp.mailfrom=mosipov@ilbers.de Received: from [192.168.50.163] (d51a48a80.access.telenet.be [81.164.138.128]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id x16A9vSc012733 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 6 Feb 2019 10:09:57 GMT Subject: Re: [PATCH 0/2] Fix shell-scripts To: Harald Seiler , isar-users@googlegroups.com References: <20190205130004.15200-1-hws@denx.de> From: "Maxim Yu. Osipov" Organization: ilbers GmbH Message-ID: <39a77e4a-4eba-ed28-29e5-dbc44f07cd1d@ilbers.de> Date: Wed, 6 Feb 2019 11:09:58 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190205130004.15200-1-hws@denx.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: 1UCfJSD5+H9H On 2/5/19 2:00 PM, Harald Seiler wrote: > 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. Applied to the 'next'. Thanks, Maxim. > > 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(-) > -- Maxim Osipov ilbers GmbH Maria-Merian-Str. 8 85521 Ottobrunn Germany +49 (151) 6517 6917 mosipov@ilbers.de http://ilbers.de/ Commercial register Munich, HRB 214197 General Manager: Baurzhan Ismagulov