Packaging contents into primary and secondary packaging