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

create-initrd failes when run multiple times #8

Open
ojafuenf opened this issue Nov 27, 2021 · 1 comment
Open

create-initrd failes when run multiple times #8

ojafuenf opened this issue Nov 27, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@ojafuenf
Copy link
Contributor

When rerunning the create-initrd (e.g. after installing previous missing dependencies) the script fails somewhere in debootstrap.

Possible solutions:

  • clear ~/stiefelsystem/workdir at the start of the script
  • use apt upgrade if deboostrap has run successfully in the past
@TheJJ
Copy link
Member

TheJJ commented Nov 28, 2021

for this there is the flag ./create-initrd --skip-setup, but you're right it should know this automatically, and perform apt-upgrade or proper cleanup before running again.

@TheJJ TheJJ added the bug Something isn't working label Nov 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants