stiefelsystem icon indicating copy to clipboard operation
stiefelsystem copied to clipboard

create-initrd failes when run multiple times

Open ojafuenf opened this issue 3 years ago • 1 comments

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

ojafuenf avatar Nov 27 '21 22:11 ojafuenf

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 avatar Nov 28 '21 16:11 TheJJ