From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7314741691990147072 X-Received: by 2002:ac2:4db5:0:b0:50e:6249:b3db with SMTP id h21-20020ac24db5000000b0050e6249b3dbmr87187lfe.34.1703144434039; Wed, 20 Dec 2023 23:40:34 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:1249:b0:50b:f400:a010 with SMTP id fb9-20020a056512124900b0050bf400a010ls123680lfb.1.-pod-prod-00-eu; Wed, 20 Dec 2023 23:40:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IFJ9+FnQ7zC9VKc46QBoZ2XVV+2Si6/lBogrrMvllDf5mVMpezyAR2vpH6khaRjjsPAhKB4 X-Received: by 2002:a05:6512:38c1:b0:50e:5770:718b with SMTP id p1-20020a05651238c100b0050e5770718bmr186351lft.11.1703144431987; Wed, 20 Dec 2023 23:40:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703144431; cv=none; d=google.com; s=arc-20160816; b=pU8l0LltJ4hCUx3cjhx4/I82ieJhN04tTCWQ5f0tACH9Xnqjxn9BYbgDeW+4Hn/RfZ gtsmwowj261/FqUv81fuqafbtgsUJOeH+5vpR79SoVAiCjRxzETM/vTJzRK46tfxQVVJ j6DrULDBzzznSZsexrqPc8ocVr7Xg9tMOCA89eni3hks1t5U5SqDjct+qroGSKG2jcWN J+wIxidXktQluFQS6iMCCoYFDV81f0btxY0mc+UfwCXAViQjQQalG8naraAaBjQxqasB ZxtWvgMj4a0bXB4ubAovkCkQMSUYHsdxJc2tti3NqiEntugq75LR0PbNPndLEcj7i/1/ T8fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id; bh=t2j1FcX0CpSTCEVIy9hOHmCWJz39QIMBGW+Ur0lp5Bc=; fh=Zqm0RoSkHxW/SINV31aMVghmEP+sWLM36SJfyGunOdw=; b=aW8MySCy5vcM/SinljDPiEjvj9bN1lb1/M8G5Ryk8T60DzAiETmiC0LwfZh2w+bDn4 H3kA+o5nwgKAnMSWeHOjjth3sak3Pdg7C8/Bk83QrUqc+r9022v/3sefYDq5RPV6qxEJ nMiDsd9dzB3RHRx62qBTF6a6a0QnyP9nTUr7LNRkAOABhd2W6UqsKPeYVseIMCXs/kch HJjAhjU27zXQo8jI30zFV6F2CnnytNtkI8Oscwv1wLAj4Xrm4emIMiebreUl7mqR4NRF TJ8iW1NsW5yRmQRLz6oc6xc5GguNwFlCDBZUvhMNKAH9f9je1YK3ksOnK7RPRmRgO+Gx OhNA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id b20-20020a2e8954000000b002cc6ea2241dsi56555ljk.1.2023.12.20.23.40.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Dec 2023 23:40:31 -0800 (PST) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 3BL7eSl8032084 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 08:40:29 +0100 Message-ID: Date: Thu, 21 Dec 2023 09:40:27 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Create iso image using the wic script in the isar package To: John W , isar-users References: <579b2dfb-82bd-43a5-ab29-fa6083b299e9n@googlegroups.com> Content-Language: en-US, ru-RU From: Anton Mikanovich In-Reply-To: <579b2dfb-82bd-43a5-ab29-fa6083b299e9n@googlegroups.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED 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: JPI7oC0IZUBf 20/12/2023 19:56, John W wrote: > Hi, > > I was able to create a custom image in wic format with isar and now > trying to create a bootable iso image. I found the wic script in the > isar package and attempted to run with the command: > wic create mkhybridiso -e isar-image-base > > However I got the following error: > INFO: Building wic-tools... > > Loading cache: 100% > |#######################################################################################################################################################| > Time: 0:00:00 > Loaded 4751 entries from dependency cache. > ERROR: Nothing PROVIDES 'wic-tools' > > Summary: There was 1 ERROR message, returning a non-zero exit code. > Traceback (most recent call last): >   File "/home/ubuntu/workspace/isar/scripts/wic", line 547, in >     sys.exit(main(sys.argv[1:])) >   File "/home/ubuntu/workspace/isar/scripts/wic", line 542, in main >     return hlp.invoke_subcommand(args, parser, hlp.wic_help_usage, > subcommands) >   File "/home/ubuntu/workspace/isar/scripts/lib/wic/help.py", line 83, > in invoke_subcommand >     subcmd[0](args, usage) >   File "/home/ubuntu/workspace/isar/scripts/wic", line 167, in > wic_create_subcommand >     subprocess.check_call(["bitbake", "wic-tools"]) >   File "/usr/lib/python3.10/subprocess.py", line 369, in check_call >     raise CalledProcessError(retcode, cmd) > subprocess.CalledProcessError: Command '['bitbake', 'wic-tools']' > returned non-zero exit status 1. > > Is there any suggestion on how to resolve this issue? > > Thanks! Hello John, As you can see in generate_wic_image() task code, Isar supposed to call WIC script inside special chroot environment. You can take this task as a reference to create you own task with additional imager_run call of custom WIC command. P.S. WIC script was brought from OpenEmbedded which really has wic-tools.bb recipe. Isar don't have such a recipe, so this fallback is not working.