Skip to content

Commit

Permalink
change SBLIVE partitons size to 2GB
Browse files Browse the repository at this point in the history
  • Loading branch information
chaeya committed Apr 18, 2021
1 parent a0200c3 commit 5e77b9b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
systemback (1.9.4hamonikr6) jin; urgency=low

* Update systemback/systemback.cpp
- change SBLIVE partitons size to 2GB
- fix #5 - https://github.com/hamonikr/systemback/issues/5

-- HamoniKR <[email protected]> Fri, 16 Apr 2021 16:20:48 +0900

systemback (1.9.4hamonikr5) jin; urgency=low

* Update systemback/systemback.cpp
Expand Down
4 changes: 2 additions & 2 deletions systemback/systemback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2645,9 +2645,9 @@ void systemback::livewrite()
}
else
{
// change to 300MB : 314572800 byte
// change to 2GB : 2147483648 byte
// if(! (sb::mkpart(ldev, 1048576, 104857600) && sb::mkpart(ldev)) || intrrpt) return err(338);
if(! (sb::mkpart(ldev, 1048576, 314572800) && sb::mkpart(ldev)) || intrrpt) return err(338);
if(! (sb::mkpart(ldev, 1048576, 2147483648) && sb::mkpart(ldev)) || intrrpt) return err(338);
sb::delay(100);
// if(sb::exec("mkfs.ext2 -FL SBROOT " % ldev % (ismmc ? "p" : nullptr) % '2') || intrrpt) return err(338);
if(sb::exec("mkfs.ext4 -FL SBROOT " % ldev % (ismmc ? "p" : nullptr) % '2') || intrrpt) return err(338);
Expand Down

0 comments on commit 5e77b9b

Please sign in to comment.