Commit Graph

128 Commits

Author SHA1 Message Date
Brent Gardner deadb9467f Merge branch 'master' of https://github.com/Drewsif/PiShrink into Drewsif-master 2021-10-22 11:20:29 -04:00
Brent Gardner c4896855a8 Replaced rc.local modification with call to raspi-config 2021-10-22 11:13:14 -04:00
Drew Bonasera 43f1a885cd
Merge pull request #207 from wh201906/wh201906_locale
Force locale settings into POSIX

Closes #208
2021-08-16 05:06:41 -04:00
wh201906 be00c478e0 Force locale settings into POSIX
In CJK (Chinese, Japanese and Korean) computing,
graphic characters are traditionally classed into fullwidth.
For users who use CJK locales, the colon in the output is ':', rather than ':'.
The script cannot handle these characers, so forcing locale settings into English temporarily can solve this problem.
2021-08-14 03:53:33 +08:00
Drew Bonasera 9d9c0dd32c
Merge pull request #185 from freddii/master
fixed typos
2021-01-23 16:10:45 -05:00
freddii fa3c7a2740 fixed typos 2021-01-21 22:57:36 +01:00
Drew Bonasera 2b6afa184e
Merge pull request #162 from agsdot/patch-1
Fix typo
2020-09-09 16:16:12 -04:00
Jonathan Lai f6be7f3f50
expantion -> expansion 2020-09-09 11:21:40 -07:00
Drew Bonasera ee4e7ac5c8
Merge pull request #156 from archerindigo/master
Fix log removal
2020-08-27 02:00:53 -04:00
Terry Tsang a7977b9960 Fix log removal 2020-08-26 22:20:23 +08:00
Drew Bonasera dfdf279278 Update usage info 2020-06-17 15:21:29 -04:00
Drew Bonasera ad4657a0aa Remove NOOBS warning since we partly support it now and add VirtualBox warning 2020-06-17 15:17:15 -04:00
Drew Bonasera a846e0c013 Fix spacing issue in usage 2020-06-15 19:00:26 -04:00
Drew Bonasera 762acea7fc Revert "Remove verbose option setting from zipping tool options"
This reverts commit 66355825bd.

I removed a feature that was used so I'm adding it back as talked about in #147
2020-06-15 18:56:06 -04:00
Drew Bonasera cc4ca215b4 Remove quoting that broke zip tool usage 2020-06-15 18:41:42 -04:00
Drew Bonasera 2f5b275675 Change error codes so shellcheck will stop yelling at me 2020-06-14 18:39:41 -04:00
Drew Bonasera 66355825bd Remove verbose option setting from zipping tool options
Closes #147
2020-06-14 18:36:41 -04:00
Drew Bonasera 53a59cf9a0 Initial support for extended partition images :D 2020-06-13 17:10:19 -04:00
Drew Bonasera 574fab3e52 Add partprobe as it might help some users
Relates to #138
2020-06-13 16:19:04 -04:00
Drew Bonasera 370e88d581 Fix quoting issues
Closes #146
2020-06-13 16:12:39 -04:00
Drew Bonasera c80642512e Merge branch 'master' of github.com:Drewsif/PiShrink 2020-06-13 15:08:43 -04:00
Drew Bonasera 9f817a3483
Merge pull request #142 from framps/issue138
Deleted ERR cleanup and added check for rc.local existence

Closes #128
2020-06-13 15:00:28 -04:00
Drew Bonasera 071799b926
Merge pull request #139 from framps/fix_toolcheck
Fixed two minor issues
2020-06-13 14:59:02 -04:00
framp 0a45a5fdae Deleted ERR cleanup and added check for rc.local existance 2020-06-01 12:46:04 +02:00
bggardner 870649bca9
Merge branch 'master' into master 2020-05-29 22:13:18 -04:00
framp 198e6c944f
Remove zip extension in target 2020-05-23 11:40:53 +02:00
framp c1c8a0b4a2
Fixed required tools bug 2020-05-23 11:11:49 +02:00
Drew Bonasera 26cd138b9b More verbose and earlier errors on incompatible images 2020-04-27 06:17:07 -04:00
Drew Bonasera d38666fefd
Merge pull request #134 from framps/fix133
Fix for issue #133
2020-04-20 16:37:40 -04:00
framp 3c3f68f59f
Added missing tail when retrieving partnum 2020-04-20 14:58:25 +02:00
framp 9a2c7fe949
Fixed pishrink issue #133 2020-04-20 14:07:11 +02:00
Drew Bonasera 24c6f57efd
Merge pull request #129 from kmpm/fix/parted
Fail with error message on parted error
2020-04-19 16:33:24 -04:00
Drew Bonasera 18c86f53fc
Merge branch 'master' into fix/parted 2020-04-19 16:32:50 -04:00
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
kmpm c99b053afb stop on parted error 2020-04-09 18:17:47 +02: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
Brent Gardner 4250d9a258 Replaced rc.local modification with resize2fs_once init script 2020-02-25 13:39:03 -05: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