-as mkisofs: Enabled reading of xattr and md5 before image loading

This commit is contained in:
Thomas Schmitt 2011-02-08 13:36:42 +00:00
parent 015c7e7046
commit 478bcdc1e2
2 changed files with 8 additions and 5 deletions

View File

@ -1168,6 +1168,13 @@ illegal_c:;
if(ret<=0) if(ret<=0)
goto ex; goto ex;
} }
if(old_root[0] || root_seen) {
Xorriso_option_md5(xorriso, old_root_md5 ? "on" : "off", 0);
Xorriso_option_disk_dev_ino(xorriso,
old_root_dev && old_root_ino ? "on" :
old_root_ino ? "ino_only" : "off", 0);
}
if(indev[0]) { if(indev[0]) {
ret= Xorriso_option_dev(xorriso, indev, 1); ret= Xorriso_option_dev(xorriso, indev, 1);
if(ret<=0) if(ret<=0)
@ -1178,10 +1185,6 @@ illegal_c:;
{ret= 1; goto ex;} {ret= 1; goto ex;}
if(old_root[0]) { if(old_root[0]) {
Xorriso_option_md5(xorriso, old_root_md5 ? "on" : "off", 0);
Xorriso_option_disk_dev_ino(xorriso,
old_root_dev && old_root_ino ? "on" :
old_root_ino ? "ino_only" : "off", 0);
ret= Xorriso_iso_lstat(xorriso, old_root, &stbuf, 0); ret= Xorriso_iso_lstat(xorriso, old_root, &stbuf, 0);
if(ret >= 0) { if(ret >= 0) {
if(root_seen) { if(root_seen) {

View File

@ -1 +1 @@
#define Xorriso_timestamP "2011.02.07.202851" #define Xorriso_timestamP "2011.02.08.133624"