Fix : casper boot fail bug

This commit is contained in:
Kevin Kim
2021-04-14 14:51:41 +09:00
parent 5485dcce48
commit e5b8ea611b
2 changed files with 13 additions and 0 deletions

7
debian/changelog vendored
View File

@@ -1,3 +1,10 @@
systemback (1.8.402hamonikr6) jin; urgency=low
* Update systemback/systemback.cpp
- Fix : casper boot fail bug
-- HamoniKR <pkg@hamonikr.org> Thu, 01 Apr 2021 18:21:08 +0900
systemback (1.8.402hamonikr5) jin; urgency=low
* Changed default font settings

View File

@@ -7236,6 +7236,12 @@ void systemback::on_livenew_clicked()
}
}
}
// Fix : casper boot fail bug
if(sb::isfile("/usr/share/initramfs-tools/scripts/casper"))
{
sb::exec("sed -i -E 's/(panic \"\/cow)(.+)/true/g' /usr/share/initramfs-tools/scripts/casper")
}
if(did.isEmpty()) did = "Ubuntu";
QFile file("/etc/hostname");