util-iso: clean up assemble_iso()

This commit is contained in:
udeved 2017-03-30 23:07:09 +02:00
parent 93626731c7
commit 37b9feb061

View file

@ -161,16 +161,10 @@ make_sfs() {
assemble_iso(){
msg "Creating ISO image..."
local iso_publisher iso_app_id mod_date
iso_publisher="$(get_osname) <$(get_disturl)>"
iso_app_id="$(get_osname) Live/Rescue CD"
local iso_publisher="$(get_osname) <$(get_disturl)>" \
iso_app_id="$(get_osname) Live/Rescue CD" \
mod_date=$(date -u +%Y-%m-%d-%H-%M-%S-00 | sed -e s/-//g)
# touch ${iso_root}/boot/grub/${mod_date}
xorriso -as mkisofs \
--modification-date=${mod_date} \
--protective-msdos-label \