Tomas-M / linux-live

Linux Live Kit
http://www.linux-live.org/
1.01k stars 253 forks source link

cp: -r not specified; omitting directory '/boot' #241

Closed neil2ball closed 1 year ago

neil2ball commented 1 year ago

I changed the /vmlinuz directory to /boot to use linux-live to create a kubuntu live kit. Yet I don't think that was a problem in and of itself.

line 56 of the build script is: cp $VMLINUZ $BOOT/ || exit

When running the script, I received the error above. I changed this line to:

cp -r $VMLINUZ $BOOT/ || exit

The script is now working.

neil2ball commented 1 year ago

I was under the mistaken impression that vmlinuz was a folder. I now understand that it is a symbolic link to the kernel. I'll let you know how badly I broke it when the script completes.