Skip to content

Commit

Permalink
Added new software category
Browse files Browse the repository at this point in the history
  • Loading branch information
Fulgurance committed Nov 28, 2024
1 parent 44e2b38 commit 1b3f340
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
31 changes: 31 additions & 0 deletions ISM/PackagedSoftware.cr
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
module ISM

#EXPERIMENTAL
class PackagedSoftware < ISM::Software

def prepare
end

def configure
end

def build
end

def prepareInstallation
super

filesList = Dir.glob(workDirectoryPathNoChroot, match: :dot_files)

filesList.each do |entry|

finalDestination = "/#{entry.sub(builtSoftwareDirectoryPathNoChroot,"")}"

moveFileNoChroot(entry,finalDestination)

end
end

end

end
1 change: 1 addition & 0 deletions RequiredLibraries.cr
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ require "./ISM/Software"
require "./ISM/SystemCallRecord"
require "./ISM/TaskBuildingProcessError"
require "./ISM/KernelSoftware"
require "./ISM/PackagedSoftware"
require "./ISM/SemiVirtualSoftware"
require "./ISM/PythonPackageSoftware"
require "./ISM/VirtualSoftware"
Expand Down

0 comments on commit 1b3f340

Please sign in to comment.