diff options
Diffstat (limited to 'recipes-sota/ostree-initrd/files/init.sh')
-rw-r--r-- | recipes-sota/ostree-initrd/files/init.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-sota/ostree-initrd/files/init.sh b/recipes-sota/ostree-initrd/files/init.sh index 806a7b1..1814ca3 100644 --- a/recipes-sota/ostree-initrd/files/init.sh +++ b/recipes-sota/ostree-initrd/files/init.sh | |||
@@ -29,10 +29,11 @@ get_ostree_sysroot() { | |||
29 | for opt in `cat /proc/cmdline`; do | 29 | for opt in `cat /proc/cmdline`; do |
30 | arg=`echo $opt | cut -d'=' -f1` | 30 | arg=`echo $opt | cut -d'=' -f1` |
31 | if [ $arg == "ostree_root" ]; then | 31 | if [ $arg == "ostree_root" ]; then |
32 | echo $opt | cut -d'=' -f2 | 32 | echo $opt | cut -d'=' -f2- |
33 | return | 33 | return |
34 | fi | 34 | fi |
35 | done | 35 | done |
36 | echo "LABEL=otaroot" | ||
36 | } | 37 | } |
37 | 38 | ||
38 | export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/lib/ostree | 39 | export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/lib/ostree |