mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
- To whom it may concern: thanks for completly fucking up mkhive support with your "fix". It broken make install and livecd on i386 AND ARM.
- Made the necessary changes to make it work properly by fixing mkhive and rbuild. svn path=/trunk/; revision=34446
This commit is contained in:
parent
ae45b8fbbb
commit
0e87f19d40
2 changed files with 23 additions and 15 deletions
|
@ -88,9 +88,9 @@ int main (int argc, char *argv[])
|
|||
char FileName[PATH_MAX];
|
||||
int Param;
|
||||
|
||||
printf ("Binary hive maker\n");
|
||||
printf ("Binary hive maker: %s\n", argv[3]);
|
||||
|
||||
if (argc < 3)
|
||||
if (argc < 4)
|
||||
{
|
||||
usage ();
|
||||
return 1;
|
||||
|
@ -100,25 +100,33 @@ int main (int argc, char *argv[])
|
|||
|
||||
convert_path (FileName, argv[1]);
|
||||
strcat (FileName, DIR_SEPARATOR_STRING);
|
||||
strcat (FileName, "hivesys.inf");
|
||||
strcat (FileName, "hivesys_");
|
||||
strcat (FileName, argv[3]);
|
||||
strcat (FileName, ".inf");
|
||||
ImportRegistryFile (FileName);
|
||||
|
||||
convert_path (FileName, argv[1]);
|
||||
strcat (FileName, DIR_SEPARATOR_STRING);
|
||||
strcat (FileName, "hivecls.inf");
|
||||
strcat (FileName, "hivecls_");
|
||||
strcat (FileName, argv[3]);
|
||||
strcat (FileName, ".inf");
|
||||
ImportRegistryFile (FileName);
|
||||
|
||||
convert_path (FileName, argv[1]);
|
||||
strcat (FileName, DIR_SEPARATOR_STRING);
|
||||
strcat (FileName, "hivesft.inf");
|
||||
strcat (FileName, "hivesft_");
|
||||
strcat (FileName, argv[3]);
|
||||
strcat (FileName, ".inf");
|
||||
ImportRegistryFile (FileName);
|
||||
|
||||
convert_path (FileName, argv[1]);
|
||||
strcat (FileName, DIR_SEPARATOR_STRING);
|
||||
strcat (FileName, "hivedef.inf");
|
||||
strcat (FileName, "hivedef_");
|
||||
strcat (FileName, argv[3]);
|
||||
strcat (FileName, ".inf");
|
||||
ImportRegistryFile (FileName);
|
||||
|
||||
for (Param = 3; Param < argc; Param++)
|
||||
for (Param = 4; Param < argc; Param++)
|
||||
{
|
||||
convert_path (FileName, argv[Param]);
|
||||
ImportRegistryFile (FileName);
|
||||
|
|
|
@ -1200,11 +1200,11 @@ MingwBackend::OutputModuleInstallTargets ()
|
|||
string
|
||||
MingwBackend::GetRegistrySourceFiles ()
|
||||
{
|
||||
return "boot" + sSep + "bootdata" + sSep + Environment::GetArch() + sSep + "hivecls.inf "
|
||||
"boot" + sSep + "bootdata" + sSep + Environment::GetArch() + sSep + "hivedef.inf "
|
||||
"boot" + sSep + "bootdata" + sSep + Environment::GetArch() + sSep + "hiveinst.inf "
|
||||
"boot" + sSep + "bootdata" + sSep + Environment::GetArch() + sSep + "hivesft.inf "
|
||||
"boot" + sSep + "bootdata" + sSep + Environment::GetArch() + sSep + "hivesys.inf";
|
||||
return "boot" + sSep + "bootdata" + sSep + "hivecls_" + Environment::GetArch() + ".inf "
|
||||
"boot" + sSep + "bootdata" + sSep + "hivedef_" + Environment::GetArch() + ".inf "
|
||||
"boot" + sSep + "bootdata" + sSep + "hiveinst_" + Environment::GetArch() + ".inf "
|
||||
"boot" + sSep + "bootdata" + sSep + "hivesft_" + Environment::GetArch() + ".inf "
|
||||
"boot" + sSep + "bootdata" + sSep + "hivesys_" + Environment::GetArch() + ".inf ";
|
||||
}
|
||||
|
||||
string
|
||||
|
@ -1241,9 +1241,9 @@ MingwBackend::OutputRegistryInstallTarget ()
|
|||
fprintf ( fMakefile,
|
||||
"\t$(ECHO_MKHIVE)\n" );
|
||||
fprintf ( fMakefile,
|
||||
"\t$(MKHIVE_TARGET) boot%cbootdata%c$(ROS_ARCH) %s boot%cbootdata%c$(ROS_ARCH)%chiveinst.inf\n",
|
||||
cSep, cSep, GetFullPath ( system32 ).c_str (),
|
||||
cSep, cSep, cSep );
|
||||
"\t$(MKHIVE_TARGET) boot%cbootdata %s $(ROS_ARCH) boot%cbootdata%chiveinst_$(ROS_ARCH).inf\n",
|
||||
cSep, GetFullPath ( system32 ).c_str (),
|
||||
cSep, cSep );
|
||||
fprintf ( fMakefile,
|
||||
"\n" );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue