Skip to content

Commit

Permalink
Removed previous update
Browse files Browse the repository at this point in the history
  • Loading branch information
Fulgurance committed Jul 2, 2024
1 parent 58897d4 commit 17546df
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions ISM/Software.cr
Original file line number Diff line number Diff line change
Expand Up @@ -78,28 +78,6 @@ module ISM
return String.new
end

def mainKernelVersion : String
settingInformation = ISM::SoftwareInformation.new
settingInformation.loadInformationFile(@information.settingsFilePath)

settingInformation.uniqueDependencies.each do |uniqueDependency|
uniqueDependency.each do |entry|

if settingInformation.uniqueDependencyIsEnabled(entry)

settingInformation.dependencies(allowDeepSearch: true).each do |dependency|
if dependency.fullName.downcase == entry.downcase
return dependency.version
end
end
end
end
end

#Exit and show a message that no kernel are selected ?
return String.new
end

def prepareKernelSourcesInstallation
makeDirectoryNoChroot("#{builtSoftwareDirectoryPathNoChroot}#{Ism.settings.rootPath}usr/src/")
moveFileNoChroot("#{workDirectoryPathNoChroot}/Sources","#{builtSoftwareDirectoryPathNoChroot}#{Ism.settings.rootPath}usr/src/#{@information.versionName.downcase}")
Expand Down

0 comments on commit 17546df

Please sign in to comment.