Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runmynas.sh这脚本不能在openwrt下执行,tar 命令没有 strip-components=1 参数 #10

Open
dunkeng opened this issue Jun 14, 2024 · 1 comment

Comments

@dunkeng
Copy link

dunkeng commented Jun 14, 2024

runmynas (失败于: 2024/6/14 15:05:08) > /usr/libexec/istorec/runmynas.sh build
Support x86_64
download https://fw0.koolcenter.com/iStoreNAS/runmynas/runmynas.tar.gz
Download OK
tar: unrecognized option: strip-components=1
BusyBox v1.35.0 (2024-05-26 18:25:09 UTC) multi-call binary.

Usage: tar c|x|t [-zahvokO] [-f TARFILE] [-C DIR] [-T FILE] [-X FILE] [FILE]...

Create, extract, or list files from a tar file

    c       Create
    x       Extract
    t       List
    -f FILE Name of TARFILE ('-' for stdin/out)
    -C DIR  Change to DIR before operation
    -v      Verbose
    -O      Extract to stdout
    -o      Don't restore user:group
    -k      Don't replace existing files
    -z      (De)compress using gzip
    -a      (De)compress based on extension
    -h      Follow symlinks
    -T FILE File with names to include
    -X FILE File with glob patterns to exclude

runmynas.sh not found, failed!

@jannson
Copy link
Contributor

jannson commented Aug 5, 2024

可能 busybox 的 tar 无法支持这个参数。就是需要去掉一个文件夹路径。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants