Add OOBE skip to action script (#582)
author최종헌/MDE Lab(SR)/삼성전자 <j-h.choi@samsung.com>
Fri, 15 Nov 2024 06:54:16 +0000 (15:54 +0900)
committerWoongsuk <ws77.cho@samsung.com>
Wed, 4 Jun 2025 06:51:58 +0000 (15:51 +0900)
Change-Id: I2e9779dc81dde5ab1039f884129c0b945d778bbc

.github/workflows/launcher-action.yml

index a4ccb5eaae28cd55da766515403ab25affb1b807..767d14366ef0e836eb4881adf6205061309ec155 100644 (file)
@@ -13,8 +13,19 @@ jobs:
       shell: bash
       run: |
         dude download -k > ./dude.log
-        sleep 60
-        sdb devices
+        sleep 100
+        if [ $(sdb get-state 2>/dev/null | grep -c "device") -eq 0 ]; then
+            echo "Device is not connected"
+        else
+            echo "Device is connected"
+            sdb devices
+            sdb -d root on
+            sdb -d shell osu --resize
+            sdb -d shell mount -o remount,rw /
+            sdb -d shell mount -o remount,rw /hal
+            sdb -d shell vconftool set -t bool db/setting/oobe 0 -f
+            echo "device 10000000d15e1aff is ready."
+        fi
       if: success()
 
   Tizen_Unified_armv7l_GBS_Build:
@@ -71,8 +82,10 @@ jobs:
       run: |
         sdb devices
         sdb -d root on
-        sdb -d shell mount -o remount,rw /
         sdb -d shell osu --resize
+        sdb -d shell mount -o remount,rw /
+        sdb -d shell mount -o remount,rw /hal
+        sdb -d shell vconftool set -t bool db/setting/oobe 0 -f
         echo "device 10000000d15e1aff is ready."
       if: success()
 
@@ -175,8 +188,10 @@ jobs:
       run: |
         sdb devices
         sdb -d root on
-        sdb -d shell mount -o remount,rw /
         sdb -d shell osu --resize
+        sdb -d shell mount -o remount,rw /
+        sdb -d shell mount -o remount,rw /hal
+        sdb -d shell vconftool set -t bool db/setting/oobe 0 -f
         echo "device 10000000d15e1aff is ready."
       if: success()
 
@@ -236,7 +251,10 @@ jobs:
         sleep 60
         sdb devices
         sdb -d root on
+        sdb -d shell osu --resize
         sdb -d shell mount -o remount,rw /
+        sdb -d shell mount -o remount,rw /hal
+        sdb -d shell vconftool set -t bool db/setting/oobe 0 -f
         echo "device 10000000d15e1aff is ready."
       if: success()