Skip to content

Commit 8d4aaa1

Browse files
committed
modules/release: fix lineage oatMetadata rom size
1 parent 297bdd8 commit 8d4aaa1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/release.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ in
195195
cat ${otaMetadata} > ${config.device}-${config.channel}
196196
''}
197197
${optionalString (config.apps.updater.flavor == "lineageos") ''
198-
sed -e "s:ROM_SIZE:$(du -b ${ota.name}):" ${otaMetadata} > ${config.device}.json
198+
sed -e "s:\"ROM_SIZE\":$(du -b ${ota.name}|cut -f1):" ${otaMetadata} > ${config.device}.json
199199
''}
200200
''; }));
201201
};

0 commit comments

Comments
 (0)