libisoburn/releng/releng_check_isocontent

34 lines
941 B
Bash
Executable File

#!/bin/bash
set -e
printf "NOT COMPLETED YET\n"
exit 100
# Thomas:
# xorriso provides built-in means for comparison:
# -compare_r disk_path iso_rr_path
# Possibly i will have to enhance it so that it is suitable for automatic
# testing. (I used it mainly for testing -update_r.)
# xorriso could use
# -osirrox on -extract iso_rr_path disk_path
# to pull a tree out of the image without mounting it.
# One could mount the image -o loop. (Needs superuser authority.)
# There is a program test/compare_file which acts on a mounted image
# or on extracted trees i.e. completely independent of xorriso code.
# See libisoburn/README paragraph "Testing".
# With extracted trees one will want to use option -no_ctime.
# One may use command diff -r to compare directory trees of a mounted image
# or extracted trees.
# George:
# xorriso -indev my.iso -find / vs. find input_dir
# bsdtar -xf my.iso vs. input_dir
exit 0