diff options
author | rickwu4444 <rick.wu@canonical.com> | 2022-09-05 11:49:07 +0800 |
---|---|---|
committer | rickwu4444 <rick.wu@canonical.com> | 2022-09-05 11:49:07 +0800 |
commit | 1c9436c3521202b7db7ea67252ee0f5c7f95664d (patch) | |
tree | 2ef5bcc2b6a916a917be6c48818f2b86467a8e2b | |
parent | e91c58d194896b7df83ed9e2108cfa199b26099b (diff) |
Fix: sd insert for classic image lp1979698
Since sd card won't auto mount in classic image. Need add parameter --unmounted for this kind of scenario
-rw-r--r-- | units/mediacard/jobs.pxu | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/units/mediacard/jobs.pxu b/units/mediacard/jobs.pxu index 2d6aa83..1084fab 100644 --- a/units/mediacard/jobs.pxu +++ b/units/mediacard/jobs.pxu @@ -76,7 +76,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher insertion mediacard {%- else %} - removable_storage_watcher.py --memorycard insert sdio usb scsi + removable_storage_watcher.py --memorycard insert sdio usb scsi --unmounted {% endif -%} imports: from com.canonical.plainbox import manifest requires: @@ -124,7 +124,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher removal mediacard {%- else %} - removable_storage_watcher.py --memorycard remove sdio usb scsi + removable_storage_watcher.py --memorycard remove sdio usb scsi --unmounted {% endif -%} user: root _summary: Test that removal of an SD card is detected @@ -179,7 +179,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher insertion mediacard {%- else %} - removable_storage_watcher.py --memorycard insert sdio usb scsi + removable_storage_watcher.py --memorycard insert sdio usb scsi --unmounted {% endif -%} imports: from com.canonical.plainbox import manifest requires: @@ -228,7 +228,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher removal mediacard {%- else %} - removable_storage_watcher.py --memorycard remove sdio usb scsi + removable_storage_watcher.py --memorycard remove sdio usb scsi --unmounted {% endif -%} user: root _summary: Test that removal of an SDHC card is detected @@ -321,7 +321,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher insertion mediacard {%- else %} - removable_storage_watcher.py --memorycard insert sdio usb scsi + removable_storage_watcher.py --memorycard insert sdio usb scsi --unmounted {% endif -%} imports: from com.canonical.plainbox import manifest requires: @@ -369,7 +369,7 @@ command: {%- if __on_ubuntucore__ %} checkbox-support-run_watcher removal mediacard {%- else %} - removable_storage_watcher.py --memorycard remove sdio usb scsi + removable_storage_watcher.py --memorycard remove sdio usb scsi --unmounted {% endif -%} user: root _summary: Test that removal of an SDXC card is detected |