diff options
author | makefu <root@pigstarter.de> | 2014-03-12 10:29:34 +0100 |
---|---|---|
committer | makefu <root@pigstarter.de> | 2014-03-12 10:29:34 +0100 |
commit | b25891641316dcaf5c469a22b96393e6e55fc5fe (patch) | |
tree | be8ae41f42ecb7a74782c673b65bc1d0da106961 /ship/lib | |
parent | 93237ac6cc818b64b25e4781370e747766cbbbd6 (diff) | |
parent | 7049ff613d9be726a00571c8a62c4e5a93bc78f5 (diff) |
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'ship/lib')
-rw-r--r-- | ship/lib/iso | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ship/lib/iso b/ship/lib/iso new file mode 100644 index 00000000..0776d796 --- /dev/null +++ b/ship/lib/iso @@ -0,0 +1,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 +} |