From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6474925990321586176 X-Received: by 10.28.92.18 with SMTP id q18mr1114347wmb.15.1507561185272; Mon, 09 Oct 2017 07:59:45 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.223.156.140 with SMTP id d12ls604751wre.1.gmail; Mon, 09 Oct 2017 07:59:45 -0700 (PDT) X-Google-Smtp-Source: AOwi7QB169PP66/mfj0zRGPehueV1kSviYinYVG4xgdavLYXT2UxUJ/kB4kNbMlVZTkBmnS1cu+u X-Received: by 10.223.171.237 with SMTP id s100mr787394wrc.31.1507561185038; Mon, 09 Oct 2017 07:59:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507561185; cv=none; d=google.com; s=arc-20160816; b=x08U9iQJKcbKgqRDis7ClOgbSiD7gyNmHfyjDU/kjxPfSowLUcMaukQHz08em3oXXm FF8nOZI/o7BCmE8y3RbCNKI0l1EmnA2A6gS7LnEB5X5UKPDPFqZ9fSlpvFsPhxyPmGPe /dOjJ/oaOERFRJiFGU+db+P9zl8Tp90dGHUeN7ruVMxnoEFHI+nv1/xgQ9Hz72zya5KF VRwull18xBgIgYRQ4fgUtS45eJLwI31tNd7AxObQ32n0B2FNzM3GPRj9ic3Ga6GstFgV 5Uljh36Fo4OGmhA2s0O6LrBZ468PTYKOFrvFHPhOLl+dQxncJK24olnrV3ZLweQ0kG5v acXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=cdmjHghkQoOxcp1XJWUCzcqszjZTiG5GT+V+vZIWPBw=; b=lAUwOvER0ljJfKFqVzJgjwQbgsvz9xir30ApwVSeMR5DC4UbyLewJHqIu6nmr7zb2e 4bZUIDla00mVTiL2GBs+JVshjH31ekKlhhFezJDSgUKZgVj80cB2/6ED+tqdIzBnYPBW MT+bY/gpbkf1bS0N33IHfNJDJQg/ij2cVRxtBQ//rOPW4PVdEq5tlavFZYqmWR3f1brE AcUMWDVW2u8plF3Y6lc8ZAmzZCXNn4H/HV/epJOJa29YjzpEvccDzE1WKdiioVO/dAAL q1T56qkZwBjWttWTWJ8tAwMyF2bPZ7RaxE+T9uFsDd3wqw/hsRg83iFkfs8rodjNICgE GKSQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 192.35.17.14 is neither permitted nor denied by domain of henning.schild@siemens.com) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id 74si1107095wme.2.2017.10.09.07.59.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Oct 2017 07:59:45 -0700 (PDT) Received-SPF: neutral (google.com: 192.35.17.14 is neither permitted nor denied by domain of henning.schild@siemens.com) client-ip=192.35.17.14; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 192.35.17.14 is neither permitted nor denied by domain of henning.schild@siemens.com) smtp.mailfrom=henning.schild@siemens.com Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id v99ExiuB008073 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 9 Oct 2017 16:59:44 +0200 Received: from md1em3qc.ww002.siemens.net ([139.25.68.40]) by mail2.siemens.de (8.15.2/8.15.2) with ESMTP id v99ExibW001881; Mon, 9 Oct 2017 16:59:44 +0200 From: Henning Schild To: isar-users@googlegroups.com Cc: Henning Schild Subject: [PATCH 3/3] configscript: remove duplicates of 'dpkg --configure' Date: Mon, 9 Oct 2017 16:59:42 +0200 Message-Id: <63f76bb31afe1909da28020e6f258302546afd84.1507561035.git.henning.schild@siemens.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: References: In-Reply-To: References: X-TUID: lEcIBZOTh3kf The command was always run twice, once without a mounted /proc. Now that /proc is always mounted, once is enough. Signed-off-by: Henning Schild --- meta-isar/recipes-core/images/files/debian-configscript.sh | 1 - meta-isar/recipes-core/images/files/raspbian-configscript.sh | 1 - meta/recipes-devtools/buildchroot/files/configscript.sh | 1 - 3 files changed, 3 deletions(-) diff --git a/meta-isar/recipes-core/images/files/debian-configscript.sh b/meta-isar/recipes-core/images/files/debian-configscript.sh index 974ad44..7303598 100644 --- a/meta-isar/recipes-core/images/files/debian-configscript.sh +++ b/meta-isar/recipes-core/images/files/debian-configscript.sh @@ -45,7 +45,6 @@ export LC_ALL=C LANGUAGE=C LANG=C # Configuring packages dpkg --configure -a -dpkg --configure -a # set the root password if that has not been done before grep "root:\*:" /etc/shadow && echo "root:root" | chpasswd diff --git a/meta-isar/recipes-core/images/files/raspbian-configscript.sh b/meta-isar/recipes-core/images/files/raspbian-configscript.sh index 2f5ad40..4cb004b 100644 --- a/meta-isar/recipes-core/images/files/raspbian-configscript.sh +++ b/meta-isar/recipes-core/images/files/raspbian-configscript.sh @@ -49,7 +49,6 @@ rm /var/lib/dpkg/info/raspberrypi-bootloader-nokernel.postinst # Configuring packages dpkg --configure -a -dpkg --configure -a # set the root password if that has not been done before grep "root:\*:" /etc/shadow && echo "root:root" | chpasswd diff --git a/meta/recipes-devtools/buildchroot/files/configscript.sh b/meta/recipes-devtools/buildchroot/files/configscript.sh index 96166e0..9813c9a 100644 --- a/meta/recipes-devtools/buildchroot/files/configscript.sh +++ b/meta/recipes-devtools/buildchroot/files/configscript.sh @@ -44,6 +44,5 @@ mount -t devtmpfs -o mode=0755,nosuid devtmpfs /dev #configuring packages dpkg --configure -a -dpkg --configure -a apt-get update umount /dev -- 2.13.6