https://git.reactos.org/?p=reactos.git;a=commitdiff;h=81c0d8a256dc223aba357…
commit 81c0d8a256dc223aba35750134a3d4ff83929755
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sun Jan 7 01:47:52 2018 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Mon Nov 5 23:35:12 2018 +0100
[BOOTDATA] Use a Win2k3-compatible TXTSETUP.SIF layout for the specification of the
files list.
Also add detailed documentation about the meaning of each field, obtained from:
- my own tests;
-
http://www.msfn.org/board/topic/125480-txtsetupsif-syntax/
-
http://www.msfn.org/board/topic/127677-txtsetupsif-layoutinf-reference/
In addition, add a spreadsheet that helps generating the files list.
Note that the files source directory is "\reactos", until we use
per-architecture directories in the installation medium.
---
boot/bootdata/txtsetup.sif | 192 +++++++++++++++++++---------
boot/bootdata/txtsetup_sourcedisksfiles.ods | Bin 0 -> 6085 bytes
2 files changed, 133 insertions(+), 59 deletions(-)
diff --git a/boot/bootdata/txtsetup.sif b/boot/bootdata/txtsetup.sif
index f7f44d8f9b..808c2e2bc7 100644
--- a/boot/bootdata/txtsetup.sif
+++ b/boot/bootdata/txtsetup.sif
@@ -1,11 +1,36 @@
[Version]
Signature = "$ReactOS$"
-; Directories relative to the installation directory.
+;
+; The [SourceDisksNames] section lists all the available installation media
+; where the installation files can be found. It can specifies media common
+; to all architectures, or media specific to a given architecture (x86, amd64,
+; and so on...) within [SourceDisksNames.x86] (etc...) sections.
+;
+; The format of each line is as follows:
+; <disk_id> =
<description>,<tagfile>,<unused>,<subdirectory>,<flags>,<tagfile>
+;
+[SourceDisksNames]
+_1 = %cdname%,%cdtagfile%,,""
+
+[SourceDisksNames.x86]
+;1 = %cdname%,%cdtagfilei%,,\i386
+1 = %cdname%,%cdtagfilei%,,\reactos
+
+[SourceDisksNames.amd64]
+1 = %cdname%,%cdtagfilea%,,\amd64
+
+;
+; The directories listed in the [Directories] or [WinntDirectories] sections
+; are relative to the installation source or destination directories.
+;
+; The format of each line is as follows:
+; <directory_id> = <path>
+;
; For specifying absolute directories, use the SystemPartitionFiles section,
; or use names starting with \.
+;
[Directories]
-; <directory_id> = <path>
1 = "\"
2 = system32
3 = system32\config
@@ -18,57 +43,106 @@ Signature = "$ReactOS$"
; Required free system partition disk space in MB
FreeSysPartDiskSpace=450
+;
+; The [SourceDisksFiles] section lists all the files available to the
+; installer. It can specifies files common to all architectures, or files
+; specific to a given architecture (x86, amd64, and so on...) within
+; [SourceDisksFiles.x86] (etc...) sections.
+;
+; Each line provides the location of a file in the installation media
+; and its destination when being installed on a target architecture.
+; The format of each line is as follows:
+;
+; <source_filename> =
+;
<disk_id>,<subdirectory>,<file_size>,<checksum>,<unused>,<unused>,
+; NT-specific fields:
+;
<boot_media_id>,<destination_dir_id>,<upgrade_dispo>,<install_dispo>,
+; <destination_filename>,
+; WinPE(MiniNT)-specific optional fields:
+; <WinPE_disk_id>,<WinPE_directory_id>
+;
+; The 'disk_id', 'boot_media_id' and 'WinPE_disk_id' media IDs
refer to
+; source media listed in the [SourceDisksNames] section. The 'boot_media_id'
+; value specifies any additional boot/installation media.
+;
+; The values for the disposition flags 'upgrade_dispo' (used when upgrading)
+; or 'install_dispo' (used when installing, usually by the text-mode installer)
+; are:
+; 0: always copy (default);
+; 1: copy if present;
+; 2: copy if not present;
+; 3: never copy.
+;
+; The 'destination_dir_id' and 'WinPE_directory_id' directory IDs refer
to
+; the directories listed in the [Directories] section.
+;
+; ReactOS-specific: we don't use 'boot_media_id' yet and instead, we use
+; an identifier 'x' to signal the SetupLdr that it has to load the file.
+; This must be replaced by handling the "DiskDrivers.Load",
"FileSystems.Load",
+; ("Hal.Load", "Display.Load"), "SCSI.Load",
"BootBusExtenders.Load",
+; "BusExtenders.Load", "InputDevicesSupport.Load",
"Keyboard.Load",
+; "ScsiClass.Load", "FloppyDrivers.Load",
"CdRomDrivers.Load", and
+; "MouseDrivers.Load" sections.
+;
[SourceDisksFiles]
-acpi.sys=,,,,,,,,,,,,4
-nmidebug.sys=,,,,,,x,,,,,,4
-sacdrv.sys=,,,,,,x,,,,,,4
-uniata.sys=,,,,,,x,,,,,,4
-buslogic.sys=,,,,,,x,,,,,,4
-storahci.sys=,,,,,,x,,,,,,4
-blue.sys=,,,,,,x,,,,,,4
-vgafonts.cab=,,,,,,,,,,,,1
-bootvid.dll=,,,,,,,,,,,,2
-c_437.nls=,,,,,,,,,,,,2
-c_1252.nls=,,,,,,,,,,,,2
-cdfs.sys=,,,,,,x,,,,,,4
-cdrom.sys=,,,,,,x,,,,,,4
-class2.sys=,,,,,,x,,,,,,4
-isapnp.sys=,,,,,,,,,,,,4
-kdcom.dll=,,,,,,,,,,,,2
-kdvbox.dll=,,,,,,,,,,,,2
-disk.sys=,,,,,,x,,,,,,4
-floppy.sys=,,,,,,x,,,,,,4
-i8042prt.sys=,,,,,,,,,,,,4
-hidclass.sys=,,,,,,,,,,,,4
-hidparse.sys=,,,,,,,,,,,,4
-hidusb.sys=,,,,,,,,,,,,4
-usbccgp.sys=,,,,,,x,,,,,,4
-usbd.sys=,,,,,,x,,,,,,4
-usbhub.sys=,,,,,,x,,,,,,4
-usbuhci.sys=,,,,,,x,,,,,,4
-usbohci.sys=,,,,,,x,,,,,,4
-usbehci.sys=,,,,,,x,,,,,,4
-usbstor.sys=,,,,,,x,,,,,,4
-kbdhid.sys=,,,,,,,,,,,,4
-kbdclass.sys=,,,,,,x,,,,,,4
-l_intl.nls=,,,,,,,,,,,,2
-pci.sys=,,,,,,,,,,,,4
-scsiport.sys=,,,,,,x,,,,,,4
-storport.sys=,,,,,,x,,,,,,4
-fastfat.sys=,,,,,,x,,,,,,4
-btrfs.sys=,,,,,,x,,,,,,4
-ramdisk.sys=,,,,,,x,,,,,,4
-classpnp.sys=,,,,,,,,,,,,4
-pciide.sys=,,,,,,,,,,,,4
-pciidex.sys=,,,,,,,,,,,,4
-pcix.sys=,,,,,,,,,,,,4
-pcmcia.sys=,,,,,,,,,,,,4
-swenum.sys=,,,,,,,,,,,,4
-ntdll.dll=,,,,,,,,,,,,2
-wmilib.sys=,,,,,,,,,,,,4
-ksecdd.sys=,,,,,,,,,,,,4
-mountmgr.sys=,,,,,,x,,,,,,4
+acpi.sys = 1,,,,,,,4,1,,,1,4
+nmidebug.sys = 1,,,,,,x,4,,,,1,4
+sacdrv.sys = 1,,,,,,x,4,,,,1,4
+uniata.sys = 1,,,,,,x,4,,,,1,4
+buslogic.sys = 1,,,,,,x,4,,,,1,4
+storahci.sys = 1,,,,,,x,4,,,,1,4
+blue.sys = 1,,,,,,x,4,,,,1,4
+vgafonts.cab = 1,,,,,,,1,,,,1,1
+bootvid.dll = 1,,,,,,,2,,,,1,2
+c_437.nls = 1,,,,,,,2,,,,1,2
+c_1252.nls = 1,,,,,,,2,,,,1,2
+cdfs.sys = 1,,,,,,x,4,,,,1,4
+cdrom.sys = 1,,,,,,x,4,,,,1,4
+class2.sys = 1,,,,,,x,4,,,,1,4
+isapnp.sys = 1,,,,,,,4,,,,1,4
+kdcom.dll = 1,,,,,,,2,,,,1,2
+kdvbox.dll = 1,,,,,,,2,,,,1,2
+disk.sys = 1,,,,,,x,4,,,,1,4
+floppy.sys = 1,,,,,,x,4,,,,1,4
+i8042prt.sys = 1,,,,,,,4,,,,1,4
+hidclass.sys = 1,,,,,,,4,,,,1,4
+hidparse.sys = 1,,,,,,,4,,,,1,4
+hidusb.sys = 1,,,,,,,4,,,,1,4
+usbccgp.sys = 1,,,,,,x,4,,,,1,4
+usbd.sys = 1,,,,,,x,4,,,,1,4
+usbhub.sys = 1,,,,,,x,4,,,,1,4
+usbuhci.sys = 1,,,,,,x,4,,,,1,4
+usbohci.sys = 1,,,,,,x,4,,,,1,4
+usbehci.sys = 1,,,,,,x,4,,,,1,4
+usbstor.sys = 1,,,,,,x,4,,,,1,4
+kbdhid.sys = 1,,,,,,,4,,,,1,4
+kbdclass.sys = 1,,,,,,x,4,,,,1,4
+l_intl.nls = 1,,,,,,,2,,,,1,2
+pci.sys = 1,,,,,,,4,,,,1,4
+scsiport.sys = 1,,,,,,x,4,,,,1,4
+storport.sys = 1,,,,,,x,4,,,,1,4
+fastfat.sys = 1,,,,,,x,4,,,,1,4
+btrfs.sys = 1,,,,,,x,4,,,,1,4
+ramdisk.sys = 1,,,,,,x,4,,,,1,4
+classpnp.sys = 1,,,,,,,4,,,,1,4
+pciide.sys = 1,,,,,,,4,,,,1,4
+pciidex.sys = 1,,,,,,,4,,,,1,4
+pcix.sys = 1,,,,,,,4,,,,1,4
+pcmcia.sys = 1,,,,,,,4,,,,1,4
+swenum.sys = 1,,,,,,,4,,,,1,4
+ntdll.dll = 1,,,,,,,2,,,,1,2
+wmilib.sys = 1,,,,,,,4,,,,1,4
+ksecdd.sys = 1,,,,,,,4,,,,1,4
+mountmgr.sys = 1,,,,,,x,4,,,,1,4
+
+[SourceDisksFiles.x86]
+
+[SourceDisksFiles.amd64]
+;
+; The [SystemPartitionFiles] section lists all the files
+; that should be installed in the System Partition.
+;
[SystemPartitionFiles]
[HardwareIdsDatabase]
@@ -158,20 +232,20 @@ acpi_up = "ACPI UP"
;acpi_mp = "ACPI MP"
[Files.pci_up]
-ntoskrnl.exe=,,,,,,,,,,,,2
-hal.dll=,,,,,,,,,,,,2
+ntoskrnl.exe = 1,,,,,,,2,,,,1,2
+hal.dll = 1,,,,,,,2,,,,1,2
;[Files.pci_mp]
-;ntkrnlmp.exe=,,,,,,,,,,ntoskrnl.exe,,2
-;halmps.dll=,,,,,,,,,,hal.dll,,2
+;ntkrnlmp.exe = 1,,,,,,,2,,,ntoskrnl.exe,1,2
+;halmps.dll = 1,,,,,,,2,,,hal.dll,1,2
[Files.acpi_up]
-ntoskrnl.exe=,,,,,,,,,,,,2
-halacpi.dll=,,,,,,,,,,hal.dll,,2
+ntoskrnl.exe = 1,,,,,,,2,,,,1,2
+halacpi.dll = 1,,,,,,,2,,,hal.dll,1,2
;[Files.acpi_mp]
-;ntkrnlmp.exe=,,,,,,,,,,ntoskrnl.exe,,2
-;halacpi.dll=,,,,,,,,,,hal.dll,,2
+;ntkrnlmp.exe = 1,,,,,,,2,,,ntoskrnl.exe,1,2
+;halacpi.dll = 1,,,,,,,2,,,hal.dll,1,2
[Display]
;<id> = <user friendly name>,<spare>,<service key
name>,<height>,<width>,<bpp>
diff --git a/boot/bootdata/txtsetup_sourcedisksfiles.ods
b/boot/bootdata/txtsetup_sourcedisksfiles.ods
new file mode 100644
index 0000000000..5303c9ea39
Binary files /dev/null and b/boot/bootdata/txtsetup_sourcedisksfiles.ods differ