mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-02 06:26:20 -04:00
Firmware deblobber: Fix mounting /firmware
This commit is contained in:
parent
35a449dc82
commit
557d18a471
5 changed files with 78 additions and 146 deletions
|
@ -96,7 +96,7 @@ export -f enhanceLocation;
|
|||
|
||||
enableZram() {
|
||||
cd $base$1;
|
||||
sed -i 's|#/dev/block/zram0|/dev/block/zram0|' fstab.* rootdir/fstab.* rootdir/etc/fstab.* &>/dev/null || true;
|
||||
sed -i 's|#/dev/block/zram0|/dev/block/zram0|' fstab.* root/fstab.* rootdir/fstab.* rootdir/etc/fstab.* &>/dev/null || true;
|
||||
echo "Enabled zram for $1";
|
||||
cd $base;
|
||||
}
|
||||
|
@ -104,7 +104,7 @@ enableZram() {
|
|||
enabledForcedEncryption() {
|
||||
cd $base$1;
|
||||
if [[ $1 != *"mako"* ]]; then
|
||||
sed -i 's|encryptable=/|forceencrypt=/|' fstab.* rootdir/fstab.* rootdir/etc/fstab.* &>/dev/null || true;
|
||||
sed -i 's|encryptable=/|forceencrypt=/|' fstab.* root/fstab.* rootdir/fstab.* rootdir/etc/fstab.* &>/dev/null || true;
|
||||
echo "Enabled forceencrypt for $1";
|
||||
fi;
|
||||
cd $base;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue