<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Running Secure Provisioning Tool Installer V9 in Github Workflow Fails During Post Install Scrip in MCUXpresso Secure Provisioning Tool</title>
    <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Running-Secure-Provisioning-Tool-Installer-V9-in-Github-Workflow/m-p/1996997#M463</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;the issue with the mime errors in the console are IMHO caused by previous state of the VM/PC.&lt;/P&gt;
&lt;P&gt;SEC just installs its own mime definition and it triggers OS to re-create the cache of all mime XML files. If there are some issues, they are reported, but not caused by SEC. It also does not have any impact on SEC installation or execution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW, does your CLI use case work in GitHub?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Libor&lt;/P&gt;</description>
    <pubDate>Tue, 19 Nov 2024 09:06:06 GMT</pubDate>
    <dc:creator>liborukropec</dc:creator>
    <dc:date>2024-11-19T09:06:06Z</dc:date>
    <item>
      <title>Running Secure Provisioning Tool Installer V9 in Github Workflow Fails During Post Install Script</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Running-Secure-Provisioning-Tool-Installer-V9-in-Github-Workflow/m-p/1996819#M457</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am attempting to run the MCUXpresso Secure Provisioning Tool V9 in order to build a downloadable/bootable and signed F/W image inside a private github repository workflow.&amp;nbsp; In order to do this, I need to install the Secure Provisioning Tool (V9.0.1) in my workflow.&amp;nbsp;&lt;/P&gt;&lt;P&gt;During the post installation script, the installer always fails copying mime type files, and the specific mime file that fails always is different but the same "failure to copy" error happens.&amp;nbsp; The Secure Provision tool then runs okay from the cached installation afterwards.&lt;BR /&gt;&lt;BR /&gt;Is there anything I can do about this ?&amp;nbsp; The installer works okay in a linux desktop.&amp;nbsp; This is the resulting output from the workflow log of the MCUXpresso Secure Provisioning Tool installer in github:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;##[debug]Loading env&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/terran-orbital-corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:30" href="https://github.com/Terran-Orbital-Corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:30" target="_blank" rel="noreferrer noopener"&gt;30&lt;/A&gt;Run cd nxp-mcuxpresso-secure-provisioning-tool-v9&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/terran-orbital-corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:31" href="https://github.com/Terran-Orbital-Corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:31" target="_blank" rel="noreferrer noopener"&gt;31&lt;/A&gt;&amp;nbsp; cd nxp-mcuxpresso-secure-provisioning-tool-v9&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/terran-orbital-corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:32" href="https://github.com/Terran-Orbital-Corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:32" target="_blank" rel="noreferrer noopener"&gt;32&lt;/A&gt;&amp;nbsp; # Install nxp-mcuxpresso secure provisioning tool&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/terran-orbital-corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:33" href="https://github.com/Terran-Orbital-Corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:33" target="_blank" rel="noreferrer noopener"&gt;33&lt;/A&gt;&amp;nbsp; &lt;STRONG&gt;sudo dpkg --install ./mcuxpresso-secure-provisioning-v9.0.1-1_amd64.deb&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/terran-orbital-corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:34" href="https://github.com/Terran-Orbital-Corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:34" target="_blank" rel="noreferrer noopener"&gt;34&lt;/A&gt;&amp;nbsp; shell: /usr/bin/bash -e {0}&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/terran-orbital-corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:35" href="https://github.com/Terran-Orbital-Corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:35" target="_blank" rel="noreferrer noopener"&gt;35&lt;/A&gt;&amp;nbsp; env:&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/terran-orbital-corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:36" href="https://github.com/Terran-Orbital-Corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:36" target="_blank" rel="noreferrer noopener"&gt;36&lt;/A&gt;&amp;nbsp; &amp;nbsp; TERM: xterm-256color&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/terran-orbital-corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:37" href="https://github.com/Terran-Orbital-Corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:37" target="_blank" rel="noreferrer noopener"&gt;37&lt;/A&gt;&amp;nbsp; &amp;nbsp; CACHE_KEY: 2d6abb4ec673a5a26a325ad3883cf487&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/terran-orbital-corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:39" href="https://github.com/Terran-Orbital-Corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:39" target="_blank" rel="noreferrer noopener"&gt;38&lt;/A&gt;##[debug]/usr/bin/bash -e /home/runner/work/_temp/4e417ae2-db01-4d92-a9fc-37c53df89bc2.sh&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/terran-orbital-corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:40" href="https://github.com/Terran-Orbital-Corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:40" target="_blank" rel="noreferrer noopener"&gt;39&lt;/A&gt;Selecting previously unselected package mcuxpresso-secure-provisioning-v9.&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/terran-orbital-corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:41" href="https://github.com/Terran-Orbital-Corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:41" target="_blank" rel="noreferrer noopener"&gt;40&lt;/A&gt;(Reading database ... 267222 files and directories currently installed.)&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/terran-orbital-corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:42" href="https://github.com/Terran-Orbital-Corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:42" target="_blank" rel="noreferrer noopener"&gt;41&lt;/A&gt;Preparing to unpack .../mcuxpresso-secure-provisioning-v9.0.1-1_amd64.deb ...&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/terran-orbital-corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:43" href="https://github.com/Terran-Orbital-Corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:43" target="_blank" rel="noreferrer noopener"&gt;42&lt;/A&gt;Unpacking mcuxpresso-secure-provisioning-v9 (9.0.1) ...&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/terran-orbital-corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:44" href="https://github.com/Terran-Orbital-Corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:44" target="_blank" rel="noreferrer noopener"&gt;43&lt;/A&gt;Setting up mcuxpresso-secure-provisioning-v9 (9.0.1) ...&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/terran-orbital-corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:45" href="https://github.com/Terran-Orbital-Corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:45" target="_blank" rel="noreferrer noopener"&gt;44&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/terran-orbital-corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:46" href="https://github.com/Terran-Orbital-Corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:46" target="_blank" rel="noreferrer noopener"&gt;&lt;STRONG&gt;45&lt;/STRONG&gt;&lt;/A&gt;&lt;STRONG&gt;Post-installation scripts:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A title="https://github.com/terran-orbital-corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:47" href="https://github.com/Terran-Orbital-Corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:47" target="_blank" rel="noreferrer noopener"&gt;46&lt;/A&gt;Processing triggers for shared-mime-info (2.1-2) ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/terran-orbital-corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:48" href="https://github.com/Terran-Orbital-Corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:48" target="_blank" rel="noreferrer noopener"&gt;&lt;STRONG&gt;47&lt;/STRONG&gt;&lt;/A&gt;&lt;STRONG&gt;Failed to rename /usr/share/mime/application/x-nintendo-ds-rom.xml.new as /usr/share/mime/application/x-nintendo-ds-rom.xml: No such file or directory&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/terran-orbital-corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:49" href="https://github.com/Terran-Orbital-Corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:49" target="_blank" rel="noreferrer noopener"&gt;48&lt;/A&gt;dpkg: error processing package shared-mime-info (--install):&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/terran-orbital-corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:50" href="https://github.com/Terran-Orbital-Corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:50" target="_blank" rel="noreferrer noopener"&gt;49&lt;/A&gt; installed shared-mime-info package post-installation script subprocess returned error exit status 1&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/terran-orbital-corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:51" href="https://github.com/Terran-Orbital-Corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:51" target="_blank" rel="noreferrer noopener"&gt;50&lt;/A&gt;Processing triggers for mailcap (3.70+nmu1ubuntu1) ...&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/terran-orbital-corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:52" href="https://github.com/Terran-Orbital-Corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:52" target="_blank" rel="noreferrer noopener"&gt;51&lt;/A&gt;Errors were encountered while processing:&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/terran-orbital-corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:53" href="https://github.com/Terran-Orbital-Corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:53" target="_blank" rel="noreferrer noopener"&gt;52&lt;/A&gt; shared-mime-info&lt;/P&gt;&lt;P&gt;&lt;A title="https://github.com/terran-orbital-corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:54" href="https://github.com/Terran-Orbital-Corporation/fsw-emb-m7-flst/actions/runs/11867863332/job/33179633258#step:12:54" target="_blank" rel="noreferrer noopener"&gt;53&lt;/A&gt;Error: Process completed with exit code 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 06:02:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Running-Secure-Provisioning-Tool-Installer-V9-in-Github-Workflow/m-p/1996819#M457</guid>
      <dc:creator>mjpovi</dc:creator>
      <dc:date>2024-11-19T06:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Running Secure Provisioning Tool Installer V9 in Github Workflow Fails During Post Install Scrip</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Running-Secure-Provisioning-Tool-Installer-V9-in-Github-Workflow/m-p/1996826#M458</link>
      <description>Please note that I am attempting to run the command-line mode of the Secure Provisioning tool to create a bootable image, not trying to use the GUI version of the tool in this instance.</description>
      <pubDate>Tue, 19 Nov 2024 06:06:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Running-Secure-Provisioning-Tool-Installer-V9-in-Github-Workflow/m-p/1996826#M458</guid>
      <dc:creator>mjpovi</dc:creator>
      <dc:date>2024-11-19T06:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Running Secure Provisioning Tool Installer V9 in Github Workflow Fails During Post Install Scrip</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Running-Secure-Provisioning-Tool-Installer-V9-in-Github-Workflow/m-p/1996827#M459</link>
      <description>Also, the following are installed as 'pre-requisite' libraries:&lt;BR /&gt;&lt;BR /&gt;# Install nxp-mcuxpresso secure provisioning tool dependencies&lt;BR /&gt;sudo apt-get -y install --reinstall shared-mime-info&lt;BR /&gt;sudo update-mime-database /usr/share/mime&lt;BR /&gt;sudo apt install libhidapi-dev&lt;BR /&gt;sudo apt install libsdl2-2.0-0</description>
      <pubDate>Tue, 19 Nov 2024 06:08:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Running-Secure-Provisioning-Tool-Installer-V9-in-Github-Workflow/m-p/1996827#M459</guid>
      <dc:creator>mjpovi</dc:creator>
      <dc:date>2024-11-19T06:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Running Secure Provisioning Tool Installer V9 in Github Workflow Fails During Post Install Scrip</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Running-Secure-Provisioning-Tool-Installer-V9-in-Github-Workflow/m-p/1996878#M461</link>
      <description>&lt;P&gt;&amp;nbsp;think we may have solved this in that we were missing some dependencies that were not installed beforehand...&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 06:57:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Running-Secure-Provisioning-Tool-Installer-V9-in-Github-Workflow/m-p/1996878#M461</guid>
      <dc:creator>mjpovi</dc:creator>
      <dc:date>2024-11-19T06:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Running Secure Provisioning Tool Installer V9 in Github Workflow Fails During Post Install Scrip</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Running-Secure-Provisioning-Tool-Installer-V9-in-Github-Workflow/m-p/1996997#M463</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;the issue with the mime errors in the console are IMHO caused by previous state of the VM/PC.&lt;/P&gt;
&lt;P&gt;SEC just installs its own mime definition and it triggers OS to re-create the cache of all mime XML files. If there are some issues, they are reported, but not caused by SEC. It also does not have any impact on SEC installation or execution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW, does your CLI use case work in GitHub?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Libor&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 09:06:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Running-Secure-Provisioning-Tool-Installer-V9-in-Github-Workflow/m-p/1996997#M463</guid>
      <dc:creator>liborukropec</dc:creator>
      <dc:date>2024-11-19T09:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Running Secure Provisioning Tool Installer V9 in Github Workflow Fails During Post Install Scrip</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Running-Secure-Provisioning-Tool-Installer-V9-in-Github-Workflow/m-p/1997431#M467</link>
      <description>&lt;P&gt;Hi and thank you very much for the response.&amp;nbsp; Yes, I am able to run the tool command line to create an unsigned bootable image.&amp;nbsp; I have yet to test signed F/W.&amp;nbsp; I use command-line arguments mostly, pointing to a workspace folder, while minimizing bd file usage.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 18:53:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Running-Secure-Provisioning-Tool-Installer-V9-in-Github-Workflow/m-p/1997431#M467</guid>
      <dc:creator>mjpovi</dc:creator>
      <dc:date>2024-11-19T18:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Running Secure Provisioning Tool Installer V9 in Github Workflow Fails During Post Install Scrip</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Running-Secure-Provisioning-Tool-Installer-V9-in-Github-Workflow/m-p/1998200#M471</link>
      <description>&lt;P&gt;My solution ended up being to install the MCUXpresso Secure Provisioning tool using different dpkg commands in order to skip running the dpkg post-installation script(s), as follows:&lt;BR /&gt;&lt;BR /&gt;sudo dpkg --unpack mcuxpresso-secure-provisioning-v9.0.1-1_amd64.deb&lt;BR /&gt;&lt;BR /&gt;This works so far [for building an unsigned image], assuming that strictly unpacking the tool itself is all that's necessary, and that the post-installation scripts aren't needed if the tool is used command-line only.&amp;nbsp; The MCUXpresso Secure Provisioning Tool's .postinst script appears to setup up MUCXpresso mime types and associations.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 19:07:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/Running-Secure-Provisioning-Tool-Installer-V9-in-Github-Workflow/m-p/1998200#M471</guid>
      <dc:creator>mjpovi</dc:creator>
      <dc:date>2024-11-20T19:07:20Z</dc:date>
    </item>
  </channel>
</rss>

