Polished hardlink test
This commit is contained in:
parent
966ffe7e66
commit
2027441330
@ -16,7 +16,7 @@ export failure=0
|
||||
export next_is_xorriso=0
|
||||
export next_is_rc=0
|
||||
export bad=0
|
||||
|
||||
export report_about="-report_about UPDATE"
|
||||
|
||||
config_by_var() {
|
||||
# This is called once before option interpretation, and once for each
|
||||
@ -100,8 +100,11 @@ do
|
||||
elif test x"$i" = x"-xorriso"
|
||||
then
|
||||
next_is_xorriso=1
|
||||
elif test x"$i" = x"-v"
|
||||
then
|
||||
report_about="-report_about ALL"
|
||||
else
|
||||
echo "Usage: $0 [-rc FILE] [-keep] [-cleanup] [-xorriso PATH]" >&2
|
||||
echo "Usage: $0 [-rc FILE] [-keep] [-cleanup] [-xorriso PATH] [-v]" >&2
|
||||
exit 2
|
||||
fi
|
||||
done
|
||||
@ -144,6 +147,7 @@ ls -l "$on_disk"/*
|
||||
|
||||
echo "=== Producing simple image" >&2
|
||||
"$xorriso" \
|
||||
$report_about \
|
||||
-version \
|
||||
-for_backup \
|
||||
-padding 0 \
|
||||
@ -153,6 +157,7 @@ echo "=== Producing simple image" >&2
|
||||
|
||||
echo "=== Copying from image to temporary disk tree" >&2
|
||||
"$xorriso" \
|
||||
$report_about \
|
||||
-for_backup \
|
||||
-indev "$image_file" \
|
||||
-osirrox on \
|
||||
|
Loading…
Reference in New Issue
Block a user