Commit graph

83 commits

Author SHA1 Message Date
Horea Christian
934b2cf3e8 Removed xattr-breaking command 2022-12-15 17:19:36 -05:00
Horea Christian
999415bda6 Homogenized quotation marks 2022-09-12 12:29:48 -04:00
Horea Christian
e0220d9b61 Removed comments 2022-09-12 12:27:22 -04:00
Horea Christian
8099ec1c8b Fixed up fix 2022-09-12 12:11:20 -04:00
Runney Wu
d8b979bee1
Use star mark to expand COMP_OPTIONS (#44)
Closes: 46
2022-09-12 12:04:31 -04:00
Horea Christian
df3d89d5a2 Disabled broken feature 2022-09-12 09:11:35 -04:00
Horea Christian
f7655ed21d Single quotes to fix bug reported outside of issue tracker 2022-09-12 06:25:03 -04:00
Horea Christian
ddc9d74901 Wrap use-compres-prog in quotation marks 2021-10-12 18:35:14 -04:00
Horea Christian
783e7ea52a Updated file format and exec name as per:
https://github.com/TheChymera/mkstage4/issues/41#issuecomment-735435551
2020-11-29 17:12:29 -05:00
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