From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6542807571650052096 X-Received: by 10.223.225.78 with SMTP id f14mr45884wri.28.1523368167026; Tue, 10 Apr 2018 06:49:27 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.223.184.114 with SMTP id u47ls122725wrf.6.gmail; Tue, 10 Apr 2018 06:49:26 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/z5COawWoryeTYJP/4Z3rbTVKHvMMhsAuXT2CIx9oa16gDmyNxawQz2IvmrBqk6/Pc6BuG X-Received: by 10.223.135.42 with SMTP id a39mr49040wra.2.1523368166591; Tue, 10 Apr 2018 06:49:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523368166; cv=none; d=google.com; s=arc-20160816; b=OovcmbRLPhMiyND8DZM3eeMy+IoitqabsFnycB4gWKiRXLJVY41c+ahti8uzW6+6zd 2F12wN6hfjsNny0vXv9P+xo5JQo6bmelW3KwZ64cmrQ3iI8Dpw8scL8HxPLwiDaqucGi MAcZTiSYMaddOWBgx4Ou4Rm/0a5dGEqoULtTfqHufINfoAaGxLstik3xuz1VbWp4Drve Ou+w0bnx6lOQu851Ki2wEe+wSun0MsEm9x1jUcMpfUFPKZp6uAQyyzRqmXnFLAlttEaT XUhMhz3mMZFLPnJpQR4+x37NIEC0RB9+bXi9e8VQPHbhWjxKim/CnNKK89Wypy0I64De +gCg== 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:references:cc:to:from:subject :arc-authentication-results; bh=ierfOIat9eMFFQyFczSYh9zVnS2CwmtD5D55RGk6P4E=; b=HG1QxxxUuOowY+pu9lqbEFu/Le2VIY0p5H4vscN6qeso1v6S378S7sKJqw7zszh0Lk fUdJwPJpWvjuK9MkI1yDNdwfLMY/Hwu6zRXYRlvb+dVOwAc1pUdPxJg2PoMZWSd0NUx6 kW8QqNOeV6UMj8+kGYo5vVedzjNSNiwI3lneEZtX9af09G37k03MeUT9AuiZtKmJpyuS qTvor0KuV/p/6Xn8Cc7/H6IvsnhuwldPZ4SpQSuVTEGQbKjUca54Fo9zYAGGakMsrvAs aTKV7g2zR8ioLwJ3znQ3ggSYUbc4YjWHIegAj3RLxIP4EsyrtFWtXRFprd6wQoQIfTn8 PKJg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id v13si597023wmc.4.2018.04.10.06.49.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Apr 2018 06:49:26 -0700 (PDT) Received-SPF: pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id w3ADnPQF021333 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 10 Apr 2018 15:49:25 +0200 Received: from [139.25.69.226] (linux-ses-ext02.ppmd.siemens.net [139.25.69.226]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id w3ADnPTR017195; Tue, 10 Apr 2018 15:49:25 +0200 Subject: Re: [PATCH 0/1] Cleanup of the configscripts From: Claudius Heine To: isar-users@googlegroups.com Cc: Claudius Heine References: <20180410131454.1955-1-claudius.heine.ext@siemens.com> Message-ID: <5da80511-b4af-1bd0-a2be-bc46e027a595@siemens.com> Date: Tue, 10 Apr 2018 15:49:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180410131454.1955-1-claudius.heine.ext@siemens.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: pbzJ0XYIJn+7 On 04/10/2018 03:14 PM, [ext] claudius.heine.ext@siemens.com wrote: > From: Claudius Heine > > Hi, > > this patch contains some cleanup of the configuration scripts. > I tried testing it with the raspberry pi, but could do it since isar is > apparantly incompatible with rasberry pi 3. And thats the only version I > had available. > > But I took a look at the files on the boot partition and they look fine. We also might want to start the discussion about what to do with the rest of the configuration script content: 1. Setting up the locale settings 2. Setting up /etc/fstab 3. Creating /dev/console 4. Setting up getty for serial connection 5. purging unused locale setting and man files 6. executing 'apt-get clean' I sort of see reason to do general cleanup jobs in the configuration script. Since that should be done after all packages are installed but before we could extract all used packages for the reproducable build feature. Most of those other steps I would rather do in post/preinst steps of a package. The order is not really that important there. Maybe its possible to create some sort of 'isar-general-setup' package, that does all of that based on bitbake variables and is included in every image per default. What do you think? Cheers, Claudius -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de