convenience #define for debugging purpose
with it ramdisk contents can be exported via nfs as is, w/o cloop creation
This commit is contained in:
parent
8a5068e076
commit
5c0ed5b05a
@ -666,14 +666,17 @@ enum return_type nfs_prepare(void)
|
||||
|
||||
log_message("found the " DISTRIB_NAME " Installation, good news!");
|
||||
|
||||
#ifndef LIVETEST
|
||||
insmod_compressed();
|
||||
|
||||
do_losetup(LIVE_DEVICE,get_ramdisk_path(NULL));
|
||||
|
||||
if(IS_LIVE)
|
||||
my_mount(LIVE_DEVICE,STAGE2_LOCATION,LIVEFS, 0);
|
||||
else
|
||||
my_mount(LIVE_DEVICE,STAGE2_LOCATION,STAGE2FS, 0);
|
||||
#else
|
||||
mount(get_ramdisk_path(NULL), STAGE2_LOCATION, NULL, MS_BIND, NULL);
|
||||
#endif
|
||||
|
||||
method_name = strdup("nfs");
|
||||
return RETURN_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user