mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-03-15 04:25:06 +00:00
Remove ACWords.DATA and Home/ folder from AUTO.ISO.
This commit is contained in:
parent
675b9c1f42
commit
6f7288e8ed
4 changed files with 13 additions and 9 deletions
BIN
build/AUTO.ISO
BIN
build/AUTO.ISO
Binary file not shown.
|
@ -19,22 +19,27 @@ U0 MakeMyISO(U8 *_out_iso_filename)
|
||||||
In(STD_DISTRO_DVD_CONFIG);
|
In(STD_DISTRO_DVD_CONFIG);
|
||||||
BootDVDIns;
|
BootDVDIns;
|
||||||
|
|
||||||
Copy("/*","/Distro");
|
Copy("/*", "/Distro");
|
||||||
DirMake("/Distro" BOOT_DIR);
|
DirMake("/Distro" BOOT_DIR);
|
||||||
Move(BOOT_DIR_DVD_KERNEL_ZXE, "/Distro" BOOT_DIR_KERNEL_ZXE);
|
Move(BOOT_DIR_DVD_KERNEL_ZXE, "/Distro" BOOT_DIR_KERNEL_ZXE);
|
||||||
|
|
||||||
CopyTree("/Home", "/Distro/Home");
|
DirMake("/Distro/Home");
|
||||||
Del("/Distro/Home/Registry.ZC");
|
|
||||||
CopyTree("/System", "/Distro/System");
|
CopyTree("/System", "/Distro/System");
|
||||||
Del("/Distro/System/AutoComplete/ACDefs.DATA");
|
Del("/Distro/System/AutoComplete/ACDefs.DATA");
|
||||||
|
Del("/Distro/System/AutoComplete/ACWords.DATA");
|
||||||
|
|
||||||
CopyTree("/Compiler", "/Distro/Compiler");
|
CopyTree("/Compiler", "/Distro/Compiler");
|
||||||
CopyTree("/Kernel", "/Distro/Kernel");
|
CopyTree("/Kernel", "/Distro/Kernel");
|
||||||
CopyTree("/Misc", "/Distro/Misc");
|
CopyTree("/Misc", "/Distro/Misc");
|
||||||
|
|
||||||
DirMake("/Distro/Doc");
|
DirMake("/Distro/Doc");
|
||||||
Copy("/Doc/EdPullDown.DD", "/Distro/Doc/EdPullDown.DD");
|
Copy("/Doc/EdPullDown.DD", "/Distro/Doc/EdPullDown.DD");
|
||||||
Copy("/Doc/Tips.DD", "/Distro/Doc/Tips.DD");
|
Copy("/Doc/Tips.DD", "/Distro/Doc/Tips.DD");
|
||||||
|
|
||||||
Copy("/Misc/Auto/Once.ZC", "/Distro/Once.ZC");
|
Copy("/Misc/Auto/Once.ZC", "/Distro/Once.ZC");
|
||||||
Copy("/Misc/Auto/HomeSys.ZC", "/Distro/HomeSys.ZC");
|
Copy("/Misc/Auto/HomeSys.ZC", "/Distro/HomeSys.ZC");
|
||||||
|
|
||||||
Del("/Distro/Misc/PCIDevices.DD");
|
Del("/Distro/Misc/PCIDevices.DD");
|
||||||
Del("/Distro/Misc/Bible.TXT");
|
Del("/Distro/Misc/Bible.TXT");
|
||||||
Del("/Distro/Misc/Clementine.TXT");
|
Del("/Distro/Misc/Clementine.TXT");
|
||||||
|
|
|
@ -49,7 +49,6 @@ U0 VMInstallWiz()
|
||||||
CTask *task;
|
CTask *task;
|
||||||
I64 i, atapi_port = -1, ata_port = -1;
|
I64 i, atapi_port = -1, ata_port = -1;
|
||||||
CAHCIPort *port;
|
CAHCIPort *port;
|
||||||
U8 *in_str;
|
|
||||||
|
|
||||||
task = User;
|
task = User;
|
||||||
TaskWait(task);
|
TaskWait(task);
|
||||||
|
@ -104,7 +103,7 @@ U0 VMInstallWiz()
|
||||||
Kill(task);
|
Kill(task);
|
||||||
}
|
}
|
||||||
|
|
||||||
Bool DoInstall(Bool prompt_reboot)
|
Bool DoInstall()
|
||||||
{
|
{
|
||||||
I64 res = FALSE, vm_install = TRUE;
|
I64 res = FALSE, vm_install = TRUE;
|
||||||
|
|
||||||
|
@ -117,11 +116,11 @@ Bool DoInstall(Bool prompt_reboot)
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
Bool OSInstall(Bool prompt_reboot=TRUE)
|
Bool OSInstall()
|
||||||
{
|
{
|
||||||
return DoInstall(prompt_reboot);
|
return DoInstall();
|
||||||
}
|
}
|
||||||
|
|
||||||
#if __CMD_LINE__
|
#if __CMD_LINE__
|
||||||
OSInstall(TRUE);
|
OSInstall();
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -15,7 +15,7 @@ U0 LoadDocDefines()
|
||||||
//$LK,"DD_BOOT_HIGH_LOC_DVD",A="FF:::/System/Boot/BootDVD.ZC,DD_BOOT_HIGH_LOC_DVD"$
|
//$LK,"DD_BOOT_HIGH_LOC_DVD",A="FF:::/System/Boot/BootDVD.ZC,DD_BOOT_HIGH_LOC_DVD"$
|
||||||
|
|
||||||
$TR,"LineRep"$
|
$TR,"LineRep"$
|
||||||
$ID,2$DefinePrint("DD_ZEALOS_LOC","97,299");
|
$ID,2$DefinePrint("DD_ZEALOS_LOC","97,274");
|
||||||
$ID,-2$
|
$ID,-2$
|
||||||
DefinePrint("DD_MP_VECT", "%08X", MP_VECT_ADDR);
|
DefinePrint("DD_MP_VECT", "%08X", MP_VECT_ADDR);
|
||||||
DefinePrint("DD_MP_VECT_END", "%08X", MP_VECT_ADDR + COREAP_16BIT_INIT_END - COREAP_16BIT_INIT - 1);
|
DefinePrint("DD_MP_VECT_END", "%08X", MP_VECT_ADDR + COREAP_16BIT_INIT_END - COREAP_16BIT_INIT - 1);
|
||||||
|
|
Loading…
Reference in a new issue