mirror of
https://github.com/Dasharo/scripts.git
synced 2026-03-06 14:51:26 -08:00
dual-boot/GaOS: use same size partition for kern-C/sda6 for both LE and GaOS
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
This commit is contained in:
4
kodi.sh
4
kodi.sh
@@ -351,8 +351,8 @@ if [ "$ckern_size" = "1" -o "$croot_size" = "1" ]; then
|
||||
#calculate sector size for rootc
|
||||
rootc_size=$(($ubuntu_size*1024*1024*2))
|
||||
|
||||
#kernc is always 16mb
|
||||
kernc_size=32768
|
||||
#kernc is always 512mb
|
||||
kernc_size=1024000
|
||||
|
||||
#new stateful size with rootc and kernc subtracted from original
|
||||
stateful_size=$(($state_size - $rootc_size - $kernc_size))
|
||||
|
||||
Reference in New Issue
Block a user