Class: FPM::Package::Empty

Inherits:
FPM::Package show all
Defined in:
lib/fpm/package/empty.rb

Overview

Empty Package type. For strict/meta/virtual package creation

Instance Attribute Summary

Attributes inherited from FPM::Package

#architecture, #attributes, #attrs, #category, #config_files, #conflicts, #dependencies, #description, #directories, #epoch, #iteration, #license, #maintainer, #name, #provides, #replaces, #scripts, #url, #vendor, #version

Instance Method Summary collapse

Methods inherited from FPM::Package

apply_options, #build_path, #cleanup, #cleanup_build, #cleanup_staging, #convert, #converted_from, default_attributes, #edit_file, #files, inherited, #initialize, #input, option, #script, #staging_path, #type, type, types

Methods included from Util

#ar_cmd, #ar_cmd_deterministic?, #copied_entries, #copy_entry, #copy_metadata, #default_shell, #execmd, #expand_pessimistic_constraints, #logger, #mknod_w, #program_exists?, #program_in_path?, #safesystem, #safesystemout, #tar_cmd, #tar_cmd_supports_sort_names_and_set_mtime?

Constructor Details

This class inherits a constructor from FPM::Package

Instance Method Details

#output(output_path) ⇒ Object



7
8
9
# File 'lib/fpm/package/empty.rb', line 7

def output(output_path)
  logger.warn("Your package has gone into the void.")
end

#to_s(fmt) ⇒ Object



10
11
12
# File 'lib/fpm/package/empty.rb', line 10

def to_s(fmt)
  return ""
end