Commit Graph

14 Commits

Author SHA1 Message Date
Jay Larson
915fb3e1f0 The following changes were made:
* snapinstall now has template system
  * added code to symlink modules to different compatible kernel versions
  * snap will now detect if kernel or module package
  * snap remove should clean up directories not in snap-base
  * snap now exports $VERSION for usher
  * snap verify now works - will verify all installed files for package
  * a number of other small fixes and tweaks
2018-04-06 12:42:17 -05:00
Jay Larson
6b62f87bf6 The following changes were made:
* Cleaned up some output and variable assignments
  * Added additional error handling/output
  * Implemented 'source' command (git clones)
  * More variable requirements for Makefile.snaplinux
  * Package.pm is now more sane in dealing with the package object
  * Added chroot/fakechroot (will likely need further tweaking!)
  * Improved locking
  * Added ability to use templates for snapinstall (will be expanded!)
2018-01-17 09:25:06 -06:00
Jay Larson
d4baa191d6 Declared $pid in snapinstall 2017-06-02 18:54:55 -05:00
Jay Larson
98c0ab336f The following changes were made:
* Updated Makefile.snaplinux to be more flexible with package names
  * Added bit to set root password in snapinstall
2017-06-02 18:49:47 -05:00
Jay Larson
cdbf4ed7d5 The following changes were made:
* Added ability to dump contents of package
  * Wrapped open3 in eval in Package.pm files()
  * Added :flock to Fcntl in Snap.pm
  * Added lock file to Snap.pm
  * Moved setup() under conditionals where appropriate in snap
2017-06-01 10:39:51 -05:00
Jay Larson
bfa1d110c4 The following changes were made
* Updated Makefile to get version from Snap.pm
  * Updated virtfs() in Snap.pm to properly check for dir with -d
2017-05-31 10:54:33 -05:00
Jay Larson
d306fe03ae The following changes were made:
* corrected issue in reinstall that prevented reinstall of package files
  * added version command
  * updated files() in Package.pm to accept both quiet and verbose options
  * added sha() to Snap.pm which will be used for verify function in future
  * corrected missing '=' in output for search() in Sources.pm
  * removed duplicate file (SRC/snapinstall)
2017-05-26 15:48:52 -05:00
Jay Larson
319401eb51 Corrected issue in assignment to $(SNAP) in Makefile.snaplinux 2017-05-22 14:46:14 -05:00
Jay Larson
4cd5b95d7e The following changes were made:
* Added snapinstall (missed on last check in)
  * Added reinstall functionality to snap
2017-05-22 14:15:38 -05:00
Jay Larson
6a9cce6b3f The following changes were made:
* removed usher
  * various cleanup in output
  * corrected issues with usher() in Package.pm, now using fork()/exec()
  * added snapinstall
  * made virtfs() more robust, will still attempt if fails
  * made strip a little more thoughtful in Makefile.snaplinux
2017-05-22 10:43:07 -05:00
Jay Larson
47dfb92801 Completely re-written to be more modular (hopefully easier to follow):
* Separated logic in Snap.pm, Commands.pm, Package.pm, and Sources.pm
  * Removed usher creation of directory structure (now in files.tar.gz)
  * Files like /etc/passwd now handled by snap-base
2017-05-17 10:27:15 -05:00
Jay Larson
997a8d69b5 - Moved away from versioned directory for better tracking
- Modified usher to set root password if not already set
 - Modified snap to deal with circular dependencies properly
 - Now snap properly checks exit value for usher postinst
2016-11-04 08:32:24 -05:00
Jay Larson
388430ed37 Fixed part that cleans up files from a replaced package 2016-10-31 13:53:18 -05:00
Jay Larson
d00d644fd5 First check in 2016-10-24 06:24:10 -05:00