Ugly workaround to remove "user" filesystem label for two-partition headless images 99/187799/1 accepted/tizen/unified/20180829.142734 submit/tizen/20180828.111356
authorHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 28 Aug 2018 11:07:36 +0000 (20:07 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 28 Aug 2018 11:11:18 +0000 (20:11 +0900)
Change-Id: I9ab8f364cef4fe103d14789e87bc5e3d9d285322
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
scripts/headless_env.sh

index 5af9a52..cb1b417 100644 (file)
@@ -2,3 +2,9 @@ if [ "$XDG_RUNTIME_DIR" = "" ]
 then
 export XDG_RUNTIME_DIR=/run
 fi
+
+# Ugly workaround to remove "user" filesystem label for two-partition headless images
+if [ -e /dev/disk/by-label/user ]; then
+then
+e2label /dev/disk/by-label/user ''
+fi