summaryrefslogtreecommitdiffstats
path: root/elchos/root-image/krebs/lib/iso
blob: 0776d79630c2641eca1a42d4204909d1f1ed7a52 (plain)
1
2
3
4
5
6
7
get_volid(){
  #returns the volume id of the iso given
  # is needed for remastering the archlinux iso
  
  #punani install genisoimage
  isoinfo -d -i "${1?path to iso must be given}" | grep "^Volume id:" | cut -d: -f 2 |xargs
}