File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -769,6 +769,21 @@ static int add_sysroot_mount(void) {
769769 return 0 ;
770770 }
771771
772+ if (startswith (arg_root_what , "cifs://" )) {
773+ log_debug ("Skipping root directory handling, as root on CIFS was requested." );
774+ return 0 ;
775+ }
776+
777+ if (startswith (arg_root_what , "iscsi:" )) {
778+ log_debug ("Skipping root directory handling, as root on iSCSI was requested." );
779+ return 0 ;
780+ }
781+
782+ if (startswith (arg_root_what , "live:" )) {
783+ log_debug ("Skipping root directory handling, as root on live image was requested." );
784+ return 0 ;
785+ }
786+
772787 if (streq (arg_root_what , "tmpfs" )) {
773788 /* If root=tmpfs is specified, then take this as shortcut for a writable tmpfs mount as root */
774789
You can’t perform that action at this time.
0 commit comments