-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for missing build.prop on LOS15
Fix #36
- Loading branch information
1 parent
75aed4f
commit 32ae382
Showing
1 changed file
with
18 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32ae382
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Null coalescing operator was added only in PHP 7 as syntactic sugar.
I have just installed your LineageOTA on my Raspberry Pi 3 Raspbian 8 Jessie, and in the repos there's just php5-5.6.33, which throws Syntax error: unexpected '?' at line 79 Build.php.
Do I get a fresh PHP for Debian armhf or should I rewrite your code without language knowledge?
32ae382
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be honest I don't see why I should "downgrade" my code to PHP 5.6 because of that, PHP 7.x is anyway considered a standard around. For that I would suggest to Google around. Maybe this can help you too https://raspberrypi.stackexchange.com/questions/70388/how-to-install-php-7-1
32ae382
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for nagging, I actually found how to install fresh php7 packages from stretch onto jessie using some manual on teh webs. My server is up and running at http://altracer.onthewifi.com/LineageOTA/ with api, which wasn't exactly obvoius to enable either. Now I only need some means to create delta updates.
32ae382
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice :) I'm happy it worked. Enjoy!