Issues with state scripts in directory-artifact-gen

What is the ‘script’ in ’ -T script ’ on the code:

mender-artifact write module-image -T script -n my-state_script-1.0 -t raspberrypi3 -o ~/Downloads/my-state_script-1.0.mender -f ~/Downloads/do_nothing.sh -s ~/Downloads/ArtifactInstall_Enter_01_User_Confirmation-v2.py

??

Hi there.

The directory-artifact-gen doesn’t recognize the -s option for running the python script. Can you help ?

Can you please elaborate what you are trying to do and what issues you are experiencing?

What is the ‘script’ in ’ -T script ’ on the code:

You can see a description of the flags by running mender-artifact write module-image --help