From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7163187300010033152 X-Received: by 2002:a2e:7003:0:b0:277:6c39:e543 with SMTP id l3-20020a2e7003000000b002776c39e543mr9145882ljc.513.1668099943621; Thu, 10 Nov 2022 09:05:43 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:a4ca:0:b0:26f:b780:6802 with SMTP id p10-20020a2ea4ca000000b0026fb7806802ls284322ljm.0.-pod-prod-gmail; Thu, 10 Nov 2022 09:05:42 -0800 (PST) X-Google-Smtp-Source: AMsMyM6+8kgbnnNQv4qMlUtc5UWGt/mIQ0M2Hw4DmE4DV+E5ahwUKDdOsS3tqIxh7NS+3Q68Y2wC X-Received: by 2002:a2e:9848:0:b0:277:72a:41a5 with SMTP id e8-20020a2e9848000000b00277072a41a5mr9689695ljj.352.1668099942136; Thu, 10 Nov 2022 09:05:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668099942; cv=pass; d=google.com; s=arc-20160816; b=zzjdUW0/pA2+1ZuSL4AzaG+cH1wZNUDoToemfioMEoR4OGcJ896k0HDO0inGJfNq6s 54Ri4fVoHpHrARbiNE1gMP7+FfPa3RUrg2GjxwsVKe8Nqj+WhPhawHDo1TWkX+aKNjmj wWvzW2H3A49UXLjNswqyo/X4gBivRPx31nU9zoP0PkIu8znWWNzNV9AiWe16VAcve856 H4AY51dMzn7PvHkXzps6G6nlmuFQ/UXMpry9o9BzKr2KU/D5GcNMhnuL0KRbtZP8jNQc n02krAm+r1A15aIutJ3PgXZPNyyNXXJ+m6r3GK6XOrPsVJF3jWY1ZtkVpnEAcIvFqMam enAw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:references:in-reply-to :message-id:subject:cc:to:from:date:dkim-signature; bh=I77HnqteSNqLfaqSZZHr8aU2wXgJsPlsYyhYN6SIhtI=; b=g+29EqnBDF+T0MjgtrBn5cfxMlPFZ9/941CtyMctDh2aUiEejeJ/l+wHRseGs13b7g fHgCkV5uRHl8uxKLEodU2HPu+dTzRdch9Zi/YBiMO2Mc7H8BpgZLUuO1nHXnDsknacLc Pt46dsIF/DatzuMC31okmfQVqZn4gzsVBr/h52XT3xhfVrO2gt6bn+4rVweFnDhSVlZn UsQlL06OfxK6x4ERexymZu8cu6uiI3U59CyMA8yajAgW+Fl3W/U8k+BFPTZDEenL0dlh YEHn/b2tpnYLzTOgI3r84FAEhhdvujNFMTEKoK6AIyKzt8q3csH770WbjcWmoMcAizT+ O2ww== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=sQW90IrN; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of henning.schild@siemens.com designates 40.107.8.53 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80053.outbound.protection.outlook.com. [40.107.8.53]) by gmr-mx.google.com with ESMTPS id w17-20020a05651234d100b004a222ff195esi567396lfr.11.2022.11.10.09.05.41 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Nov 2022 09:05:42 -0800 (PST) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 40.107.8.53 as permitted sender) client-ip=40.107.8.53; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=sQW90IrN; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of henning.schild@siemens.com designates 40.107.8.53 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HD0oQxHZg+d0o+bkqfqarEd3JfSdaZNG2/TXpT1vpc4KeH+wpmWO0LeItggqSNo+Y7LwCfKTRbl1vkVNGJXRXHeG73qm/1FlTczKwSeW8HiCyF892NsRCguNXuxLTTFcv05jBet4TPgkR7gOz+fTJZ8rYu+lP59YElzIKGhjaIzjxAFQ42lW4Vwgcqmzhs3m+eGL0Pvz3kub9n8aTllklpa3Gkq28v7351KV5AKDRsx1v7pL83nmIH4eOR7Ke2S3yvfMimEboZAKNj5CCFO4Jtq4UEbuTPSxKez8Q2xJTsq1RvkDlJ5MF5O1yuoUI8jUPUK0I1z4yoEDTdOSSJ05rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=I77HnqteSNqLfaqSZZHr8aU2wXgJsPlsYyhYN6SIhtI=; b=VSlP2J1GLv0cM2URnXMmsb2Z2NFc4vbLcUCEcspgAohqqBP810VpjgRKCeMpKh1OZyMVenZN/o0wiylxY+pfYT8hSm3NERXm3PGYdXhBqpkcPXRA7IQNe2hfVB1bDglLbErcV9Ku2jLLG7JSLjypE156LJj/Kte3T5+LD83ajqSWrphT5QnozkkgOgyRGeVUSO0wVCj/37Lu6x6HLNSVuSYBerNlLOrvgWMvQGUVPp1hs/7GRuuW6r8oC1gfBUHandJEay8z549OHSs7xYLRI0D6cKdhsegKCo7ekCFXXl9R7QMSgldghHxW0U4QmBbVILk2gZ/+tMaOxqLeGmbSQw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=siemens.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=I77HnqteSNqLfaqSZZHr8aU2wXgJsPlsYyhYN6SIhtI=; b=sQW90IrNd/A/XauxGTgXjUYt6iyewam5uL9wqb+ZouKubo6+6QDB23ETwSuGeS7xM7aecEP0k7AVq7BFqLmC0l2G4nwoQXO9NRhZWR1qUOUDKgCSjod6jRKdND5ktpsEGk2u0WtFjpiplp0zUzzNcqMofvE1WFsWvuLM0n3oxLWAbDiUfPOXYeW10Icp8GGucvyuMNjNeQeIOT9MNyJ4GjgsPjAYJ4VnAjy/BeP3tcxw8Vqebr/GjTSL53VLX9rTu5xkB6bJT4fGVaNx3DcfACLmNzjqRgcNuWXfVgfx6V7da7tnnvQABwV/YASp1sWpkmMzAvD1TYpCp8r3/6UfkA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=siemens.com; Received: from PA4PR10MB5780.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:269::8) by AM0PR10MB3698.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:158::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.27; Thu, 10 Nov 2022 17:05:40 +0000 Received: from PA4PR10MB5780.EURPRD10.PROD.OUTLOOK.COM ([fe80::e9f4:4305:f82d:1abb]) by PA4PR10MB5780.EURPRD10.PROD.OUTLOOK.COM ([fe80::e9f4:4305:f82d:1abb%3]) with mapi id 15.20.5791.027; Thu, 10 Nov 2022 17:05:40 +0000 Date: Thu, 10 Nov 2022 19:05:30 +0200 From: Henning Schild To: Balasubramanian Sundaram Cc: Anton Mikanovich , isar-users@googlegroups.com Subject: Re: [PATCH] image.bbclass: set file timestamps inside the rootfs and initramfs image Message-ID: <20221110190530.766e3d31@md1za8fc.ad001.siemens.net> In-Reply-To: <20221110183058.4746aed6@md1za8fc.ad001.siemens.net> References: <20221107082503.14774-1-venkata.pyla@toshiba-tsip.com> <3e427f1b-e9dd-5201-86db-a1f1225f2183@ilbers.de> <20221110183058.4746aed6@md1za8fc.ad001.siemens.net> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-pc-linux-gnu) Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ClientProxiedBy: CH2PR17CA0011.namprd17.prod.outlook.com (2603:10b6:610:53::21) To PA4PR10MB5780.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:269::8) Return-Path: henning.schild@siemens.com MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PA4PR10MB5780:EE_|AM0PR10MB3698:EE_ X-MS-Office365-Filtering-Correlation-Id: a42bfbcc-0634-40de-d430-08dac33dcba2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RydDCSJ4CREQY0nxQu2JFQ3cP8FlaqFr7s4eQbPKHvsmhySZqxRPdtFmk+6x2N8XVWRtLBGyajhxRIcOCKqbWoRAjOokBuo4LSDFnZ6J7+eh5x+IARM9beCuEU1q+WeYmajsc4ou2Q5oQBpoqjzSdsLmUzrvCuNxzfgZs4tRWjJ6kKNARjnchGxeKRSq2/R6pgYufto+Aca7z9EANEeoDAqMrJJM20DFmYisRl7as5VlfakyiWDJ6GBoo8giBiFrasPapMgrnTb+x8VIkL535fAPRYQNPtUALa2BiMa9voZpMYrbxCL4GNLv7Zw2yDNMCDyvlUsoQytvShYDUcyMoszfp3hageS3LREo+KPjDmujCACoHb5MJuUnnXVLrOLyXbW678mSb7CSfbb8uGLbxNN8ctPz2KV0pcqFOTrIcaR+vZxpoHw8LhbTEv7THA0H15UEQGyzK9wAy+VjhgjsLcCXEDTocAAb61IwbxT0ZS+BUmHivJJqTWt5Pj0c2vhI3Fz+KxCNhfVyMKfht6trnjFvJ4RAkE/V6TD0AyQAP0CX5cAYnP4rlv7rklUc4nlAxqchCGmS/92RmspOdnQsl5PIo6ROkPHlL1j82uOOkT6Dg5tMGdBWPax4tWzyFsqss6Wy8WfBFzC4ZTvexBHacHetknZjHR4A3Rg1vh6a5UCd75XRkmcCvUvvZ2ZxG0EmLHDTjwMiaXSscV37CfK/UhTHyorxol8vNwl83tEyGoAy/sOiai70KfsyKr6jNu5vJSkO9sozqyyZ3Byk1kuluA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR10MB5780.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230022)(4636009)(396003)(366004)(39860400002)(136003)(376002)(346002)(451199015)(82960400001)(86362001)(41300700001)(6916009)(2906002)(38100700002)(6506007)(9686003)(44832011)(6666004)(1076003)(186003)(26005)(6512007)(53546011)(83380400001)(8676002)(66476007)(66946007)(66556008)(5660300002)(478600001)(316002)(4326008)(966005)(6486002)(8936002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?3uVRH/Pgs4hsopPIKqU24SvVJcnoiBre3jVBollSXHEYOgFKWrQJ3JRO0dxj?= =?us-ascii?Q?KLUfZ1k3/zOShvNufexfwg/2oz7SJHYx+5lE9zMSfyD/Th98jsF8Ae+TEW+f?= =?us-ascii?Q?vz7+B6iFYd6Jju/3Pq8YrxVAWIK3BDbDWFDwJ7qf4NIW+dLB0Xg9SZbI4gh8?= =?us-ascii?Q?vR201jy83ck/Gr90g+TGKdhbFkHN4e0qTqWRp8s9t7zS29GOUc09v3qi/w9S?= =?us-ascii?Q?PI+8moJNls3/WPx/lqMn8xvdoKbWgkwtrypDkrYjYIDYCDI1xURJV3tcSsQ4?= =?us-ascii?Q?Hqt0hU8K2xdVhwLe5m4Is+KVKpG/JoYKybch918WQYC2+60p1h8/WQ+oqd2y?= =?us-ascii?Q?HWYbHgx3ntrv3gDORjBpJNZaYYZ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dTuh8PjawRw51MWnoAt854kBwkUBaBmNBc+dlAPuXDE6hB4eR+iW2d3E9qKR?= =?us-ascii?Q?yNHM21Sr2V6X/ZLa3ZLJpUARsButgx16YUYxYvXv0Kr//J4rKLW0L1Tl+gtQ?= =?us-ascii?Q?Opd9wMkr/Q6fR1SsbmvaMFUcgVbz4zYNBonlhxS1nlb9jTtcKRaZa6NM1Vch?= =?us-ascii?Q?Bqxtdrf9/IARniybm35/+Yxymc1SICaFUecYtf0HYNXTKwEVurSXnoNW0H2E?= =?us-ascii?Q?F1ThO/6vVW6ezOMWELLB8JGLewsbtoQBmXa8uqoQaHsa0m7gptNC9dAF+51V?= =?us-ascii?Q?lrYks8EoHfP14VyQ+KFp9OwFAnBW6rvgyJ6GqBMh2wHQyT7ROWT7bnqrxpvO?= =?us-ascii?Q?4g=3D=3D?= X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: a42bfbcc-0634-40de-d430-08dac33dcba2 X-MS-Exchange-CrossTenant-AuthSource: PA4PR10MB5780.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2022 17:05:40.4599 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: YeztCI41EMGgCWf3QfXC4CxTBWQ2I7Fyo2lfy10EuQBzkjGXcUeGaVYyN1H2CGFhe25W0uBBCZ9psJgJfd/M0NGYd1G52Zfg6RAY74zjSPk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR10MB3698 X-TUID: GucuLrnkV+gO Am Thu, 10 Nov 2022 18:30:58 +0200 schrieb Henning Schild : > Hey Balasubramanian, > > you are making some fundamental mistakes here so that is why people > might not want to help you or would not know how to do so. > > When you have a question for help please formulate it clearly and > give some context. You just want to install a debian package in your > image, use IMAGE_PREINSTALL. > You have to modify/rebuild that package ... check out the hello > example and use IMAGE_INSTALL. > > So say you can just use the meta-package "bluetooth" you can have a > look at this part of the docs. > https://github.com/ilbers/isar/blob/master/doc/user_manual.md#create-a-custom-image-recipe I used plain isar, added "IMAGE_PREINSTALL += "bluetooth"" to the end of meta-isar/recipes-core/images/isar-image-base.bb and did build it with "bitbake mc:qemuamd64-bullseye:isar-image-base". I booted it with qemu-system-x86_64 -smp 2 -enable-kvm -M q35 -m 2G -snapshot build/tmp/deploy/images/qemuamd64/isar-image-base-debian-bullseye-qemuamd64.wic -bios /usr/share/OVMF/OVMF_CODE.fd Works as expected. Well i have the packages like "bluez" installed ... Of cause in a real project one would create a layer with an own image recipe and add the line there. Henning > And consider giving this whole manual a read. It is not the best and > maybe not all clear when you read it first. But over time it should > make sense. > > That said. Please avoid these mistakes: > > - taking over a random discussion to talk about something totally > different, rather open a new one > - send debug output as screenshots ... they are hard to read and cite > (they all have the same name), and you leak stuff like the model of > your cell phone, or that your firmware is "Music" ... send the > relevant bits as text and say how you got there. Without your recipe > or change it is really hard to put your errors into any context. > the last one looks like you modified the image recipe of the cip > layer and added bluez as IMAGE_INSTALL where it should have been > IMAGE_PREINSTALL > - do not send html mails > - do not include CONFIDENTIALITY disclaimers, your mails are super > public so that does not make any sense > > regards, > Henning > > Am Thu, 10 Nov 2022 16:21:18 +0530 > schrieb Balasubramanian Sundaram > : > > > Thank you for the clarification. > > > > but iam getting following error can you tell what it can be > > [image: image.png] > > > > Regards > > > > On Thu, Nov 10, 2022 at 3:58 PM Anton Mikanovich > > wrote: > > > > > 10.11.2022 13:17, Balasubramanian Sundaram wrote: > > > > > > Hi Anton > > > > > > Iam getting this error for bluez > > > [image: image.png] > > > > > > Thanks & Regards > > > > > > Sorry, I've meant IMAGE_PREINSTALL, not IMAGE_INSTALL. > > > IMAGE_PREINSTALL should be used for any package from external > > > repos. IMAGE_INSTALL should be used in case you will rebuild the > > > package from repo with your custom recipe. > > > > > > hello.bb is located in Isar examples: > > > > > > https://github.com/ilbers/isar/blob/master/meta-isar/recipes-app/hello/hello.bb > > > > > > > >