
Small changes needed to run smoothless on a SuSE 11.1 system
Hello,
I run into a few small problems generating a customized install usb stick/cd with your script. They are of the minor type and I don't know, if they are special to SuSE systems, but I think they are general enough to put them into the script.
- Under SuSE, at least, fdisk was not found in the path. I had to add /sbin to the end of the path to make the fdisk statements work. Maybe it would not harm to add /usr/sbin too.
- At the end you have a chown statement to change all the created files back to the owner:
Code:
chown -R --from=$USER:$USER $SUDO_USER:$SUDO_USER $ipath/*
This produced an error message running it, because there is no group that refers to $SUDO_USER. When I changed this to $SUDO_UID:$SUDO_GID the script did not complain any more.
I hope this helps you make your script run on more Linux versions, that it probably already does.
Regards, Dieter