File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -41,10 +41,13 @@ static bool parseOsRelease(const char* fileName, FFOSResult* result)
4141// Common logic for detecting Armbian image version
4242FF_MAYBE_UNUSED static bool detectArmbianVersion (FFOSResult * result )
4343{
44- if (ffStrbufStartsWithS (& result -> prettyName , "Armbian " )) // Official Armbian release images
44+ // Possible values `PRETTY_NAME` starts with on Armbian:
45+ // - `Armbian` for official releases
46+ // - `Armbian_community` for community releases
47+ // - `Armbian_Security` for images with kali repo added
48+ // - `Armbian-unofficial` for an unofficial image built from source, e.g. during development and testing
49+ if (ffStrbufStartsWithS (& result -> prettyName , "Armbian" ))
4550 ffStrbufSetS (& result -> name , "Armbian" );
46- else if (ffStrbufStartsWithS (& result -> prettyName , "Armbian-unofficial " )) // Unofficial Armbian image built from source
47- ffStrbufSetS (& result -> name , "Armbian (custom build)" );
4851 else
4952 return false;
5053 ffStrbufSet (& result -> idLike , & result -> id );
You can’t perform that action at this time.
0 commit comments