installer: short evict wait on first-ever run

This commit is contained in:
SirHumza committed 2026-09-24 16:49:28 +02:00
1 parent 7eac8d3d9d
commit bbdc7d8238
3 files changed
+7 -2

No files matched your search

Binary file not shown.
+6 -1
View File
@@ -37,8 +37,13 @@ static void step_inject_body(void){
ui_progress_msg("Stopping old daemon (if any)...");
before = file_mtime(EVICT_RESULT);
if(send_file_loopback(EVICT_ELF, &port, NULL) == 0){
/* No prior result file means first-ever run (or wiped data):
* evict answers instantly there, so only wait briefly. An
* existing install gets the full grace period (clean stop is
* fast; a wedged holder needs the SIGKILL fallback window). */
int budget = (before == 0) ? 10 : 40;
int waited = 0;
while(waited < 40){
while(waited < budget){
sleep(2);
waited += 2;
if(file_mtime(EVICT_RESULT) != before) break;
+1 -1
View File
@@ -3,7 +3,7 @@
<volume>
<volume_type>pkg_ps4_app</volume_type>
<volume_id>PS4VOLUME</volume_id>
<volume_ts>2026-09-24 16:46:48</volume_ts>
<volume_ts>2026-09-24 16:49:26</volume_ts>
<package content_id="IV0000-ORPC00001_00-ORBISRPCSETUP000" passcode="00000000000000000000000000000000"
storage_type="digital50" app_type="full" />
<chunk_info chunk_count="1" scenario_count="1">