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

URL error inside main script #6

Open
ducapedia opened this issue Nov 4, 2020 · 2 comments
Open

URL error inside main script #6

ducapedia opened this issue Nov 4, 2020 · 2 comments

Comments

@ducapedia
Copy link

The package builder points to something like "http://ftp.kali.org/kalil/dists/kali-current Releases" but acctualy is "http://ftp.kali.org/kalil/dists/kali-rolling Releases"

there is some other kind of error at the very end of the script. I didnt found exactly what it is, but I already know that is something related to a variable called $(LOOPNAME)
Its passing to mkfs.vfat something like "map 3072s" instead the actual name of the device to be created (should be "boot" im guessing).

I saw some options of parted with space just after "--" (maybe this could be the problem)

@ducapedia
Copy link
Author

found it.
Inside kali_create_image() there is a variable that parses something like "loopXp1"
If X is greater than 9 (two numbers), the "sed" command cuts the text wrong, and put in the nexte variable a bunch of thinks instead of "loop14p2" (in /dev/mapper/DEVICE)

@ducapedia
Copy link
Author

also, in line 1346 (the same thing as above)

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

1 participant