Git Product home page Git Product logo

Comments (7)

harisokanovic avatar harisokanovic commented on June 14, 2024

Do you have a folder under /etc/opt/ with a space in it's name?
Can you try quoting the -b argument -- i.e. -b "etc/opt/*" ?

from nilrt-net-boot.

harisokanovic avatar harisokanovic commented on June 14, 2024

I added quoting for blacklist values in commit ca6e809. However, you should still quote all inputs that have wildcards (*). I can't prevent your shell from expanding them before nilrt-make-netboot-image.sh runs.

from nilrt-net-boot.

falcn12 avatar falcn12 commented on June 14, 2024

The only two folders under etc/opt/ are
ni
repo

No spaces in the names of those folders. Then it progresses down to the final levels where all the .ipk files are located.

Quotes had no effect on the error.

etc/opt/repo/ only has a linear level of directories

etc/opt/repo/19.07/x86_64/

with no other subfolders until the x86_64 level - then:

etc/opt/repo/19.07/x86_64/base/
etc/opt/repo/19.07/x86_64/opkg-utils-0.4.1/
etc/opt/repo/19.07/x86_64/opgk-utils-0.4.1.tar.gz*
etc/opt/repo/19.07/x86_64/packages/

Under base/ is a long list of .ipk package files
Under packages/ is another long list of .ipk package files

Nothing seems to have any spaces that I can see.

from nilrt-net-boot.

falcn12 avatar falcn12 commented on June 14, 2024

find . -name "* *"
found no files or folders with spaces in the names from /mnt/userfs/etc/opt on down.

from nilrt-net-boot.

falcn12 avatar falcn12 commented on June 14, 2024

Downloaded the new updated shell script and ran it, it worked with - b etc/opt -b "etc/opt/*" and gave a correct output of 412MB for img.d

from nilrt-net-boot.

harisokanovic avatar harisokanovic commented on June 14, 2024

Great. Linux tools are generally allergic to spaces. You get used to it after a while :)

from nilrt-net-boot.

falcn12 avatar falcn12 commented on June 14, 2024

I guess one of the package names somewhere could have a space, but it didn't look like it. Thanks for all the effort.

from nilrt-net-boot.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.