fix text encoding

This commit is contained in:
George Danchev 2011-06-22 13:33:10 +00:00
parent 57ab047e36
commit 961e6c4859

View File

@ -1,34 +1,34 @@
#!/bin/sh #!/bin/sh
set -e set -e
DIR=${1} DIR=${1}
IMG=${2} IMG=${2}
jigdo-gen-md5-list ${DIR} > ${IMG}.md5 jigdo-gen-md5-list ${DIR} > ${IMG}.md5
xorriso \ xorriso \
-as mkisofs \ -as mkisofs \
-o ${IMG}.iso \ -o ${IMG}.iso \
-R -V 'TEST_1' \ -R -V 'TEST_1' \
-partition_offset 16 \ -partition_offset 16 \
-J -joliet-long \ -J -joliet-long \
\ \
-jigdo-template-compress gzip \ -jigdo-template-compress gzip \
-checksum_algorithm_iso md5,sha512 \ -checksum_algorithm_iso md5,sha512 \
-checksum_algorithm_template md5,sha512 \ -checksum_algorithm_template md5,sha512 \
-jigdo-jigdo ${IMG}.jigdo \ -jigdo-jigdo ${IMG}.jigdo \
-jigdo-template ${IMG}.template \ -jigdo-template ${IMG}.template \
-jigdo-map Debian=${DIR} \ -jigdo-map Debian=${DIR} \
-md5-list ${IMG}.md5 \ -md5-list ${IMG}.md5 \
-jigdo-min-file-size 1024 \ -jigdo-min-file-size 1024 \
\ \
${DIR} ${DIR}
jigit-mkimage \ jigit-mkimage \
-t ${IMG}.template \ -t ${IMG}.template \
-j ${IMG}.jigdo \ -j ${IMG}.jigdo \
-m Debian=${DIR} \ -m Debian=${DIR} \
-o ${IMG}.bak -o ${IMG}.bak
diff ${IMG}.iso ${IMG}.bak diff ${IMG}.iso ${IMG}.bak