Giter VIP home page Giter VIP logo

Comments (4)

tokiclover avatar tokiclover commented on September 14, 2024

And then? Closing.... no particular issue.

from mkinitramfs-ll.

samuraiii avatar samuraiii commented on September 14, 2024

Ok, then
the script wasnt workinkg properly - hang on showing usage on everey input:
1st is question about line 14
opt=$(getopt -l usage,useflag::,usrdir::,workdir::,version:: -o ud::U:✌️:W::
should not it be ... usage::,useflag...?
Next line 18
while [[ $# > 0 ]]; do
I see the problem in comparing number of arguments (one is added by script itself)
so while [[ $# > 1 ]]; do ?

Line 38
pushd "${PORTAGE_TMPDIR:-/var/tmp}"/portage/app-crypt/${opts[-gpg]}/work/${opts[-gpg]} || die
would be more convenient ro get from emerge --info like this:
pushd $(emerge --info | grep PORTAGE_TMPDIR | sed 's/PORTAGE_TMPDIR="(.*)"/\1/g')/portage....

Line 39
cp -a gpg "${opts[-usrdir]}"/bin/ || die

I found it in g10/gpg location not in workdir
so cp -a g10/gpg "${opts[-usrdir]}"/bin/ || die

So this is all my comments
S.

from mkinitramfs-ll.

samuraiii avatar samuraiii commented on September 14, 2024

And maybe
line 24

 -u|--usage|*) usage;;

to

 -u|--usage) usage;;

from mkinitramfs-ll.

tokiclover avatar tokiclover commented on September 14, 2024

Thanks for reporting, this issue will be closed on the next commit.

from mkinitramfs-ll.

Related Issues (20)

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.