stiefelsystem
stiefelsystem copied to clipboard
create-initrd failes when run multiple times
When rerunning the create-initrd (e.g. after installing previous missing dependencies) the script fails somewhere in debootstrap.
Possible solutions:
- clear
~/stiefelsystem/workdirat the start of the script - use
apt upgradeif deboostrap has run successfully in the past
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.