summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyotaek Shim <hyotaek.shim@samsung.com>2018-08-28 20:07:36 +0900
committerHyotaek Shim <hyotaek.shim@samsung.com>2018-08-28 20:11:18 +0900
commit36924d3b621645964f1cffbdfdb0bdc93ee33f57 (patch)
tree561a24674f5ff1ec856314ba008d535cb1050bad
parent50edceef0dae5772a8a485dad60e3a964fd92525 (diff)
downloadsystem-plugin-36924d3b621645964f1cffbdfdb0bdc93ee33f57.tar.gz
system-plugin-36924d3b621645964f1cffbdfdb0bdc93ee33f57.tar.bz2
system-plugin-36924d3b621645964f1cffbdfdb0bdc93ee33f57.zip
Ugly workaround to remove "user" filesystem label for two-partition headless imagessubmit/tizen/20180828.111356accepted/tizen/unified/20180829.142734
Change-Id: I9ab8f364cef4fe103d14789e87bc5e3d9d285322 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
-rw-r--r--scripts/headless_env.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/headless_env.sh b/scripts/headless_env.sh
index 5af9a52..cb1b417 100644
--- a/scripts/headless_env.sh
+++ b/scripts/headless_env.sh
@@ -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