Does "pack" mean the same thing in these two sentences?

You had better pack your swollen ankle with ice.

Pack the books into the boxes.
different meanings