diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-04-26 15:21:11 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-04-26 15:25:26 +0200 |
commit | 3478ada718ac042ce9c0c261851645175066a11f (patch) | |
tree | f3d21622e1b295f295b7c2e99da1b9886709de41 | |
parent | 59246bbb10ecd21c66b69f78e3a095912f17a47d (diff) | |
download | vendor_replicant-3478ada718ac042ce9c0c261851645175066a11f.tar.gz vendor_replicant-3478ada718ac042ce9c0c261851645175066a11f.tar.bz2 vendor_replicant-3478ada718ac042ce9c0c261851645175066a11f.zip |
Don't run the key migration at each boot
As we got report of data corruption in the package.xml file with
that script, it is better not to run it at each boot.
The corruption probably comes from having the device being shut
down precisely between the 5 seconds in which it modifies the
packages.xml files, which leaves a temporary file and an empty
packages.xml.
To keep the code simple, we will do two releases: one that doesn't
run this script automatically and one that does.
This way users will install the one that does the migration and once
done they will install the final image.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r-- | prebuilt/common/etc/init.local.rc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/prebuilt/common/etc/init.local.rc b/prebuilt/common/etc/init.local.rc index 9c90c928..53f972c9 100644 --- a/prebuilt/common/etc/init.local.rc +++ b/prebuilt/common/etc/init.local.rc @@ -19,18 +19,11 @@ on init chmod 0664 /sys/fs/cgroup/bfqio/rt-display/tasks chmod 0220 /sys/fs/cgroup/bfqio/rt-display/cgroup.event_control -service keys-migration /system/bin/sh /system/bin/key-migration.sh - oneshot - seclabel u:r:sudaemon:s0 - disabled - on post-fs-data mkdir /data/ssh 0750 root shell mkdir /data/ssh/empty 0600 root shell mkdir /cache/recovery 0770 system cache - start keys-migration - # Run sysinit start sysinit |