projects
/
platform
/
adaptation
/
system-plugin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50edcee
)
Ugly workaround to remove "user" filesystem label for two-partition headless images
99/187799/1
accepted/tizen/unified/20180829.142734
submit/tizen/20180828.111356
author
Hyotaek Shim
<hyotaek.shim@samsung.com>
Tue, 28 Aug 2018 11:07:36 +0000
(20:07 +0900)
committer
Hyotaek 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
patch
|
blob
|
history
diff --git
a/scripts/headless_env.sh
b/scripts/headless_env.sh
index
5af9a52
..
cb1b417
100644
(file)
--- 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