Comments (4)
And then? Closing.... no particular issue.
from mkinitramfs-ll.
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:
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.
And maybe
line 24
-u|--usage|*) usage;;
to
-u|--usage) usage;;
from mkinitramfs-ll.
Thanks for reporting, this issue will be closed on the next commit.
from mkinitramfs-ll.
Related Issues (20)
- -k version switch adds an extra : in version HOT 1
- wrong find syntax finds no modules HOT 1
- missing / for finding gcc HOT 1
- resume handling broken HOT 1
- cmdline option name HOT 5
- luks option seems to get ignored using BTRFS root HOT 9
- Multiple LUKS Containers HOT 1
- Gentoo install not functional HOT 5
- LVM on LUKS with detached header HOT 8
- Whole disk support HOT 1
- Busybox init process. PID must be 1 HOT 8
- Using an encrypted root with a regular keyfile asks for passphrase HOT 6
- Allow discards for SSDs in cryptsetup HOT 2
- Gentoo's default busybox config: module dependencies not correctly resolved (undefined symbols) HOT 2
- Posix version not working
- Please help
- mkinitramfs command fails if host do not have /dev/mem
- mkinitramfs-ll.sh prints useless error messages
- scripts/busybox.sh fails to build for versions with -r* appended
- custom keymap support broken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mkinitramfs-ll.