Commit Graph

93 Commits

Author SHA1 Message Date
Drew Bonasera 6969b930eb
Merge pull request #126 from framps/other_zip_tools
Support to compress final pishrink image by using parallel compression feature of gzip and xz
2020-04-19 16:24:56 -04:00
framp 547f73f71c
Merge pull request #1 from OmegaSquad82/patch-1
Update README.md
2020-03-01 19:34:46 +01:00
OmegaSquad82 f337674f58
Update README.md 2020-03-01 19:22:52 +01:00
framp d80d48a645 Minor code cleanup and README update 2020-02-29 14:52:35 +01:00
framp b4db6c1a64 Patch from OmegaSquad82 2020-02-27 16:42:43 +01:00
framp fda7a38ba1 Updated README 2020-02-07 17:47:09 +01:00
framp c7d74a73e7 Use -Z and -z instead of -i and use pigz now 2020-02-07 17:30:38 +01:00
framp ab32008981 Added support for gzip and xz only 2020-02-07 16:49:22 +01:00
framp 965fc206d7
Fixed typo 2020-01-12 10:28:33 +01:00
framp 7515ee5631 Updated README 2020-01-12 10:23:22 +01:00
framp 3a931ddb73 Updated README 2020-01-11 15:24:52 +01:00
framp 4ed3162284 Initial version which supports addl zip tools 2020-01-11 15:21:54 +01:00
framp 9de4f53b96 Added some more dbug logs 2020-01-09 13:21:55 +01:00
Drew Bonasera 4f61a3244a
Merge pull request #123 from daveilers/daveilers-sysprep-1
Add sysprep-ish steps
2020-01-05 23:04:04 -05:00
daveilers 74b106e763
Add sysprep-ish steps
Add an option to remove logs, apt archives, dhcp client leases and ssh hostkeys from image while shrinking.
2020-01-03 09:49:25 -08:00
Drew Bonasera 83eb694145
Merge pull request #112 from wfroemgen/patch-2
deleted option "p" from usage example
2019-12-03 16:51:27 -05:00
Drew Bonasera de507888ad
Merge pull request #113 from wfroemgen/patch-1
deleted option "p" from usage example
2019-12-03 16:50:57 -05:00
wfroemgen 6de66c2605
Update README.md
deleted option "p" from usage example
2019-10-28 09:46:29 +01:00
wfroemgen 054f6c7902
Update pishrink.sh
deleted option "p" from usage example
2019-10-28 09:44:41 +01:00
Drew Bonasera 17346f5d02 Update docs 2019-08-27 04:15:31 -04:00
Drew Bonasera 20ae97d2bc Add gzip option 2019-08-27 03:52:43 -04:00
Drew Bonasera 97b9a5db39 Make pishrink always try to repair the filesystem
There were far too many people having to repair the filesystems by hand. Since the image would be mostly unusable anyway, I feel confident doing it on the image without copying.
2019-08-27 01:13:11 -04:00
Drew Bonasera 27f8780508 Add double quote to prevent globbing and word splitting 2019-08-27 01:11:27 -04:00
Drew Bonasera 562142b841 Merge branch 'offer_filesystem_repair_option' of https://github.com/framps/PiShrink 2019-08-26 23:35:15 -04:00
Drew Bonasera 95f4839152
Merge pull request #108 from framps/issue84
Fixed issue #84
2019-08-26 01:22:52 -04:00
framp cfe5cc5534 Fixed issue #84 2019-08-23 15:46:45 +02:00
framp 1dfe90f650 Added additional e2fscks with option -r and -p 2019-07-30 15:33:33 +02:00
Drew Bonasera cbd4720ea9
Merge pull request #75 from framps/debug
Add debug infrastructure for debug statements
2019-07-29 19:44:11 -04:00
Drew Bonasera 76d2254d90
Merge pull request #89 from clach04/patch-1
Typo in readme
2019-01-17 13:51:41 -05:00
clach04 c51d0697a2
Typo in readme 2019-01-16 21:14:16 -08:00
Drew Bonasera c857e166c9
Fix typo in readme
Fixes #87
2019-01-10 16:44:18 -05:00
framp db62822a42 Removed some checks 2018-08-19 22:05:28 +02:00
framp 700bf3cdcc Updated README 2018-08-19 18:09:58 +02:00
framp 15c43f1199 Merge with debug branch 2018-08-19 17:59:44 +02:00
framp 8a0637b3da Initial debug and error checking version 2018-08-19 17:54:23 +02:00
framp c68ff6d502 Added option -r 2018-08-19 17:46:55 +02:00
framp 0fea4cc2a7 Update 2018-08-17 22:15:16 +02:00
framp b0ffc3afd9 Initial debug and error checking version 2018-08-17 21:48:21 +02:00
Drew Bonasera fd6c0b1ba4
Merge pull request #55 from framps/master
Added cleanup of loop device in case of execution errors
Closes #54
2018-03-30 13:58:52 -04:00
framp 8aae06a4b2 Modified cleanup 2018-03-24 12:01:59 +01:00
framp 3dbbbd6df6 merge 2018-02-14 20:08:05 +01:00
framp 67add2e613 Added cleanup function trap 2018-02-14 20:07:11 +01:00
framp eda1092cc5 Added cleanup function trap 2018-02-14 20:05:03 +01:00
Drew Bonasera 83e72eeec3
Add NOOBS warning to README 2018-02-03 18:00:44 -05:00
Drew Bonasera eac933beb8 Add `-a minimal` to parted call to fix errors with some images 2018-02-03 17:38:31 -05:00
Drew Bonasera 54051ea2e3
Merge pull request #43 from framps/master
Added installation instructions in README
2018-02-03 17:03:32 -05:00
Drew Bonasera 551e9950ac
Reorder Readme 2018-02-03 17:02:23 -05:00
Drew Bonasera 8dccf7d154
Merge pull request #40 from lurch/various-tweaks
Various tweaks
2018-02-03 16:53:34 -05:00
Andrew Scheller 3568798dd4 Give the new file the same ownership as the old file
(instead of having it always owned just by root)
2018-01-29 09:58:24 +00:00
Andrew Scheller 201db16c93 Replace `expr` with bash built-in arithmetic, and tidy up free-space calculation 2018-01-29 09:58:24 +00:00