[-]
[+]
|
Changed |
_service:tar_git:droid-config-h8416.spec
|
|
[-]
[+]
|
Changed |
_service
^
|
@@ -6,4 +6,4 @@
<param name="token"/>
<param name="debian">N</param>
<param name="dumb">N</param>
-</service><!-- Bump Config: 2021-09-19 10:36:39 --></services>
\ No newline at end of file
+</service><!-- Bump Config: 2021-09-21 22:41:39 --></services>
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:droid-config-h8416-0.7.1.tar.bz2/jolla-configuration-tama.inc
^
|
@@ -152,4 +152,16 @@
%description
Meta package to install packages for %{rpm_device} configurations
+%post
+if [ ! -f /etc/sailfish-device-encryption-community/config.ini ]; then
+ if /usr/sbin/lvdisplay sailfish/home > /dev/null 2>&1 ; then
+ echo "Converting storage configuration"
+ mkdir -p /etc/sailfish-device-encryption-community
+ (/usr/sbin/lvrename sailfish/home sailfish/home_open && \
+ echo '[home_device]' > /etc/sailfish-device-encryption-community/config.ini && \
+ echo 'state=plain' >> /etc/sailfish-device-encryption-community/config.ini && \
+ sed -i '/\/home/d' /etc/fstab) || echo 'Failed to update to new storage configuration, please reflash'
+ fi
+fi
+
%files
|