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

Errors running on ubuntu - temp_ca_dir_created: parameter not set #46

Open
ShaneMcC opened this issue Jul 22, 2023 · 2 comments
Open

Errors running on ubuntu - temp_ca_dir_created: parameter not set #46

ShaneMcC opened this issue Jul 22, 2023 · 2 comments

Comments

@ShaneMcC
Copy link

When running on ubuntu using /bin/sh (which defaults to dash) the script generates the following errors:

Install base Alpine (plus bootloader packages) for x86_64 arch inside chroot
/tmp/alpine-build/create.sh: 464: temp_ca_dir_created: parameter not set


AN ERROR OCCURRED, cleaning up before aborting!


/tmp/alpine-build/create.sh: 214: working_dir: parameter not set
There was an error building.

Switching the shebang out to use /bin/bash instead gives different errors:

/tmp/alpine-build/create.sh: line 464: temp_ca_dir_created: unbound variable


AN ERROR OCCURRED, cleaning up before aborting!


/tmp/alpine-build/create.sh: line 214: working_dir: unbound variable
There was an error building.

This is partly related to the previous failed run - but the unbound variables are still a problem regardless.

Removing /etc/apk allows getting further.

@ShaneMcC ShaneMcC changed the title Errors running on ubuntu - temp_ca_dir_created: parameter not set Errors running on ubuntu - temp_ca_dir_created: parameter not set Jul 22, 2023
@trixam
Copy link

trixam commented Jul 25, 2023

Same here on Debian12

@dermotbradley
Copy link
Owner

I merged a PR recently and retested then with Debian (dash) and things work fine.

I expect that also Ubuntu now works correctly - I will retest shortly to verify.

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

3 participants