Commit graph

74 commits

Author SHA1 Message Date
Horea Christian
351c9fe682 Updated file format as per
https://github.com/TheChymera/mkstage4/issues/41
2020-11-14 21:41:04 -05:00
Horea Christian
7f6deaf498 Codeblock style 2020-08-31 19:47:47 -04:00
Horea Christian
bc4d5e7320 Improved -k parameter documentation 2020-08-31 19:46:24 -04:00
Horea Christian
9175f43062 Heading visual style 2020-08-31 19:33:51 -04:00
Horea Christian
2c441054af Style improvements 2020-08-31 19:30:09 -04:00
Mark Gomersbach
df1827410b
Add compression types and multithread if possible. (#39)
* Add compression types and multithread if possible.

Signed-off-by: Mark Gomersbach <markgomersbach@gmail.com>

* Bump shell-linter version

Signed-off-by: Mark Gomersbach <markgomersbach@gmail.com>
2020-04-17 04:43:11 -04:00
lucianposton
8c61bd4395
Add -i option to include files prior to exclusion (#30) 2020-04-02 22:10:09 -04:00
lucianposton
6de6e25de1
Add shellcheck to CI workflow (#33) 2020-04-02 19:31:32 -04:00
lucianposton
ce254f23c2
Add workflow badges (#36)
Signed-off-by: Lucian Poston <lucianposton@pm.me>
2020-03-24 22:50:00 -04:00
lucianposton
afa8c072c9
Misc wordsplitting/globbing changes (#32)
-Add quotes to prevent word splitting
-Remove $TARGET* globbing so hidden files are included
-Remove unused globbing

Signed-off-by: Lucian Poston <lucianposton@pm.me>
2020-03-24 22:46:32 -04:00
lucianposton
8ab90fa6b0
Merge confidential file excludes into single -c option (#28)
Signed-off-by: Lucian Poston <lucianposton@pm.me>
2020-03-24 22:43:25 -04:00
lucianposton
c8245059fc
-k test cases: bug fix & additional test cases (#35)
Signed-off-by: Lucian Poston <lucianposton@pm.me>
2020-02-07 02:48:31 +01:00
lucianposton
94b0040499
Add BATS tests with automated github workflow (#34)
Added tests, including test cases for:
* the -b option
* the -c (connman) option
* the -e option
* the -k option
* the -l option
* portage dirs


Signed-off-by: Lucian Poston <lucianposton@pm.me>
2020-02-07 00:59:18 +01:00
Horea Christian
e0c3fc7244 typos 2020-02-05 05:08:50 +01:00
Horea Christian
9a177d6413 Binary attributes and numeric owner identifiers
Superseded https://github.com/TheChymera/mkstage4/pull/27
2020-02-05 05:06:44 +01:00
Horea Christian
f6538b40d6 Instructions and writing style update 2020-02-05 05:02:12 +01:00
lucianposton
c6267f9c23
Fix indentation whitespacee (#29)
Signed-off-by: Lucian Poston <lucianposton@pm.me>
2020-02-05 04:45:04 +01:00
Tatsh
33ed7b3166 Bug fix for when no tar options are passed (#24)
Make tabs more consistent
Remove unnecessary quotes
Simplify boolean checks
Quote strings for clarity
Search lib*/modules/* for modules to remain compatibile with < profile 17.1 systems
Remove unnecessary escape to grep RE
2019-11-07 07:11:16 +01:00
Horea Christian
085a9ada3c Updated dependency comments 2019-11-03 21:17:17 +01:00
Horea Christian
5f0fdb96b8 Tabs not spaces 2019-11-03 21:13:54 +01:00
Tatsh
52fe0c0326 Clean up based on Shellcheck recommendations (#23)
Use arrays for lists of items
Do not use legacy backticks
2019-11-03 18:25:01 +01:00
Walter Hüttenmeyer
d4ded4bd5f add new portage paths with optional portageq logic (#18)
* add new portage paths

added /var/db/repos/gentoo and /var/cache/distfiles to hard-coded list of excludes.
Portage has moved (when?) according to https://wiki.gentoo.org/wiki//usr/portage

* Added portageq logic

Added portageq logic to detect where portage stores its tree and distfiles.
If this fails, fall back to a default list declared in EXCLUDES_DEFAULT_PORTAGE
2019-08-05 14:18:24 +02:00
Horea Christian
44e700f71d Clarified distribution 2019-08-02 17:28:43 +02:00
Horea Christian
8dfbdc41f9 Improved getopts usage
As suggested by Walter Hüttenmeyer.
2019-05-16 18:29:07 +02:00
Horea Christian
bc637d61d1 Removed whitespace 2019-05-08 22:16:42 +02:00
Horea Christian
eaf4ad068f New email and grammar 2019-04-27 00:20:33 +02:00
Horea Christian
8d60d8dba0 typo 2019-03-18 15:53:49 +01:00
liu-kan
b75b9f7715 Try to compress parallelly (#15)
* Add -p flag for parallel compressing. The script will test if pbzip2 is install, before using it for parallel compressing.

* Update README.md

* Update README.md
2018-12-14 21:53:19 +01:00
Horea Christian
f029e83586
Merge pull request #14 from brendanhoran/master
exclude /var/lib/docker , causes issues on unpack
2018-07-17 20:19:15 +02:00
Brendan Horan
f7bf41c088 exclude /var/lib/docker , causes issues on unpack 2018-07-10 21:36:10 +08:00
Horea Christian
7278272852
Merge pull request #13 from brendanhoran/master
Update tar cmd line options
2018-07-08 16:49:52 +02:00
Brendan Horan
d03ec6fcb8 Update tar cmd line options 2018-07-08 15:28:55 +08:00
Horea Christian
4b9460fb2a
Merge pull request #12 from liu-kan/master
add -k option to allow user separately saving current kernel modules and src
2018-05-24 16:00:10 +02:00
liu-kan
fe674454fd
Update README.md 2018-05-24 11:36:36 +08:00
Kan Liu
bbf898d45e fix -k bug 2018-05-11 12:27:22 +08:00
Kan Liu
bdcafb5b0e -k: separately save current kernel moudules and src (smaller). + -e: an additional excludes directory (one dir one -e). 2018-05-11 11:13:12 +08:00
Horea Christian
a026ef0045 Merge pull request #10 from tomslobodnik/master
fix TARGET path handling
2017-03-22 17:56:13 +01:00
Tomas Slobodnik
3f1334cbf3 fix TARGET path handling 2017-03-22 17:17:24 +01:00
Horea Christian
8eec290f00 updated markdown syntax 2017-03-22 16:01:02 +01:00
Horea Christian
6744db0df0 using reported command line string for actual command as well 2017-01-11 23:53:18 +01:00
Horea Christian
9dd869c6d2 Merge pull request #9 from sylvchev/new_prefix
Using prefix via tar, no longer needing cd.
2017-01-11 23:35:54 +01:00
Sylvain Chevallier
d1372b0230 prefixing exclude directories 2017-01-11 16:30:27 +01:00
Sylvain Chevallier
0e042e7523 excludes after files 2017-01-11 16:27:48 +01:00
Horea Christian
59de6ab57f correctly previewing the command 2017-01-05 00:25:24 +01:00
Horea Christian
3ee72e46fc using -f parameter to actually signal archive name 2017-01-05 00:15:41 +01:00
Horea Christian
9a96781235 Merge pull request #6 from sylvchev/exclude-opts
Changing tar command
2017-01-02 02:45:15 +01:00
Sylvain Chevallier
acb126db03 changing options order 2017-01-02 02:24:03 +01:00
Horea Christian
9e6236e1c7 added .bash_histrory exclusion for all users 2016-02-23 06:57:46 +01:00
Horea Christian
dd53ca5cb5 Added info on new/changed arguments 2016-02-23 06:38:51 +01:00
Horea Christian
1b0e4d3c20 Merge pull request #5 from dave-kennedy/master
shortened output notification, optionally excluding /lost+found
2016-02-19 23:32:46 +01:00