File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -175,6 +175,17 @@ FF_MAYBE_UNUSED static bool detectDebianDerived(FFOSResult* result)
175175        ffStrbufSetNS (& result -> versionID , versionEnd  -  versionStart , result -> prettyName .chars  +  versionStart );
176176        return  true;
177177    }
178+     else  if  (ffStrbufStartsWithS (& result -> prettyName , "Armbian-unofficial " )) // Unofficial Armbian image built from source 
179+     {
180+         ffStrbufSetS (& result -> name , "Armbian (custom build)" );
181+         ffStrbufSetS (& result -> id , "armbian" );
182+         ffStrbufSetS (& result -> idLike , "debian" );
183+         ffStrbufClear (& result -> versionID );
184+         uint32_t  versionStart  =  ffStrbufFirstIndexC (& result -> prettyName , ' ' ) +  1 ;
185+         uint32_t  versionEnd  =  ffStrbufNextIndexC (& result -> prettyName , versionStart , ' ' );
186+         ffStrbufSetNS (& result -> versionID , versionEnd  -  versionStart , result -> prettyName .chars  +  versionStart );
187+         return  true;
188+     }
178189    else  if  (ffStrbufStartsWithS (& result -> name , "Loc-OS" ))
179190    {
180191        ffStrbufSetS (& result -> id , "locos" );
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments